unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
How to output data from tables with same column names in CodeIgniter? === This is my query: $query = $this->db->query(' SELECT archives.id, archives.signature, type_of_source.description, media_type.description, origin.description FROM archives, type_of_source, media_type, origin WHERE archives.type_of_source_id = type_of_source.id AND type_of_source.media_type_id = media_type.id AND archives.origin_id = origin.id ORDER BY archives.id ASC '); But how to output the result? This works, but only gets the last description (origin.description): foreach ($query->result_array() as $row) { echo $row['description']; } This doesn't work: foreach ($query->result_array() as $row) { echo $row['type_of_source.description']; } Or should I rename the columns (e.g. type_of_source_description)?
0
[ 2, 184, 20, 5196, 1054, 37, 7484, 29, 205, 4698, 1817, 19, 1797, 9693, 242, 106, 60, 800, 3726, 3726, 48, 25, 51, 25597, 45, 5579, 8190, 93, 800, 5579, 1565, 8, 1, 9007, 8, 1, 8190, 93, 5, 22, 5407, 8111, 9, 1340, 15, 8111, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Storing formatted text in a DB while maintaining abstraction. === How would you store formatted blocks of text (line breaks, tabs, lists - etc.) in a database (nothing specific) to be displayed on the web (XHTML) while maintaining a level of abstraction so that the data can be used in other applications or if the structure of the website were to change in the future?
0
[ 2, 25615, 13, 29850, 1854, 19, 21, 13, 9007, 133, 8215, 23907, 9, 800, 3726, 3726, 184, 83, 42, 1718, 13, 29850, 5198, 16, 1854, 13, 5, 1143, 7947, 15, 6523, 18, 15, 7227, 13, 8, 2722, 9, 6, 19, 21, 6018, 13, 5, 8297, 1903, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
inner join & outer join; order of tables in from important? === Why is the order of tables important when combining an outer & an inner join ? the following fails with postgres: SELECT grp.number AS number, tags.value AS tag FROM groups grp, insrel archiverel LEFT OUTER JOIN ownrel ownrel ON grp.number = ownrel.dnumber LEFT OUTER JOIN tags tags ON tags.number = ownrel.snumber WHERE archiverel.snumber = 11128188 AND archiverel.dnumber = grp.number with result: ERROR: invalid reference to FROM-clause entry for table "grp" LINE 5: LEFT OUTER JOIN ownrel ownrel ON grp.number = ownrel.d... ^ HINT: There is an entry for table "grp", but it cannot be referenced from this part of the query. when the groups are reversed in the FROM it all works: SELECT grp.number AS number, tags.value AS tag FROM insrel archiverel, groups grp LEFT OUTER JOIN ownrel ownrel ON grp.number = ownrel.dnumber LEFT OUTER JOIN tags tags ON tags.number = ownrel.snumber WHERE archiverel.snumber = 11128188 AND archiverel.dnumber = grp.number
0
[ 2, 3754, 1865, 279, 4896, 1865, 73, 389, 16, 7484, 19, 37, 681, 60, 800, 3726, 3726, 483, 25, 14, 389, 16, 7484, 681, 76, 12803, 40, 4896, 279, 40, 3754, 1865, 13, 60, 14, 249, 13614, 29, 678, 6879, 18, 45, 5407, 7711, 306, 9,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a role for a DBA when an app uses a persistence layer or repository? === I'm taking on the re-architecting of a pair of applications which use [Hibernate][1] in one case, and a combination of Hibernate and a Java [Content Repository][2] (specifially [JackRabbit][3]) in the second. A key issue in the rearchitecting is to improve performance, so I'm wondering whether there's any value in bringing in a [DBA][4] for the design and development of the application. Note that I'm not questioning the value in having a DBA involved in managing the production databases. But in past projects, it's been essential to have a good DBA involved in the design and coding phases, working out ways to optimize the data structures, putting code into stored procedures, etc. But given that the database structures are almost completely managed by Hibernate and JackRabbit, there's not much scope to optimize them. Sure, if we find they don't perform well a DBA could potentially identify issues and we could submit patches to improve them, but I don't know that we would want (or be able) to do much in the way of application-specific tuning. Another reason for wondering about the role of a DBA in this type of application is that the bulk of our performance issues are most likely above the persistence layer, i.e. it's not that the database, hibernate, or JackRabbit are too slow, it's that the way we have structured our data and push it around is not very good. Fixing this will involve data modeling, but the implementation medium is XML files and Java code rather than database tables and SQL. Does a DBA typically know much about this type of thing? The thing that keeps me from completely dismissing the need for a DBA in the design and development of an application built on top of a persistence layer is skepticism. I don't quite believe that the need for database optimization for a specific application is complely waved away by using a pre-packaged solution. Am I missing key points? Can a skilled DBA tweak hibernate configuration files to make things blazingly fast for my app's specific use cases? Is it madness to consider running a high load Hibernate app without having a DBA manually tune the DB itself, building indices, etc.? Or is there a new creature in the development landscape who specializes in optimizing XML-based data models and abstracted persistence layers? Thanks in advance for thoughts and suggestions! [1]: http://www.hibernate.org/ [2]: http://en.wikipedia.org/wiki/Content_repository_API_for_Java [3]: http://jackrabbit.apache.org/ [4]: http://en.wikipedia.org/wiki/Database_administrator
0
[ 2, 25, 80, 21, 597, 26, 21, 13, 43, 969, 76, 40, 4865, 2027, 21, 28584, 5385, 54, 24869, 60, 800, 3726, 3726, 31, 22, 79, 741, 27, 14, 302, 8, 27452, 68, 16, 21, 2146, 16, 3767, 56, 275, 636, 8630, 106, 8820, 500, 2558, 165,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
InstallShield Basic MSI optimizations === My InstallShield 2009 basic MSI project installs pretty slowly. We have a 65MB .msi and a 110MB .cab. The project was upgraded from IS12, using which it took about half as long to install. Did the 2009 upgrade make some default modifications that I can reverse? Are there any general optimizations that can speed up basic MSI projects? Maybe removing some un-needed standard actions, etc... Any suggestions or leads greatly appreciated.
0
[ 2, 16146, 29026, 2125, 4235, 49, 21597, 18, 800, 3726, 3726, 51, 16146, 29026, 588, 2125, 4235, 49, 669, 16146, 18, 1772, 1447, 9, 95, 57, 21, 2074, 5024, 13, 9, 79, 18, 49, 17, 21, 7896, 5024, 13, 9, 16762, 9, 14, 669, 23, 99...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Good Alternatives to Visual Studio Setup Projects === Most developers and engineers that have experience writing software and deploying with the packaged Visual Studio Setup Project know about it's many shortcomings. Usually in regards to installation customization, upgrade paths, etc. What are some good alternatives for software deployment? In particular I'm interested in features, .NET integration or scripting capabilities, easy of use, and price.
0
[ 2, 254, 2676, 18, 20, 3458, 1120, 18161, 2314, 800, 3726, 3726, 127, 10168, 17, 5379, 30, 57, 1496, 1174, 2306, 17, 17617, 68, 29, 14, 6030, 43, 3458, 1120, 18161, 669, 143, 88, 32, 22, 18, 151, 29444, 9, 951, 19, 14179, 20, 775...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Removing header text in NSIS installer === I would like to replace the entire header area in an NSIS installer with a bitmap. I have set MUI-HEADERIMAGE-BITMAP and set all the subcaptions to " ", however on the install files page I see empty white boxes over top my bitmap where the text would normally be. Is there a way around this? Cheers, Chris
0
[ 2, 9096, 157, 106, 1854, 19, 13, 103, 4557, 16146, 106, 800, 3726, 3726, 31, 83, 101, 20, 3934, 14, 1078, 157, 106, 217, 19, 40, 13, 103, 4557, 16146, 106, 29, 21, 1142, 15022, 9, 31, 57, 309, 2832, 49, 8, 1743, 106, 22039, 8,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I include a header into my site that is hosted externally? === We are hosting a site for a client and they want us to include the header they have on their server into the pages we are hosting. So whenever they change it, it will automatically change on our site. We are attempting to use the "include" tag in our JSP code. The code we are using is as follows: <%@ include file="www.CLIENT.com/CLIENT2/MiddlePageFiles/Vendor_header.html" %> . We also tried <%@ include file="**http://**www.CLIENT.com/CLIENT2/MiddlePageFiles/Vendor_header.html" %> . Unfortunately these aren't working for us. What seems to be happening is that the code is ONLY looking locally for this file and never seems to go "outside" to look for it. We are able to pull the header into our page when we use an iframe but because of the way the header is constructed/coded the mouse over drop-down menus aren't working as they should when we use the iframe. The drop-down menus are "cascading" underneath the rest of the content on the page and we weren't able to bring them to the "top". As a temporary work around, were are hosting the HTML on our own servers. Any ideas?
0
[ 2, 184, 107, 31, 468, 21, 157, 106, 77, 51, 689, 30, 25, 2812, 4886, 102, 60, 800, 3726, 3726, 95, 50, 10637, 21, 689, 26, 21, 6819, 17, 59, 259, 182, 20, 468, 14, 157, 106, 59, 57, 27, 66, 8128, 77, 14, 4434, 95, 50, 1063...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Response.Redirect("") inside "using{ }" === Assume the following code: using (SqlConnection conn = new SqlConnection(connectionString)) { ... using (SqlCommand comm = new SqlCommand(...)) { .. do stuff .. if(condition) Response.Redirect("somepage.aspx"); } } Will the Response.Redirect() exit from the using blocks cause it to dispose all connections? Or, alternatively, is there any way to exit a using block that won't cause disposal?
0
[ 2, 1627, 9, 99, 14706, 5, 7, 7, 6, 572, 13, 7, 12655, 1, 13, 1, 7, 800, 3726, 3726, 7158, 14, 249, 1797, 45, 568, 13, 5, 18, 22402, 25996, 872, 15201, 800, 78, 4444, 255, 25996, 872, 5, 25996, 872, 11130, 6, 6, 13, 1, 13, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
RoR: What steps are you going through in the preparation phase of application development? === Let's say you already "know" what your client wants from you (i.e. you already did some analysis and have some clue about what are you supposed to deliver). What are the next steps you usually go through after this phase? In other words, what are the steps (in terms of preparation of the framework, plugins, repository, etc.) you do in the beginning of *every* RoR based application development?
0
[ 2, 761, 248, 45, 98, 2382, 50, 42, 228, 120, 19, 14, 6675, 2702, 16, 3010, 522, 60, 800, 3726, 3726, 408, 22, 18, 395, 42, 614, 13, 7, 17806, 7, 98, 154, 6819, 2846, 37, 42, 13, 5, 49, 9, 62, 9, 42, 614, 144, 109, 2495, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a difference between installing mod_python via httpd.conf and conf.d in apache? === I am working with a hosting provider who has installed mod_python for me. I followed the install instructions locally and included it in httpd.conf but they have opted to put it in conf.d/python.conf. Is there any difference/benefit to doing it either way?
0
[ 2, 25, 80, 21, 2841, 128, 25429, 7226, 1, 6448, 11570, 1197, 7775, 43, 9, 14093, 17, 13, 14093, 9, 43, 19, 17140, 60, 800, 3726, 3726, 31, 589, 638, 29, 21, 10637, 11747, 72, 63, 4066, 7226, 1, 6448, 11570, 26, 55, 9, 31, 709,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Tree Algorithm === I was thinking earlier today about an idea for a small game and stumbled upon how to implement it. The idea is that the player can make a series of moves that cause a little effect, but if done in a specific sequence would cause a greater effect. So far so good, this I know how to do. Obviously, I had to make it be more complicated (because we love to make it more complicated), so I thought that there could be more than one possible path for the sequence that would both cause greater effects, albeit different ones. Also, part of some sequences could be the beggining of other sequences, or even whole sequences could be contained by other bigger sequences. Now I don't know for sure the best way to implement this. I had some ideas, though. 1) I could implement a circular n-linked list. But since the list of moves never end, I fear it might cause a stack overflow ™. The idea is that every node would have n children and upon receiving a command, it might lead you to one of his children or, if no children was available to such command, lead you back to the beggining. Upon arrival on any children, a couple of functions would be executed causing the small and big effect. This might, though, lead to a lot of duplicated nodes on the tree to cope up with all the possible sequences ending on that specific move with different effects, which might be a pain to maintain but I am not sure. I never tried something this complex on code, only theoretically. Does this algorithm exist and have a name? Is it a good idea? 2) I could implement a state machine. Then instead of wandering around a linked list, I'd have some giant nested switch that would call functions and update the machine state accordingly. Seems simpler to implement, but... well... doesn't seem fun... nor ellegant. Giant switchs always seem ugly to me, but would this work better? 3) Suggestions? I am good, but I am far inexperienced. The good thing of the coding field is that no matter how weird your problem is, someone solved it in the past, but you must know where to look. Someone might have a better idea than those I had, and I really wanted to hear suggestions.
0
[ 2, 1541, 9083, 800, 3726, 3726, 31, 23, 1440, 1201, 786, 88, 40, 882, 26, 21, 284, 250, 17, 10282, 685, 184, 20, 8713, 32, 9, 14, 882, 25, 30, 14, 517, 92, 233, 21, 231, 16, 4927, 30, 1679, 21, 265, 1590, 15, 47, 100, 677, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
WSS/MOSS Development ... Where to draw the line? === Our organization started on the SharePoint path about two years ago. Before that, we (the developers) wrote mostly asp.net front ends for SQL back ends. Now it seems like every time a new project comes up, we are asked to “make” it fit in SharePoint; and we have stuffed some things into SharePoint that probably should have been stand alone applications or web applications due to complexity and interactions with other technologies. My question is: Where do you draw the line as to developing a project in SharePoint versus Web/Winform application, and how do you convince your manager(s) that SharePoint may not be the best solution for a particular project?
0
[ 2, 619, 18, 18, 118, 7076, 18, 522, 13, 9, 9, 9, 113, 20, 2003, 14, 293, 60, 800, 3726, 3726, 318, 1165, 373, 27, 14, 1891, 3132, 2013, 88, 81, 122, 1464, 9, 115, 30, 15, 95, 13, 5, 124, 10168, 6, 738, 1555, 28, 306, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
If DoCmd.SendObject fails? === I am using DoCmd.SendObject to send emails from MS access 2003. It opens the outlook with all relevant fields filled. But the user may not choose to send the email at that time. In that case, a prompt 'Send Action was cancelled' appears. Is there a way to catch this non-sending of email by user
0
[ 2, 100, 9765, 79, 43, 9, 18, 2451, 23793, 13614, 60, 800, 3726, 3726, 31, 589, 568, 9765, 79, 43, 9, 18, 2451, 23793, 20, 2660, 8517, 18, 37, 4235, 1381, 973, 9, 32, 8965, 14, 19837, 29, 65, 7480, 2861, 1943, 9, 47, 14, 4155, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best way for validating and converting phone numbers into international format (E.164) using Java? === What is the best way for validating and converting phone numbers into international format (E.164) using Java? Given a 'phone number' and a country id (let's say an ISO country code), I would like to convert it into a standard E.164 international format phone number. I am sure I can do it by hand quite easily - but would nto be sure it will work correctly in all situations. Which Java framework/library/utility would you recommend to accomplish this?
0
[ 2, 98, 25, 14, 246, 161, 26, 7394, 1880, 17, 19583, 1132, 2116, 77, 294, 2595, 13, 5, 62, 9, 13700, 6, 568, 8247, 60, 800, 3726, 3726, 98, 25, 14, 246, 161, 26, 7394, 1880, 17, 19583, 1132, 2116, 77, 294, 2595, 13, 5, 62, 9,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I get a terminal program to honour cursor keys? === I'm using ccl/openmcl on Mac OS X. (latest versions of both). When the lisp prompt is displayed, using the cursor keys to navigate the current line results in escape codes, rather than movement, eg: `Welcome to Clozure Common Lisp Version 1.2-r9226-RC1 (DarwinX8664)! ? (^[[D ` Here I've pressed the `(` key, and then the `left cursor` key. When I run ccl/openmcl on a Debian Etch box, the cursor behaves as expected, and moves the insert point one position left. I guess this is some sort of terminal configuration option?
0
[ 2, 184, 107, 31, 164, 21, 3855, 625, 20, 5019, 29588, 5534, 60, 800, 3726, 3726, 31, 22, 79, 568, 272, 5316, 118, 10157, 79, 5316, 27, 1572, 13, 759, 993, 9, 13, 5, 6554, 384, 3281, 16, 156, 6, 9, 76, 14, 2093, 3401, 11443, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why does JQuery keydown work for window but not textbox? === Why does this work: $(window).keydown(function(event){ alert(event.keyCode); }); but not this: $('#ajaxSearchText').keydown(function(event){ alert(event.keyCode); }); I'm testing with Firefox 3. Interestingly, neither of them work in IE7.
0
[ 2, 483, 630, 487, 8190, 93, 1246, 2968, 170, 26, 1463, 47, 52, 1854, 5309, 60, 800, 3726, 3726, 483, 630, 48, 170, 45, 5579, 5, 27508, 6, 9, 4237, 2968, 5, 22359, 5, 4943, 38, 6, 1, 7863, 5, 4943, 38, 9, 4237, 9375, 6, 73, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
how to select an element within a specific namespace? === I'm having trouble selecting elements that are part of an specific namespace. My xpath expression works in XMLSpy but fails when using the Xalan libraries.. (please excuse formatting, but I couldn't get the text to show up.) <pre><code> [item] [media:content attrb="xyz"] [dcterms:valid]VALUE[/dcterms:valid] [/media:content] [/item] </code> </pre> My expression "./item/media:content/dcterms:valid". I've already added both namespace definitions to my xslt. Again, this selects the right values in XMLSpy but fails when running through xalan library. Any ideas?
0
[ 2, 184, 20, 5407, 40, 4520, 363, 21, 1903, 204, 5582, 60, 800, 3726, 3726, 31, 22, 79, 452, 2572, 20764, 2065, 30, 50, 141, 16, 40, 1903, 204, 5582, 9, 51, 993, 8353, 1803, 693, 19, 23504, 18, 6448, 47, 13614, 76, 568, 14, 993...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Using FromBase64Transform with CryptoStream? === I have a .NET string which is Base64 encoded representation of an array of encrypted bytes. It is produced like this: String Encrypt( String message ) { CryptoStream cryptostream = ... StreamWriter stream = new StreamWriter( cryptostream ); ... return Convert.ToBase64String( ... ); } Now I want a decryption function like String Decrypt( String cypher ) { ... } Is there a way to use FromBase64Transform *directly* with CryptoStream (as the .NET documentation suggests), instead of manually converting the string to bytes, then manually decoding the bytes, and finally decrypting the decoded bytes?
0
[ 2, 568, 37, 8436, 3470, 7028, 4190, 29, 16277, 11260, 60, 800, 3726, 3726, 31, 57, 21, 13, 9, 2328, 3724, 56, 25, 1000, 3470, 13665, 5442, 16, 40, 7718, 16, 29403, 34, 3231, 9, 32, 25, 671, 101, 48, 45, 3724, 1957, 11435, 5, 3...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Creating a site map of an FTP site === Where I work, we maintain an FTP site that needs occasional cleanup. Are there any tools out there to create a site map of an FTP site? It would greatly simplify clean up tasks. Thanks!
0
[ 2, 2936, 21, 689, 2942, 16, 40, 1187, 306, 689, 800, 3726, 3726, 113, 31, 170, 15, 95, 4027, 40, 1187, 306, 689, 30, 2274, 7713, 26862, 9, 50, 80, 186, 4672, 70, 80, 20, 1600, 21, 689, 2942, 16, 40, 1187, 306, 689, 60, 32, 8...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
Finding Expression Blend Designers === What are some recommendations for finding Expression Blend/WPF Designers to perform contract work? I think a freelance designer might be the most reasonably priced, but I don't even know where to start.
0
[ 2, 3007, 1803, 11138, 12760, 800, 3726, 3726, 98, 50, 109, 12121, 26, 3007, 1803, 11138, 118, 499, 7721, 12760, 20, 2985, 1305, 170, 60, 31, 277, 21, 16043, 4742, 530, 44, 14, 127, 19531, 13, 24152, 15, 47, 31, 221, 22, 38, 166, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How to have a range in a MySQL If statement? === I'm trying to make a select that calculates affiliate payouts. my approach is pretty simple. SELECT month(payments.timestmap) ,sum(if(payments.amount>=29.95,4,0)) As Tier4 ,sum(if(payments.amount>=24.95<=29.94,3,0)) As Tier3 ,sum(if(payments.amount>=19.95<=24.94,2,0)) As Tier2 FROM payments GROUP BY month(payments.timestamp) The above does not work because MySQL is not evaluating the second part of the condition. Btw it does not cause a syntax error and the select will return results. Before the above I tried what I was assuming would work like "`amount between 24.94 AND 29.94`" this caused an error. so then I tried "`amount >= 24.94 AND <= 29.94`" So is it possible to have a range comparison using IF in MySql?
0
[ 2, 184, 20, 57, 21, 978, 19, 21, 51, 18, 22402, 100, 3331, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 233, 21, 5407, 30, 18469, 18, 6772, 1372, 12638, 9, 51, 2141, 25, 1772, 1935, 9, 5407, 1617, 5, 12224, 6601, 9, 891, 384, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Base-2 (Binary) Representation Using Python === Building on [How Do You Express Binary Literals in Python][1], I was thinking about sensible, intuitive ways to do that Programming 101 chestnut of displaying integers in base-2 form. This is the best I came up with, but I'd like to replace it with a better algorithm, or at least one that should have screaming-fast performance. def num_bin(N, places=8): def bit_at_p(N, p): ''' find the bit at place p for number n ''' two_p = 1 << p # 2 ^ p, using bitshift, will have exactly one # bit set, at place p x = N & two_p # binary composition, will be one where *both* numbers # have a 1 at that bit. this can only happen # at position p. will yield two_p if N has a 1 at # bit p return int(x > 0) bits = ( bit_at_p(N,x) for x in xrange(places)) return "".join( (str(x) for x in bits) ) # or, more consisely # return "".join([str(int((N & 1 << x)>0)) for x in xrange(places)]) [1]: http://stackoverflow.com/questions/1476/how-do-you-express-binary-literals-in-python#13107
0
[ 2, 1000, 8, 135, 13, 5, 4772, 1857, 6, 5442, 568, 20059, 800, 3726, 3726, 353, 27, 636, 1544, 107, 42, 2999, 14171, 20665, 18, 19, 20059, 500, 2558, 165, 500, 15, 31, 23, 1440, 88, 24599, 15, 13, 24392, 2847, 20, 107, 30, 3143, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Strange float behaviour in IE7 === I want to create a simple box with a header bar containing a title and some tool buttons. I have the following markup: <div style="float:left"> <div style="background-color:blue; padding: 1px; height: 20px;"> <div style="float: left; background-color:green;">title</div> <div style="float: right; background-color:yellow;">toolbar</div> </div> <div style="clear: both; width: 200px; background-color: red;">content</div> </div> This renders fine in Firefox and Chrome: ![screenshot ff][1] However IE7 totally messes up and puts the right floated element to the right of the page: ![screenshot ie7][2] [1]: http://www.boplicity.nl/images/firefox.jpg [2]: http://www.boplicity.nl/images/ie7.jpg Can this be fixed?
0
[ 2, 2578, 11510, 7727, 19, 13, 660, 465, 800, 3726, 3726, 31, 259, 20, 1600, 21, 1935, 1649, 29, 21, 157, 106, 748, 3503, 21, 581, 17, 109, 5607, 12861, 9, 31, 57, 14, 249, 943, 576, 45, 13, 1, 12916, 1034, 3726, 7, 14712, 721,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
SQL SELECT FROM ... AS with data type specifier? === I have a problem with an SQL query on Postgresql. This select clause is an example from a lecture on databases: 1 select t.CourseNr, t.StudentsPerCourse, g.StudentCount, 2 t.StudentsPerCourse/g.StudentCount as Marketshare 3 from (select CourseNr, count(*) as StudentsPerCourse 4 from taking 5 group by CourseNr) t, 6 (select count(*) as StudentCount 7 from Students) g; The problem is the Marketshare column in line 2. Both StudentsPerCourse and StudentCount are of type integer. When using this on my Postgresql database, the Marketshare column is evaluated as an int type, while i would need a float/numeric here. I didn't find any way to specify the data type by searching the Postgresql Documentation on SELECT clauses nor by googling. Is there a (preferably standard SQL) way to specify the column type or am I missing something here?
0
[ 2, 4444, 255, 5407, 37, 13, 9, 9, 9, 28, 29, 1054, 1001, 12737, 16292, 60, 800, 3726, 3726, 31, 57, 21, 1448, 29, 40, 4444, 255, 25597, 27, 678, 6879, 18, 22402, 9, 48, 5407, 9040, 25, 40, 823, 37, 21, 8143, 27, 6018, 18, 45...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
log4net not logging ThreadContext === I have log4net running on my AsP.NET site. I'm able to log messages to my DB Table, but it isn't logging the ThreadContext properties. For example: ThreadContext.Properties["Url"] = HttpContext.Current.Request.Url.ToString(); ThreadContext.Properties["HttpReferer"] = HttpContext.Current.Request.ServerVariables["HTTP_REFERER"]; My log4net.config adds those values as parameters into my SQL DB table: <parameter> <parameterName value="@URL"/> <dbType value="String"/> <size value="512"/> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{log4net:Url}"/> </layout> </parameter> <parameter> <parameterName value="@HttpReferer"/> <dbType value="String"/> <size value="512"/> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{log4net:HttpReferer}"/> </layout> </parameter> As I debug, I see that those ThreadContext properties are being set, but they aren't getting into the DB. How can I get that to work?
0
[ 2, 6738, 300, 2328, 52, 13, 13919, 9322, 1126, 11969, 800, 3726, 3726, 31, 57, 6738, 300, 2328, 946, 27, 51, 28, 306, 9, 2328, 689, 9, 31, 22, 79, 777, 20, 6738, 7561, 20, 51, 13, 9007, 859, 15, 47, 32, 2532, 22, 38, 13, 139...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
LinqtoSQL and problems === I am using link to sql, I have a connected set of objects. I start out and do a linq statement like this Dim L= from II in context.InventoryItems select II Dim L2 = L.tolist The second line was so that I could narrow down where the problem was occuring. When the second line is hit I get an error "The EntitySet is already loaded and the source cannot be changed" Any ideas what might be causing this?
0
[ 2, 6294, 1251, 262, 18, 22402, 17, 1716, 800, 3726, 3726, 31, 589, 568, 3508, 20, 4444, 255, 15, 31, 57, 21, 2587, 309, 16, 3916, 9, 31, 799, 70, 17, 107, 21, 6294, 1251, 3331, 101, 48, 5937, 644, 3726, 37, 595, 19, 4141, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What code metric(s) convince you that provided code is "crappy"? === Code lines per file, methods per class, cyclomatic complexity and so on. Developers resist and workaround most if not all of them! There is a good Joel article on it(no time to find it now). What code metric(s) you recommend for used to **automatically** identify "crappy code"? What can convince most (you can't convince all of us to some crappy metric! :O) ) of developers that this code is "crap". Only metrics that can be automatically measured counts!
0
[ 2, 98, 1797, 11544, 5, 18, 6, 6218, 42, 30, 1173, 1797, 25, 13, 7, 7519, 17129, 7, 60, 800, 3726, 3726, 1797, 1560, 416, 3893, 15, 3195, 416, 718, 15, 12833, 6732, 12745, 17, 86, 27, 9, 10168, 7983, 17, 170, 10037, 127, 100, 5...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Random distribution of data === How do I distribute a small amount of data in a random order in a much larger volume of data? For example, I have several thousand lines of 'real' data, and I want to insert a dozen or two lines of control data in a random order throughout the 'real' data. Now I am not trying to ask how to use random number generators, I am asking a statistical question, I know how to generate random numbers, but my question is how do I ensure that this the data is inserted in a random order while at the same time being fairly evenly scattered through the file. If I just rely on generating random numbers there is a possibility (albeit a very small one) that all my control data, or at least clumps of it, will be inserted within a fairly narrow selection of 'real' data. What is the best way to stop this from happening? To phrase it another way, I want to insert control data throughout my real data without there being a way for a third party to calculate which rows are control and which are real.
0
[ 2, 5477, 2523, 16, 1054, 800, 3726, 3726, 184, 107, 31, 14751, 21, 284, 2006, 16, 1054, 19, 21, 5477, 389, 19, 21, 212, 1662, 2310, 16, 1054, 60, 26, 823, 15, 31, 57, 238, 2996, 1560, 16, 13, 22, 7467, 22, 1054, 15, 17, 31, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Agile/Scrum resource planning cross projects === We have different steps in our planning for online webprojects: 1) Information Architecture - Provides user stories - Provides wireframes 2) Design - Use Wireframes to develop a nice design 3) Development 4) Testing I know that working agile asks for dedicated teams. But it is impossible to have a dedicted IA until the end of the project. Because the projects are small developers are working in different teams. How do you plan resources when you know 50 small projects and 20 new projects are using different resources? And is there a useful tool that can assist in this?
0
[ 2, 27475, 118, 18, 25241, 6577, 2334, 919, 2314, 800, 3726, 3726, 95, 57, 421, 2382, 19, 318, 2334, 26, 2087, 2741, 21011, 18, 45, 137, 6, 676, 2607, 13, 8, 1927, 4155, 1650, 13, 8, 1927, 6511, 8361, 18, 172, 6, 704, 13, 8, 27...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
FormView_ItemUpdating in not updating === I am using a FormView to update an existing SQL Server record. The rows from the sqldatasource display fine in the FormView and I can edit them. When I click Update, I get the ItemUpdating event but not the ItemUpdated event and the revisions are not written to the database. Can anyone help me in this please.
0
[ 2, 505, 4725, 1, 2119, 79, 576, 43, 1880, 19, 52, 71, 43, 1880, 800, 3726, 3726, 31, 589, 568, 21, 505, 4725, 20, 11100, 40, 3149, 4444, 255, 8128, 571, 9, 14, 11295, 37, 14, 4444, 255, 18768, 12097, 3042, 1123, 19, 14, 505, 4...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Regular expression that uses an "OR" conditional === I could use some help writing a regular expression. In my Django application, users can hit the following URL: http://www.somewebsite.com/A1/B2/C3 I'd like to create a regular expression that accepts any of the following as a valid URL: http://www.somewebsite.com/A1 http://www.somewebsite.com/A1/B2 http://www.somewebsite.com/A1/B2/C3 I'm guessing I need to use the "OR" conditional, but I'm having trouble getting my regex to validate. Any thoughts?
0
[ 2, 1290, 1803, 30, 2027, 40, 13, 7, 248, 7, 21206, 800, 3726, 3726, 31, 110, 275, 109, 448, 1174, 21, 1290, 1803, 9, 19, 51, 3857, 14541, 3010, 15, 3878, 92, 770, 14, 249, 287, 6362, 45, 7775, 6903, 6483, 9, 3220, 14113, 9097, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What are the advantages of RTSP? === I am looking for the advantages of using RTSP to support streaming video to multiple devices. I have: 1. Benefits of TCP. 2. Commonly used protocol on web so supported by lots of infrastructure. 3. Commonly used on web so lots of tools and stacks. 4. Can use SSL. 5. Wide device support (not sure on this one) Any other ideas?
0
[ 2, 98, 50, 14, 14683, 16, 13, 5256, 3401, 60, 800, 3726, 3726, 31, 589, 699, 26, 14, 14683, 16, 568, 13, 5256, 3401, 20, 555, 11920, 763, 20, 1886, 4690, 9, 31, 57, 45, 137, 9, 5800, 16, 13, 38, 7439, 9, 172, 9, 2524, 147, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Using SOAP to expose CRUD operations === Is exposing CRUD operations through SOAP web services a bad idea? My instinct tells me that it is not least of which because the overhead of doing database calls overhead could be huge. I'm struggling to find documentation for/against this (anti)pattern so I was wondering if anyone could point me to some documentation or has an opinion on the matter. Also, if anyone knows of best practises (and/or documentation to that effect) when designing soap services, that would be great. Here's an example of how the web service would look: - Create - Delete - Execute - Fetch - Update
0
[ 2, 568, 6447, 20, 13833, 11498, 43, 1311, 800, 3726, 3726, 25, 17302, 11498, 43, 1311, 120, 6447, 2741, 687, 21, 896, 882, 60, 51, 11439, 2609, 55, 30, 32, 25, 52, 639, 16, 56, 185, 14, 8860, 16, 845, 6018, 3029, 8860, 110, 44, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is your "generic" web application testing plan ? === Like, testing for : - invalid inputs (strings containing "'"s) - giving random id's in url parameters to access "unauthorized" pages - prevent sql injection - ...
0
[ 2, 98, 25, 154, 13, 7, 17083, 596, 7, 2741, 3010, 4431, 944, 13, 60, 800, 3726, 3726, 101, 15, 4431, 26, 13, 45, 13, 8, 16671, 6367, 18, 13, 5, 11130, 18, 3503, 13, 7, 22, 7, 18, 6, 13, 8, 1438, 5477, 4924, 22, 18, 19, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Linq to SQL: DataTable.Rows[0]["ColumnName"] equivalent === Consider this: var query = from r in this._db.Recipes where r.RecipesID == recipeID select new { r.RecipesID, r.RecipesName }; How would i get individual columns in my `query` object without using a for-loop? Basicly: how do I translate `DataTable.Rows[0]["ColumnName"]` into Linq syntax?
0
[ 2, 6294, 1251, 20, 4444, 255, 45, 1054, 5924, 9, 5417, 18, 2558, 387, 500, 2558, 7, 716, 4404, 103, 7259, 7, 500, 4602, 800, 3726, 3726, 3563, 48, 45, 4033, 25597, 800, 37, 761, 19, 48, 9, 1, 9007, 9, 15110, 8295, 113, 761, 9,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Hidding source control files within Visual Studio's solution tree === We use Visual Studio 2008 and Surround SCM for source control. SCM drops files into each directory named ".MySCMServerInfo" which are user specific data files that shouldn't be checked into source control. They are similar to the .scc files dropped by Visual Source Safe. We also have several WAPs (Web Application Projects) that we develop. All these .MySCMServerInfo files show up in the solution tree and the Pending Checkins window when they should not. There has to be some way to force VS to ignore files of a given extension because it ignores .scc files. How do I get VS to ignore .MySCMServerInfo files within a WAP?
0
[ 2, 10135, 3258, 1267, 569, 6488, 363, 3458, 1120, 22, 18, 4295, 1541, 800, 3726, 3726, 95, 275, 3458, 1120, 570, 17, 12215, 4729, 79, 26, 1267, 569, 9, 4729, 79, 9458, 6488, 77, 206, 16755, 377, 13, 7, 9, 915, 18, 9095, 10321, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why use Ruby instead of Smalltalk? === Ruby is becoming [popular][1], largely from the influence Ruby on Rails, but it feels like it is currently struggling through its adolescence. There are a lot of similarities between Ruby and Smalltalk -- [maglev][2] is a testament to that. Despite having a more unusual syntax, Smalltalk has all (if not more) of the object-oriented beauty of Ruby. From what I have read, Smalltalk seems to have Ruby beat on: - Maturity (developed in the 1970's) - Stability - Commercial support - [Distributed source control][3] (understands the structure of the code, not just text diffing) - Several [implementations of the VM][4] - Cross-platform support - The [seaside web framework][5] as a [strong alternative to Rails][6] It seems like Ruby is just reinventing the wheel. So, why don't Ruby developers use SmallTalk? **What does Ruby have the Smalltalk doesn't?** *For the record: I'm a Ruby guy with little to no experience in Smalltalk, but I'm starting to wonder why.* [1]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [2]: http://ruby.gemstone.com/ [3]: http://www.wiresong.ca/Monticello [4]: http://en.wikipedia.org/wiki/Smalltalk#List_of_implementations [5]: http://www.seaside.st/ [6]: http://www.sauria.com/blog/2005/11/10
0
[ 2, 483, 275, 10811, 700, 16, 284, 9718, 60, 800, 3726, 3726, 10811, 25, 1535, 636, 28252, 500, 2558, 165, 500, 15, 2679, 37, 14, 1915, 10811, 27, 2240, 18, 15, 47, 32, 5121, 101, 32, 25, 871, 7587, 120, 82, 28300, 9, 80, 50, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
WatiN test using IE.GetCookie failing only from CruiseControl === I added some simple WatiN tests to our app today to check that a cookie value is stored correctly. The tests pass locally on all machines in the team. However, when CruiseControl runs the tests on our Build server these new tests fail on the line containing `browser.GetCookie(url, cookieName)` The error given in the CruiseControl log is the old chestnut of: `Object reference not set to an instance of an object.` I have logged on to the Build server with Remote Desktop, using the same user account that CruiseControl runs under, and run MbUnit manually, and the tests pass. So it can't be a problem with the permissions on the Build server to access cookies. I have looked through all the WatiN documentation for help, but come up empty. I've restarted the CruiseControl service. I've tried everything I can think of and I'm now completely at a loss now as to what could be different in the way Cruise Control runs these tests. Does anybody know what could be causing this and/or how to resolve it?
0
[ 2, 15553, 108, 1289, 568, 13, 660, 9, 3060, 716, 17391, 7250, 104, 37, 6581, 12898, 800, 3726, 3726, 31, 905, 109, 1935, 15553, 108, 4894, 20, 318, 4865, 786, 20, 2631, 30, 21, 19980, 1923, 25, 8214, 12044, 9, 14, 4894, 1477, 6680...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Configuration Across Multiple Applications === What is recommended for sharing configuration data amongst several related applications in a winforms solution? The two possible solutions I envisage are using a custom section in the machine.config (?) file, and the other is to create an extra config service application that maintains settings via its Properties class, and handles get and set requests for these settings from all the other applications.
0
[ 2, 8091, 464, 1886, 3767, 800, 3726, 3726, 98, 25, 5773, 26, 6126, 8091, 1054, 4667, 238, 1597, 3767, 19, 21, 628, 4190, 18, 4295, 60, 14, 81, 938, 6776, 31, 21314, 18, 1303, 50, 568, 21, 5816, 1050, 19, 14, 1940, 9, 14093, 2816...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
C# nullable string error === private string? typeOfContract { get { return (string?)ViewState["typeOfContract"]; } set { ViewState["typeOfContract"] = value; } } Later in the code I use it like this: typeOfContract = Request.QueryString["type"]; I am getting the following error at the declaration of typeOfContract line stating "The type 'string' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable<T>'" Any ideas? Basically, I want to make sure that "type" exists in the queryString before performing an action. Thanks in advance.
0
[ 2, 272, 5910, 16203, 579, 3724, 7019, 800, 3726, 3726, 932, 3724, 60, 1001, 1041, 23311, 13, 1, 164, 13, 1, 788, 13, 5, 11130, 60, 6, 4725, 3859, 2558, 7, 4474, 1041, 23311, 7, 12660, 13, 1, 309, 13, 1, 1418, 3859, 2558, 7, 44...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Virtual List Controls (MFC) === I am using a List Control to display a representation of elements within a vector. When the list is clicked on another control shows information about that element. The index of the element is currently determined by its index in the control, however if I wish to sort or filter the results this will no longer work. I have been told that I could use a virtual list control, but the MSDN is not very friendly, can someone run me through how I could use a virtual list control for this? Thanks! :)
0
[ 2, 6599, 968, 8671, 13, 5, 79, 7061, 6, 800, 3726, 3726, 31, 589, 568, 21, 968, 569, 20, 3042, 21, 5442, 16, 2065, 363, 21, 7497, 9, 76, 14, 968, 25, 15802, 27, 226, 569, 1285, 676, 88, 30, 4520, 9, 14, 4348, 16, 14, 4520, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Record Component Video === I've found plenty of simple, cheap solutions for recording composite video sources to my PC, a laptop. But I'd like to be able to record in HD and use component cables. I was wondering if anyone had a good solution for this. Required: Cheap Desired Portable, external hardware device
0
[ 2, 571, 5912, 763, 800, 3726, 3726, 31, 22, 195, 216, 7062, 16, 1935, 15, 9148, 6776, 26, 1576, 12639, 763, 2662, 20, 51, 5168, 15, 21, 12294, 9, 47, 31, 22, 43, 101, 20, 44, 777, 20, 571, 19, 8590, 17, 275, 5912, 18254, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to make parts of a website under SSL and the rest not? === I need to create a cherrypy main page that has a login area. I want the login area to be secure, but the rest of the page should not be so. How can I do this in CherryPy? Ideally, any suggestions will be compatible with http://tools.cherrypy.org/wiki/AuthenticationAndAccessRestrictions Thanks.
0
[ 2, 184, 20, 233, 1341, 16, 21, 2271, 131, 13, 18, 18, 255, 17, 14, 760, 52, 60, 800, 3726, 3726, 31, 376, 20, 1600, 21, 9257, 6448, 407, 2478, 30, 63, 21, 6738, 108, 217, 9, 31, 259, 14, 6738, 108, 217, 20, 44, 4315, 15, 4...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
want to change pgsql port === currently install pgsql is running on port 1486 now I want to change this port to 5433, So how I've proceed for this....?????<br> Thanx in advance..
0
[ 2, 259, 20, 753, 13, 9623, 18, 22402, 1295, 800, 3726, 3726, 871, 16146, 13, 9623, 18, 22402, 25, 946, 27, 1295, 513, 3274, 130, 31, 259, 20, 753, 48, 1295, 20, 331, 27813, 15, 86, 184, 31, 22, 195, 11158, 26, 48, 9, 9, 9, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
Insert HTML into OpenXML Word Document (.Net) === Using OpenXML SDK, I want to insert basic HTML snippets into a Word document. How would you do this: - Manipulating XML directly ? - Using an XSLT ? - using AltChunk ? Moreover, C# or VB examples are more than welcome :)
0
[ 2, 14692, 13, 15895, 77, 368, 396, 8184, 833, 4492, 13, 5, 9, 2328, 6, 800, 3726, 3726, 568, 368, 396, 8184, 13, 18, 43, 197, 15, 31, 259, 20, 14692, 2125, 13, 15895, 13, 29061, 18, 77, 21, 833, 4492, 9, 184, 83, 42, 107, 48...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Import package.* vs import package.SpecificType === Would it suppose any difference regarding overhead to write an import loading all the types within one package (import java.*); than just a specific type (i.e. import java.lang.ClassLoader)? Would the second one be a more advisable way to use than the other one?
0
[ 2, 9010, 6030, 9, 2483, 4611, 9010, 6030, 9, 9219, 4474, 800, 3726, 3726, 83, 32, 5787, 186, 2841, 3467, 8860, 20, 2757, 40, 9010, 12797, 65, 14, 2551, 363, 53, 6030, 13, 5, 1660, 1993, 8247, 9, 2483, 6, 73, 119, 114, 21, 1903, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Subversion not merging changes into renamed files? === I have the following problem using subversion: I'm currently working on the trunk of my project and plan to do some refactoring (which includes renaming files or moving files to different directories). At the same time someone else is working on the same project on a branch. At some time I want to merge the changes made on the branch back to the trunk. That includes changes made to files (on the branch) that have been renamed on the trunk. I did some tests and it seems that either subversion is not capable of following these changes or I'm missing someting (which is what I hope for). I tested this using the following script (should work in bash, assumes an svn repository at "http://myserver/svn/sandbox"): svn co http://myserver/svn/sandbox cd sandbox/ mkdir -p MyProject/trunk MyProject/branches MyProject/tags cat - <<EOF >MyProject/trunk/FileOne.txt Test 1 2 EOF svn add MyProject svn commit -m "init" # create a branch svn copy http://myserver/svn/sandbox/MyProject/trunk http://myserver/svn/sandbox/MyProject/branches/Branch_1 svn copy http://myserver/svn/sandbox/MyProject/trunk http://myserver/svn/sandbox/MyProject/branches/Branch_1 # rename the file svn move MyProject/trunk/FileOne.txt MyProject/trunk/FileTwo.txt svn commit -m "renamed file" svn update # change the content of FileOne in branch cat - <<EOF >MyProject/branches/Branch_1/FileOne.txt Test 2 3 EOF svn commit -m "changed branch" # I now try to merge the changes in FileOne back to FileTwo cd MyProject/trunk/ svn merge -r1:HEAD http://myserver/svn/sandbox/MyProject/branches/Branch_1 # but this yields the following message: # Skipped missing target: 'FileOne.txt' Any help is greatly appreciated.
0
[ 2, 972, 10898, 52, 18842, 1693, 77, 2433, 6488, 60, 800, 3726, 3726, 31, 57, 14, 249, 1448, 568, 972, 10898, 45, 31, 22, 79, 871, 638, 27, 14, 6436, 16, 51, 669, 17, 944, 20, 107, 109, 302, 17455, 68, 13, 5, 2140, 1103, 25934,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Counting array elements in Python === How can I count the number of elements in an array, because contrary to logic array.count(string) does not count all the elements in the array, it just searches for the number of occurrences of string.
0
[ 2, 11195, 7718, 2065, 19, 20059, 800, 3726, 3726, 184, 92, 31, 2468, 14, 234, 16, 2065, 19, 40, 7718, 15, 185, 10635, 20, 7085, 7718, 9, 16549, 5, 11130, 6, 630, 52, 2468, 65, 14, 2065, 19, 14, 7718, 15, 32, 114, 19994, 26, 14...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Is there a systematic approach to avoiding the below 3 pitfalls of software solutions? === 1. Developing software solutions which already exist and are available for re-use (either commercial or open-source). AKA "re-inventing the wheel". 2. Same as above, but your solution being broken. AKA "re-inventing the square wheel". 3. Developing solutions for problems which do not exist.
0
[ 2, 25, 80, 21, 12223, 2141, 20, 10298, 14, 1021, 203, 4175, 5660, 18, 16, 2306, 6776, 60, 800, 3726, 3726, 137, 9, 3561, 2306, 6776, 56, 614, 3182, 17, 50, 904, 26, 302, 8, 3699, 13, 5, 18840, 1439, 54, 368, 8, 12097, 6, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Drive a POS printer via USB in c# === Any ideas how i can best drive a USB POS printer from c#. POS printers are usually serial, TCP/IP or USB based. I know how to accomplish serial and TCP/IP but have no idea about communications through USB in C#. I know that there is a layer available from Microsoft called POS.NET, but I want to try and avoid using this. Any ideas or any C# libraries that people can recomend would be really appreciated. Thanks
0
[ 2, 1493, 21, 12928, 12925, 1197, 182, 220, 19, 272, 5910, 800, 3726, 3726, 186, 3478, 184, 31, 92, 246, 1493, 21, 182, 220, 12928, 12925, 37, 272, 5910, 9, 12928, 12925, 18, 50, 951, 5956, 15, 13, 38, 7439, 118, 4307, 54, 182, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Oracle date === How is Oracle date implemented? Is it stored as milliseconds or something like that?
0
[ 2, 15759, 1231, 800, 3726, 3726, 184, 25, 15759, 1231, 6807, 60, 25, 32, 8214, 28, 13436, 5007, 18, 54, 301, 101, 30, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How can I use the button tag with ASP.NET? === I'd like to use the newer `<button>` tag in an ASP.NET website which, among other things, allows CSS-styled text and embedding a graphic inside the button. The asp:Button control renders as `<input type="button">`, is there any way to make a preexisting control render to `<button>`? From what I've read there is an incompatibility with IE posting the button's markup instead of the value attribute when the button is located within a `<form>`, but in ASP.NET it will be using the onclick event to fire __doPostBack anyway, so I don't think that this would be a problem. Are there any reasons why I shouldn't use this? If not, how would you go about supporting it with asp:Button, or a new server control based on it? I would prefer to not write my own server control if that can be avoided.
0
[ 2, 184, 92, 31, 275, 14, 5167, 3383, 29, 28, 306, 9, 2328, 60, 800, 3726, 3726, 31, 22, 43, 101, 20, 275, 14, 12372, 13, 1, 811, 444, 1, 3383, 19, 40, 28, 306, 9, 2328, 2271, 56, 15, 497, 89, 564, 15, 2965, 272, 18, 18, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to read assembly attributes === In my program, how can I read the properties set in AssemblyInfo.cs: [assembly: AssemblyTitle("My Product")] [assembly: AssemblyDescription("...")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Radeldudel inc.")] [assembly: AssemblyProduct("My Product")] [assembly: AssemblyCopyright("Copyright @ me 2008")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] I'd like to display some of these values to the user of my program, so I'd like to know how to load them from the main program and from komponent assemblies I'm using.
0
[ 2, 184, 20, 1302, 1475, 13422, 800, 3726, 3726, 19, 51, 625, 15, 184, 92, 31, 1302, 14, 3704, 309, 19, 1475, 108, 4120, 9, 6824, 45, 636, 29432, 45, 1475, 22235, 5, 7, 915, 2374, 7, 6, 500, 636, 29432, 45, 1475, 546, 8741, 872...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Sharing Enum with WCF Service === I have few different applications among which I'd like to share a C# enum. I can't quite figure out how to share an enum declaration between a regular application and a WCF service. Here's the situation. I have 2 lightweight C# destop apps and a WCF webservice that all need to share enum values. Client 1 has Method1( MyEnum e, string sUserId ); Client 2 has Method2( MyEnum e, string sUserId ); Webservice has ServiceMethod1( MyEnum e, string sUserId, string sSomeData); My initial though was to create a library called Common.dll to encapsulate the enum and then just reference that library in all of the projects where the enum is needed. However, WCF makes things difficult because you need to markup the enum for it to be an integral part of the service. Like this: [ServiceContract] [ServiceKnownType(typeof(MyEnum))] public interface IMyService { [OperationContract] ServiceMethod1( MyEnum e, string sUserId, string sSomeData); } [DataContract] public enum MyEnum{ [EnumMember] red, [EnumMember] green, [EnumMember] blue }; So .... Is there a way to share an enum among a WCF service and other applictions?
0
[ 2, 6126, 1957, 723, 29, 11801, 410, 365, 800, 3726, 3726, 31, 57, 310, 421, 3767, 497, 56, 31, 22, 43, 101, 20, 1891, 21, 272, 5910, 1957, 723, 9, 31, 92, 22, 38, 1450, 1465, 70, 184, 20, 1891, 40, 1957, 723, 7098, 128, 21, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you use version control with Access development? === I'm involved with updating an Access solution. It has a good amount of VBA, a number of queries, a small amount of tables, and a few forms for data entry & report generation. It's an ideal candidate for Access. I want to make changes to the table design, the VBA, the queries, and the forms. How can I track my changes with version control? (we use Subversion, but this goes for any flavor) I can stick the entire mdb in subversion, but that will be storing a binary file, and I won't be able to tell that I just changed one line of VBA code. I thought about copying the VBA code to separate files, and saving those, but I could see those quickly getting out of sync with what's in the database.
0
[ 2, 184, 107, 42, 275, 615, 569, 29, 1381, 522, 60, 800, 3726, 3726, 31, 22, 79, 1013, 29, 71, 43, 1880, 40, 1381, 4295, 9, 32, 63, 21, 254, 2006, 16, 566, 969, 15, 21, 234, 16, 9386, 2829, 15, 21, 284, 2006, 16, 7484, 15, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Mixing Visual Studio versions OK? === Can Visual Studio **2005** Team edition for Developer coexist peacefully with Visual Studio **2008** Database edition on my machine? Are they completely separate applications that won't interfere in any way with each other?
0
[ 2, 5826, 3458, 1120, 3281, 5854, 60, 800, 3726, 3726, 92, 3458, 1120, 13, 1409, 2835, 1409, 173, 1322, 26, 10058, 326, 1706, 702, 24247, 29, 3458, 1120, 13, 1409, 2753, 1409, 6018, 1322, 27, 51, 1940, 60, 50, 59, 1524, 1725, 3767, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
In PHP, how do I find the value associated with a specific key. === I have two arrays. One contains id=>count and the other contains id=>name. I'm trying to produce a single array that is name=>count. Any suggestions on a straightforward way to do this? I have looked at the [Array Functions in the PHP Manual][1] and didn't see anything that stood out as doing what I want, so I'm guessing I'll need a combination of functions, but I'm having trouble coming up with something that's not convoluted. [1]: http://us2.php.net/manual/en/ref.array.php
0
[ 2, 19, 13, 26120, 15, 184, 107, 31, 477, 14, 1923, 1598, 29, 21, 1903, 1246, 9, 800, 3726, 3726, 31, 57, 81, 7718, 18, 9, 53, 1588, 4924, 3726, 1, 16549, 17, 14, 89, 1588, 4924, 3726, 1, 7259, 9, 31, 22, 79, 749, 20, 2213, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Access aliases in Gnome "Run Application" dialog === I'd like to be able to run my aliases from my .bashrc in the "Run Application" dialog that comes up when you hit Alt+F2 in Ubuntu/Gnome. Does anyone know how to do this?
0
[ 2, 1381, 15794, 160, 19, 24117, 13, 7, 3169, 3010, 7, 28223, 800, 3726, 3726, 31, 22, 43, 101, 20, 44, 777, 20, 485, 51, 15794, 160, 37, 51, 13, 9, 6093, 3112, 150, 19, 14, 13, 7, 3169, 3010, 7, 28223, 30, 1624, 71, 76, 42, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How can I get Perl to give a warning message when a certain package/tag is imported? === I have a package that I just made and I have an "old-mode" that basically makes it work like it worked before: importing everything into the current namespace. One of the nice things about having this as a package is that we no longer have to do that. Anyway, what I would like to do is have it so that whenever anyone does: use Foo qw(:oldmode); I throw a warning that this is deprecated and that they should either import only what they need or just access functions with Foo->fun(); Any ideas on how to do this?
0
[ 2, 184, 92, 31, 164, 416, 255, 20, 590, 21, 3590, 2802, 76, 21, 1200, 6030, 118, 8628, 25, 11808, 60, 800, 3726, 3726, 31, 57, 21, 6030, 30, 31, 114, 117, 17, 31, 57, 40, 13, 7, 1218, 8, 15570, 7, 30, 11374, 1364, 32, 170, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it important that Visual Studio 2008 thinks it's the wrong edition? === I installed Visual Studio 2008 Standard Edition a month or so ago after a reformat (on Vista64, if that matters). I got it for free from one of those "Heroes Happen Here" launch events. I then installed SQL Server 2008 Express Edition a week or so ago (we're supposed to be getting that for free in the mail but I gave up - a [little too early][1] apparently). Before I installed SQL Server 2008 Express, when I would start up Visual Studio 2008 the splash screen would read "Visual Studio 2008 Standard Edition". Now it says "Visual Studio 2008 **Shell**". I figure that for whatever reason the VS2008 skeleton that ships with SQL2008 Express has stepped on the VS2008 skeleton I had there already. I know that if you install SQL2005 on a machine without VS2005, you get a "shell" version of VS2005 with no languages installed (no C#, VB.NET, etc.) I figure this is no big deal since at worst some registry setting somewhere is wrong and the splash screen is just confused. But am I right? Or is this something that will bite me later when VS2008 for some reason denies me some feature? [1]: http://blogs.msdn.com/chkoenig/archive/2008/10/07/hhh-launch-update-sql-server-2008.aspx
0
[ 2, 25, 32, 681, 30, 3458, 1120, 570, 7973, 32, 22, 18, 14, 1389, 1322, 60, 800, 3726, 3726, 31, 4066, 3458, 1120, 570, 1236, 1322, 21, 1617, 54, 86, 1464, 75, 21, 3202, 721, 13, 5, 218, 13520, 3470, 15, 100, 30, 4556, 6, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a case insensitive jQuery :contains selector? === Is there a case insensitive version of the [:contains](http://docs.jquery.com/Selectors/contains) jQuery selector or should I do the work manually by looping over all elements and comparing their .text() to my string?
0
[ 2, 25, 80, 21, 610, 19, 19435, 487, 8190, 93, 13, 45, 1126, 5851, 18, 23946, 60, 800, 3726, 3726, 25, 80, 21, 610, 19, 19435, 615, 16, 14, 636, 45, 1126, 5851, 18, 500, 5, 21127, 6903, 13799, 18, 9, 728, 8190, 93, 9, 960, 11...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Do you buy the reuse story for the presentation layer in MVP and its variations? === Besides the unit testing benefits, what I heard regarding MVP pattern was that the reusability of the presentation layer. So, you would design one presentation layer and use it for WinForms (rich) and Web. I am currently working on a windows forms application in .NET with possibility of creating a web UI in the future. However, when I am designing the presentation layer and the interaction between the UI layer, I am not certain whether this notion of reusability is worth all the trouble. I sometimes feel like I am "dumbing down" my presentation for the possible web UI, when it can be so much more when designed specifically for the windows forms UI. So, how many of you are reaping the benefits of the reusable presentation layer? Does this reusability thing pan out in the real world?
0
[ 2, 107, 42, 3034, 14, 302, 3699, 609, 26, 14, 6364, 5385, 19, 13552, 17, 82, 8194, 60, 800, 3726, 3726, 3410, 14, 1237, 4431, 5800, 15, 98, 31, 752, 3467, 13552, 3732, 23, 30, 14, 302, 267, 4091, 16, 14, 6364, 5385, 9, 86, 15,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Preprocessing source code as a part of a maven build === I have a lot of Java source code that requires custom pre-processing. I'd like rid of it but that's not feasible right now so I'm stuck with it. Given that I have an unfortunate problem that shouldn't have existed in the first place, how do I solve it using maven? (For the full story, I'm replacing a python-based build system with a maven one, so one improvement at a time please. Fixing the non-standard source code is harder, and will come later.) Is it possible using any existing Maven plugins to actually alter the source files during compile time? (Obviously leaving the original, unprocessed code alone) To be clear, by preprocessing I mean preprocessing in the same sense as antenna or a C compiler would preprocess the code, and by custom I mean that it's completely proprietary and looks nothing at all like C or antenna preprocessing.
0
[ 2, 782, 16835, 68, 1267, 1797, 28, 21, 141, 16, 21, 1216, 3124, 1895, 800, 3726, 3726, 31, 57, 21, 865, 16, 8247, 1267, 1797, 30, 4781, 5816, 782, 8, 16835, 68, 9, 31, 22, 43, 101, 6681, 16, 32, 47, 30, 22, 18, 52, 13, 23707...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does ASP.net health monitoring work with asmx web services === I'm trying to use ASP.net health monitoring to log unhandled exceptions from an asmx web service. I've enabled health monitoring in the web.config but it's not logging anything. Does health monitoring work with asmx web services? I've googled around and seems other people have asked the same question but never got a definite answer.
0
[ 2, 630, 28, 306, 9, 2328, 853, 8984, 170, 29, 28, 79, 396, 2741, 687, 800, 3726, 3726, 31, 22, 79, 749, 20, 275, 28, 306, 9, 2328, 853, 8984, 20, 6738, 367, 3203, 1294, 13392, 37, 40, 28, 79, 396, 2741, 365, 9, 31, 22, 195, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I capture an mp3 stream with python === What's the best way of capturing an mp3 stream coming off of http and saving it to disk with python? Thus far I've tried target = open(target_path, "w") conn = urllib.urlopen(stream_url) while True: target.write(conn.read(buf_size)) This gives me data but its garbled or wont play in mp3 players.
0
[ 2, 184, 107, 31, 3683, 40, 4628, 240, 3766, 29, 20059, 800, 3726, 3726, 98, 22, 18, 14, 246, 161, 16, 12859, 40, 4628, 240, 3766, 880, 168, 16, 7775, 17, 7599, 32, 20, 8582, 29, 20059, 60, 1086, 463, 31, 22, 195, 794, 2935, 80...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Flash: How can I force a movieclip to stay inside constraints === I have a flash program that loads movie clips dynamically and sometimes they want to use more than the space that I give them. Ideally I'd like to force them to only show content in borders I give them. The reason I want this is that my program has a user interface that sometimes gets covered up by this behavior. I'd like to avoid rewriting my program to have these loaded movies be on the first level but that's looking like my only option. Any suggestions?
0
[ 2, 4433, 45, 184, 92, 31, 558, 21, 1308, 150, 6013, 20, 1179, 572, 16747, 800, 3726, 3726, 31, 57, 21, 4433, 625, 30, 19069, 1308, 17270, 7782, 1326, 17, 1030, 59, 259, 20, 275, 91, 119, 14, 726, 30, 31, 590, 105, 9, 5628, 102...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to migrate a 3rd party web part from SharePoint 2 (2003) to SharePoint 3 (2007) === I am migrating a site from SharePoint 2 to 3 (in fact, from SharePoint Portal Server 2003 to Microsoft Office SharePoint Server 2007). There are a handful of 3rd party web parts and since this is a migration, not an in-place upgrade, I need to install these web parts on the new farm. How do I do this, given that I have the packaged up web parts as provided by the SharePoint Configuration Analyzer in the form of cab files? Can I simply deploy these cab files somehow, even though they are not packaged as solutions? Or do I need to pull the cab files apart and repackage them as solutions? Or do I need to get new versions of the web parts, written for SharePoint 3, and maybe edit the pages that use them?
0
[ 2, 184, 20, 22985, 21, 203, 897, 346, 2741, 141, 37, 1891, 3132, 172, 13, 5, 3325, 6, 20, 1891, 3132, 203, 13, 5, 2727, 6, 800, 3726, 3726, 31, 589, 28749, 21, 689, 37, 1891, 3132, 172, 20, 203, 13, 5, 108, 837, 15, 37, 1891...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How can I stop my MFC application from calling OnFileNew() when it starts? === I used Visual Studio's Application Wizard to create a skeleton MFC program with a multi-document interface. When I start this program, it automatically creates a child frame, which I don't want it to do - I need the main frame's client area to be empty until the user chooses to open a file. The debugger tells me that a CChildFrame object is created when the application class's InitInstance() function calls ProcessShellCommand(), but what is a good entry point for me to override this behaviour?
0
[ 2, 184, 92, 31, 747, 51, 307, 7061, 3010, 37, 2555, 27, 16877, 2681, 5, 6, 76, 32, 3244, 60, 800, 3726, 3726, 31, 147, 3458, 1120, 22, 18, 3010, 10276, 20, 1600, 21, 11714, 307, 7061, 625, 29, 21, 1889, 8, 28132, 6573, 9, 76, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to read remote XML file the most efficiently way ? === i am developping a little app that retrieves an XML file, located on a remote server (http://xxxx.com/myfile.xml) This file is relatively big, and it contains a big list of geolocations with other informations that i need to use for my app. So i read this file remotely once and insert it into a little SqlCE file (database.sdf) So If I need to be accessing geolocation #1, i ll just make a SELECT statement into this DATABASE instead of loading the whole XML file everytime. But i would like to know if its possible to do this without using .sdf files ? What is the most efficient way (fastest)? Saving the big XML file once locally and load if everytime i start my app to load it in a dataset ? this is would make the app a bit long to load everytime Saving the big XML file once locally and reading the nodes one by one to look for Saving the big XML file once locally geolocation #1 ? Or is it possible to retrieve geolocation #1 from the remote xml directly(http://xxxx.com/myfile.xml) without reading the whole file ? Do you have any other ideas? thanks
0
[ 2, 184, 20, 1302, 5388, 23504, 3893, 14, 127, 20519, 161, 13, 60, 800, 3726, 3726, 31, 589, 2803, 3181, 21, 265, 4865, 30, 11917, 18, 40, 23504, 3893, 15, 335, 27, 21, 5388, 8128, 13, 5, 21127, 6903, 396, 13290, 9, 960, 118, 915...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Do I need to protect read access to an STL container in a multithreading environment? === I have one std::list<> container and these threads: - One writer thread which adds elements indefinitely. - One reader/writer thread which reads and removes elements while available. - Several reader threads which access the SIZE of the container (by using the size() method) There is a normal mutex which protects the access to the list from the first two threads. My question is, do the size reader threads need to acquire this mutex too? should I use a read/write mutex? Thanks in advance!
0
[ 2, 107, 31, 376, 20, 2196, 1302, 1381, 20, 40, 354, 255, 12147, 19, 21, 1889, 96, 22883, 2307, 60, 800, 3726, 3726, 31, 57, 53, 354, 43, 45, 45, 5739, 1, 12147, 17, 158, 20396, 45, 13, 8, 53, 1462, 9322, 56, 10621, 2065, 19, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Looking for a windows equivalent of the unix tail command === I'm looking for the equivalent of the unix 'tail' command that will allow me to watch the output of a log file while it is being written to.
0
[ 2, 699, 26, 21, 1936, 4602, 16, 14, 22540, 3424, 1202, 800, 3726, 3726, 31, 22, 79, 699, 26, 14, 4602, 16, 14, 22540, 13, 22, 8682, 22, 1202, 30, 129, 1655, 55, 20, 1455, 14, 5196, 16, 21, 6738, 3893, 133, 32, 25, 142, 642, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Self Signed Certificate in Windows without makecert? === We have a shrink wrap type Windows server application where we need to create a self signed certificate on the server to be used by some WCF web services. From our searches on the web, it appears that the makecert utility in the PlatformSDK from Microsoft cannot be distributed with our application, so we're looking for alternatives. Does anyone know how to use OpenSSL to create a certificate and get it into the Windows LocalMachine certificate store? Or, alternatively is it straight forward to insert the certificate into the store in a .NET application and should we just create the certificate file with openssl? Any help/suggestions would be appreciated.
0
[ 2, 1119, 908, 6259, 19, 1936, 366, 233, 17580, 60, 800, 3726, 3726, 95, 57, 21, 16269, 8118, 1001, 1936, 8128, 3010, 113, 95, 376, 20, 1600, 21, 1119, 908, 6259, 27, 14, 8128, 20, 44, 147, 34, 109, 11801, 410, 2741, 687, 9, 37, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does VS2008 built in web server (Cassini?) support SSL? === We are trying to get our .NET devs to use the built in VS2208 web server for web devlopment instaed of a local instance of IIS. This is one of responses I received as to why some of our devs can't use it. "Our XXXX Online Sales application uses SSL to protect passwords. While Visual Studio does permit some basic web application development without IIS, the light weight replacement does not support SSL." Does this make sense? Is there a work around? Thanks!
0
[ 2, 630, 4611, 2753, 392, 19, 2741, 8128, 13, 5, 5949, 18, 2651, 60, 6, 555, 13, 18, 18, 255, 60, 800, 3726, 3726, 95, 50, 749, 20, 164, 318, 13, 9, 2328, 9664, 18, 20, 275, 14, 392, 19, 4611, 135, 19793, 2741, 8128, 26, 2741...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Seriously, should I write bad PHP code? === I'm doing some PHP work recently, and in all the code I've seen, people tend to use few methods. (They also tend to use few variables, but that's another issue.) I was wondering why this is, and I found this note "A function call with one parameter and an empty function body takes about the same time as doing 7-8 $localvar++ operations. A similar method call is of course about 15 $localvar++ operations" [here][1]. Is this true, even when the PHP page has been compiled and cached? Should I avoid using methods as much as possible for efficiency? I like to write well-organized, human-readable code with methods wherever a code block would be repeated. If it is necessary to write flat code without methods, are there any programs that will "inline" method bodies? That way I could write nice code and then ugly it up before deployment. By the way, the code I've been looking at is from the Joomla 1.5 core and several WordPress plugins, so I assume they are people who know what they're doing. [1]: http://reinholdweber.com/?p=3
4
[ 2, 4818, 15, 378, 31, 2757, 896, 13, 26120, 1797, 60, 800, 3726, 3726, 31, 22, 79, 845, 109, 13, 26120, 170, 1989, 15, 17, 19, 65, 14, 1797, 31, 22, 195, 541, 15, 148, 5480, 20, 275, 310, 3195, 9, 13, 5, 2077, 67, 5480, 20, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Using Delegates with Exchange Web Services === Has anyone used delegates with exchnage web services? I would like one user to be able to control other users' calendars in Exchange. I'm finding this problem to be a little tricky, and I'd like to see how others have been able to get it to work properly.
0
[ 2, 568, 10845, 29, 1950, 2741, 687, 800, 3726, 3726, 63, 1276, 147, 10845, 29, 1396, 673, 103, 1303, 2741, 687, 60, 31, 83, 101, 53, 4155, 20, 44, 777, 20, 569, 89, 3878, 22, 7036, 18, 19, 1950, 9, 31, 22, 79, 3007, 48, 1448, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a JavaScript solution to generating a "table of contents" for a page? === I have headers in `<h1>` through `<h6>` tags. Is there a way that I can use JavaScript to generate a table of contents for the contents that serves as anchor tags as well?
0
[ 2, 25, 80, 21, 8247, 8741, 4295, 20, 13500, 21, 13, 7, 5924, 16, 8478, 7, 26, 21, 2478, 60, 800, 3726, 3726, 31, 57, 157, 445, 19, 13, 1, 252, 165, 1, 120, 13, 1, 252, 379, 1, 3383, 18, 9, 25, 80, 21, 161, 30, 31, 92, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can a WinForms app be configured to run as "x86" without recompiling? === Can a WinForms app compiled for "Any CPU" be configured to run as "x86" on a 64-bit server without recompiling the app? Specifically, I'm looking for an app.config setting or Control Panel applet to accomplish this end. All the customer's clients are x86, but the server is x64, and we like to install the WinForms app on the server for administrators to configure and monitor the system. We would much rather not recompile just for the server.
0
[ 2, 92, 21, 628, 4190, 18, 4865, 44, 28895, 20, 485, 28, 13, 7, 396, 3274, 7, 366, 302, 11103, 49, 802, 60, 800, 3726, 3726, 92, 21, 628, 4190, 18, 4865, 9316, 26, 13, 7, 6001, 17578, 7, 44, 28895, 20, 485, 28, 13, 7, 396, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to make a python, command-line program autocomplete arbitrary things NOT interpreter === I am aware of how to setup autocompletion of python objects in the python interpreter (on unix). - Google shows many hits for explanations on how to do this. - Unfortunately, there are so many references to that it is difficult to find what I need to do, which is slightly different. I need to know how to enable, tab/auto completion of arbitrary items in a command-line program written in python. My specific use case is a command-line python program that needs to send emails. I want to be able to autocomplete email addresses (I have the addresses on disk) when the user types part of it (and optionally presses the TAB key). I do not need it to work on windows or mac, just linux.
0
[ 2, 184, 20, 233, 21, 20059, 15, 1202, 8, 1143, 625, 3108, 15990, 17237, 564, 52, 19336, 800, 3726, 3726, 31, 589, 3854, 16, 184, 20, 18161, 3108, 11103, 1336, 872, 16, 20059, 3916, 19, 14, 20059, 19336, 13, 5, 218, 22540, 6, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Problem with static library in C++ === I'm trying to use a static library created by me in Visual C++ 2005 (unmanaged C++). I declare one function "int myF(int a);" into a .h file, I implement it in a .cpp file, I compile it - the .lib file is produced. I create a new project (a separate solution) in VC++ 2005 (also native C++), I add the paths for the include file and the lib file; when I invoke the function myF the linker reports an error: "error LNK2019: unresolved external symbol _myF referenced in function _main". if I create the client project in the same solution as the library project and then add a reference to the library projects, it works, but I'm not going to implement everything like this, but rather to add external libraries to my projects... What is wrong? Thank you.
0
[ 2, 1448, 29, 12038, 1248, 19, 272, 20512, 800, 3726, 3726, 31, 22, 79, 749, 20, 275, 21, 12038, 1248, 679, 34, 55, 19, 3458, 272, 20512, 812, 13, 5, 1020, 177, 8030, 272, 20512, 6, 9, 31, 10123, 53, 1990, 13, 7, 6391, 51, 410,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I preserve installed applications when migrating Ubuntu to another platform? === I'm looking at maybe moving from an older AMD64 to a new Intel dual-core which is 32 bit. Installation isn't a problem but can I transfer all the installed apps? I haven't been able to find anything so far on Google except where the migration is to a similar platform and file-system. I won't change the filesystem but the platform will be different. Is there something on the lines of the "World" file in Gentoo?
0
[ 2, 184, 107, 31, 6224, 4066, 3767, 76, 28749, 287, 12968, 2473, 20, 226, 2452, 60, 800, 3726, 3726, 31, 22, 79, 699, 35, 913, 1219, 37, 40, 1234, 589, 43, 3470, 20, 21, 78, 14635, 5747, 8, 10375, 56, 25, 2512, 1142, 9, 7758, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Default parameters with C++ constructors === Is it good practice to have a class constructor that uses default parameters, or should I use separate overloaded constructors? For example: // Use this... class foo { private: std::string name_; unsigned int age_; public: foo(const std::string& name = "", const unsigned int age = 0) : name_(name), age_(age) { ... } }; // Or this? class foo { private: std::string name_; unsigned int age_; public: foo() : name_(""), age_(0) { } foo(const std::string& name, const unsigned int age) : name_(name), age_(age) { ... } }; Either version seems to work, e.g.: foo f1; foo f2("Name", 30); Which style do you prefer or recommend and why?
0
[ 2, 12838, 12905, 29, 272, 20512, 6960, 248, 18, 800, 3726, 3726, 25, 32, 254, 1345, 20, 57, 21, 718, 6960, 248, 30, 2027, 12838, 12905, 15, 54, 378, 31, 275, 1725, 84, 22546, 6960, 248, 18, 60, 26, 823, 45, 12894, 275, 48, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Apply file structure diff/patch on remote system? === Is there a tool that creates a diff of a file structure, perhaps based on an MD5 manifest. My goal is to send a package across the wire that contains new/updated files and a list of files to remove. It needs to copy over new/updated files and remove files that have been deleted on the source file structure?
0
[ 2, 5645, 3893, 1411, 20811, 118, 23661, 27, 5388, 329, 60, 800, 3726, 3726, 25, 80, 21, 5607, 30, 9695, 21, 20811, 16, 21, 3893, 1411, 15, 1774, 432, 27, 40, 8138, 264, 13160, 9, 51, 1195, 25, 20, 2660, 21, 6030, 464, 14, 6511, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
J2ME widget library === I am starting to develop a J2ME app and the built-in GUI components of the java library are ugly and inflexible. Can anyone recommend a nice and easy to use (open-source...) widget library?
0
[ 2, 487, 135, 790, 4807, 43, 3060, 1248, 800, 3726, 3726, 31, 589, 1422, 20, 2803, 21, 487, 135, 790, 4865, 17, 14, 392, 8, 108, 9457, 5090, 16, 14, 8247, 1248, 50, 9212, 17, 19, 19752, 3426, 9, 92, 1276, 12360, 21, 2210, 17, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
Are HTTPS headers encrypted? === When sending data over HTTPS, I know the content is encrypted, however I hear mixed answers about whether the headers are encrypted, or how much of the header is encrypted. How much of HTTPS headers *are* encrypted? Including GET/POST request URLs, Cookies, etc.
0
[ 2, 50, 7775, 18, 157, 445, 29403, 60, 800, 3726, 3726, 76, 4907, 1054, 84, 7775, 18, 15, 31, 143, 14, 2331, 25, 29403, 15, 207, 31, 990, 2198, 6709, 88, 1472, 14, 157, 445, 50, 29403, 15, 54, 184, 212, 16, 14, 157, 106, 25, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Use absolute value of linker command file variable in 'C' code === I have a linker command file that assigns the top address of the stack into a variable _stack = . + 0x80000; I want to use this address in a 'c' program - I want to copy the stack to another location and then update the stack pointer to point to the new location before doing a destructive memory test on the orginal bank of RAM. I'm finding that if I do something like extern u32 *_stack; myFunction(_stack); Then the function seems to get passed the value stored at the stack location lwz r3,0(r8) Rather than the address of the stack itself. Can anyone help?
0
[ 2, 275, 7070, 1923, 16, 3508, 106, 1202, 3893, 7612, 19, 13, 22, 150, 22, 1797, 800, 3726, 3726, 31, 57, 21, 3508, 106, 1202, 3893, 30, 13952, 18, 14, 371, 3218, 16, 14, 7566, 77, 21, 7612, 13, 1, 25325, 800, 13, 9, 2754, 713,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
String Operations in Java === I know this is a bit of a nooby question but are there equivelents to C#s string operations in Java? specifically I'm Talking about String.Format and String.Join
0
[ 2, 3724, 1311, 19, 8247, 800, 3726, 3726, 31, 143, 48, 25, 21, 1142, 16, 21, 90, 111, 779, 1301, 47, 50, 80, 13, 9629, 195, 13465, 18, 20, 272, 5910, 18, 3724, 1311, 19, 8247, 60, 3524, 31, 22, 79, 1582, 88, 3724, 9, 23588, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Concurrency in RIA === This'll be my first question on this platform. I've done lots of development using Flex, WebORB and ASP.NET. We have solved Concurrency problems with messaging (Pessimistic Concurrency Control). This works pretty good but it also makes the whole application dependent of the messaging. No messaging, no concurrency control. I know that ASP.NET has version control in DataSets, but how would you go and use that if you are working on a RIA. It seems hard to go and store each dataset in the session of the client... So, if the Client would like need all products, I would need to store the dataset in the session of the client. When the client would change something to a product and save the product, I could then update the dataset (stored in the session) and try to save it... Seems a lot of work and a lot of memory that will be used (because those products will be kept in the memory of the client, so the dataset needs to be kept on the server side session). I think the most easy way would be to provide all DTO's with a version number. If the client would try to save a DTO, I could compare the version number with the one in the database. Lieven Cardoen
0
[ 2, 25547, 19, 13, 2548, 800, 3726, 3726, 48, 22, 211, 44, 51, 64, 1301, 27, 48, 2452, 9, 31, 22, 195, 677, 7503, 16, 522, 568, 14409, 15, 95, 6157, 220, 17, 28, 306, 9, 2328, 9, 95, 57, 15091, 25547, 1716, 29, 26437, 13, 5, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ListCellRenderer not Firing Events on Child Components === The following ListCellRenderer does not receive click events on the nested ComboBoxes. Do I need to enable something? class FilterCellRenderer implements ListCellRenderer { public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { Filter filter = (Filter)value; JPanel filterPanel = new JPanel(); FlowLayout layout = new FlowLayout(); layout.setAlignment(FlowLayout.LEFT); filterPanel.setLayout(layout); filterPanel.add(new JLabel(filter.getLabel())); final List<Object> options = filter.getOptions(); if (options.size() > 1) { JComboBox optionCombo = new JComboBox(new AbstractComboBoxModel() { public int getSize() { return options.size(); } public Object getElementAt(int index) { return options.get(index); } }); optionCombo.setSelectedItem(filter.getValue()); filterPanel.add(optionCombo); } if (isSelected) { filterPanel.setBackground(list.getSelectionBackground()); filterPanel.setForeground(list.getSelectionForeground()); } return filterPanel; } }
0
[ 2, 968, 9725, 99, 16706, 106, 52, 7139, 963, 27, 850, 5090, 800, 3726, 3726, 14, 249, 968, 9725, 99, 16706, 106, 630, 52, 2588, 10840, 963, 27, 14, 5618, 69, 22621, 5309, 160, 9, 107, 31, 376, 20, 9240, 301, 60, 718, 11945, 9725...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Converting floating point to fixed point === In C++, what's the generic way to convert any floating point value (float) to fixed point (int, 16:16 or 24:8)?
0
[ 2, 19583, 8319, 454, 20, 3535, 454, 800, 3726, 3726, 19, 272, 20512, 15, 98, 22, 18, 14, 12733, 161, 20, 8406, 186, 8319, 454, 1923, 13, 5, 14712, 721, 6, 20, 3535, 454, 13, 5, 6391, 15, 347, 45, 1091, 54, 937, 45, 457, 6, 6...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Command Line Password Prompt in PHP === I'm writing a command line tool to help my web app. It needs a password to connect to the service. I'd like the script to show a password prompt so I don't have to pass it as a command line argument. That's easy enough, but I'd like it to not echo the password to the screen as it's typed. How can I do this with PHP? Bonus points for doing it in pure PHP (no `system('stty')`) and replacing the characters with `*`.
0
[ 2, 1202, 293, 20884, 11443, 4417, 19, 13, 26120, 800, 3726, 3726, 31, 22, 79, 1174, 21, 1202, 293, 5607, 20, 448, 51, 2741, 4865, 9, 32, 2274, 21, 20884, 20, 6379, 20, 14, 365, 9, 31, 22, 43, 101, 14, 3884, 20, 298, 21, 20884,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Continuous Integration with Nant === I am preparing to use continuous integration for the first time. I will be using Nant for the automated build and testing tasks, and am trying to find the appropriate CI tool to poll the repository and execute the Nant script. I have so far loosely researched the following: - Hudson - Cruise Control - Draco My sense so far is that since most of the work will be done by Nant, Draco would be fine because it is supposed to be easy to install/setup. Cruise Control and Hudson, on the other hand might provide better reporting options. What is the best way to perform Continuous Integration when using Nant for the build and test tasks?
0
[ 2, 6357, 8078, 29, 13, 11028, 800, 3726, 3726, 31, 589, 7575, 20, 275, 6357, 8078, 26, 14, 64, 85, 9, 31, 129, 44, 568, 13, 11028, 26, 14, 14904, 1895, 17, 4431, 8674, 15, 17, 589, 749, 20, 477, 14, 4593, 5486, 5607, 20, 4994,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I tell if a class property has a public set (.NET)? === I have this: public string Log { get { return log; } protected set { if (log != value) { MarkModified(PropertyNames.Log, log); log = value; } } } And my utility class for databinding does this: PropertyInfo pi = ReflectionHelper.GetPropertyInfo(boundObjectType, sourceProperty); if (!pi.CanWrite) SetReadOnlyCharacteristics(boundEditor); But PropertyInfo.CanWrite does not care whether the set is publicly accessible, only that it exists. How can I determine if there's a **public** set, not just **any** set?
0
[ 2, 184, 107, 31, 494, 100, 21, 718, 1354, 63, 21, 317, 309, 13, 5, 9, 2328, 6, 60, 800, 3726, 3726, 31, 57, 48, 45, 317, 3724, 6738, 13, 1, 164, 13, 1, 788, 6738, 73, 13, 1, 3803, 309, 13, 1, 100, 13, 5, 5567, 13, 187, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can I show file copy progress using FileInfo.CopyTo in .NET? === I've created a copy utility in c# (.NET 2.0 Framework) that copies files, directories and recursive subdirectories etc. The program has a GUI that shows the current file being copied, the current file number (sequence), the total number of files to be copied and the perecentage completed for the copy operations. There is also a progress bar, that is based on current file / total files. My problem is related to copying large files. I've been unable to find a way to indicate the total copy progress of a large file (using my current class structure that utilitzes FileInfo.CopyTo method). As a workaround I've separated the file copy operations and GUI display to their own threads and set up a visual cue to show that work is being done. At least the user is aware that the program isn't frozen and is still copying files. It would be nicer to be able to show the progress based on the total number of bytes or have some type of event that fires from the FileInfo.CopyTo method that indicates the total number of bytes copied from the current file. I'm aware of the FileInfo.Length property, so I'm sure there is a way MacGuyver my own event that is based on this and have the GUI handle reading the updates (maybe based on checking the FileInfo.Length property of the destination object using some type of timer?). Does anyone know of a way to do this that I'm overlooking. If I can avoid it, I'd rather not rewrite my class to copy bytes through a stream and track it that way (though I'm thinking I might be stuck with going that route). Thanks In Advance PS - I'm stuck with the .NET 2.0 framework for now, so any solution that requires features available in >= 3.0 only are not an option for me. PPS - I'm open to solutions in any .NET language variety, not only c#.
0
[ 2, 92, 31, 298, 3893, 4344, 3455, 568, 3893, 108, 4120, 9, 19625, 262, 19, 13, 9, 2328, 60, 800, 3726, 3726, 31, 22, 195, 679, 21, 4344, 10082, 19, 272, 5910, 13, 5, 9, 2328, 172, 9, 387, 6596, 6, 30, 3298, 6488, 15, 559, 15...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
copy tables from one database to another (MS SQL) with SQL === I have a database called foo and a database called bar. I have a table in foo called tblFoobar that I want to move (data and all) to datbase bar from database foo. What is the SQL statement to do this?
0
[ 2, 4344, 7484, 37, 53, 6018, 20, 226, 13, 5, 79, 18, 4444, 255, 6, 29, 4444, 255, 800, 3726, 3726, 31, 57, 21, 6018, 227, 4310, 111, 17, 21, 6018, 227, 748, 9, 31, 57, 21, 859, 19, 4310, 111, 227, 13, 11872, 9641, 4328, 1850...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
XSLT: testing whether a certain type of non-null element exists... somewhere === I have XML that looks like <answers> <answer> <question-number>1</question-number> <value>3</value> <mean xsi:nil="1" /> </answer> <answer> <question-number>2</question-number> <value>2</value> <mean>2.3</mean> </answer> <answer> <question-number>3</question-number> <value>3</value> <mean xsi:nil="1" /> </answer> .... </answers> I'm formatting each answer using xsl:for-each. If there is a mean present I have a graphical representation of the mean. For some potential lists of answers the mean will always be null. At the bottom of the page I want to put a legend explaining the graphical representation of the mean. But I only want it to appear if I actually displayed a mean at all. So I want to be able to do a check, after closing the xsl:for-each, to say "do any of the answer elements have a non-null mean value?". Really not sure how to do that.
0
[ 2, 993, 18, 255, 38, 45, 4431, 1472, 21, 1200, 1001, 16, 538, 8, 4215, 211, 4520, 5636, 9, 9, 9, 3493, 800, 3726, 3726, 31, 57, 23504, 30, 1879, 101, 13, 1, 5950, 4662, 18, 1, 13, 1, 5950, 4662, 1, 13, 1, 24652, 8, 16299, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Get MAC address of wireless access point from C# === How can I get the MAC (Media Access Control) address of the wireless access point my system is connected to using C#?
0
[ 2, 164, 1572, 3218, 16, 10149, 1381, 454, 37, 272, 5910, 800, 3726, 3726, 184, 92, 31, 164, 14, 1572, 13, 5, 8260, 1381, 569, 6, 3218, 16, 14, 10149, 1381, 454, 51, 329, 25, 2587, 20, 568, 272, 5910, 60, 3, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Upgrading IIS 5.1 To IIS 6 on Windows XP === Is it possible to update IIS on Windows XP from 5.1 to 6? If so how? Thanks.
0
[ 2, 26939, 595, 18, 331, 9, 165, 20, 595, 18, 400, 27, 1936, 23045, 800, 3726, 3726, 25, 32, 938, 20, 11100, 595, 18, 27, 1936, 23045, 37, 331, 9, 165, 20, 400, 60, 100, 86, 184, 60, 3669, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Errors in Aspect Oriented Programming with Policy Injection === When using Aspect Oriented Programming with Policy injection, how do you deal with policy errors gracefully in your design? In Aspect Oriented Programming the objects should be unconcerned with how a particular policy is configured, but a particular policy may throw particular errors. What's the most graceful design to deal with that?
0
[ 2, 11908, 19, 7289, 13, 6800, 3143, 29, 1486, 13646, 800, 3726, 3726, 76, 568, 7289, 13, 6800, 3143, 29, 1486, 13646, 15, 184, 107, 42, 1183, 29, 1486, 11908, 28138, 19, 154, 704, 60, 19, 7289, 13, 6800, 3143, 14, 3916, 378, 44, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Flex: Accessing functions / components accross mxml pages === For simplicity lets say I have two flex mxml pages. form.mxml button.mxml If the form.mxml page had the following code, it should work fine: <custom:SelectView dSource="{_thedata}" id="form" visible="false"> </custom:SelectView> <mx:LinkButton label="Show" id="lbShow" click="form.visible=true;> <mx:LinkButton label="Show" id="lbHide" click="form.visible=false;> But if the code was like: form.mxml <custom:SelectView dSource="{_thedata}" id="form" visible="false"> </custom:SelectView> button.mxml <mx:LinkButton label="Show" id="lbShow" click="form.visible=true;> <mx:LinkButton label="Show" id="lbHide" click="form.visible=false;> how can I make a call from button.mxml to change form.mxml ---- a bit more details --- My page actually looks like this: where query:AdvancedSearchFields is basically including a flex form into the page, and I want it to show/hide the custom view below after the search is complete. <query:AdvancedSearchFields searchType="projects" searchCategory="advanced" visible="true" id="AdvancedSearch" /> <custom:SelectView dSource="{_searchResults}" id="sv" visible="false">
0
[ 2, 14409, 45, 1381, 68, 3719, 13, 118, 5090, 21, 150, 7703, 307, 396, 8184, 4434, 800, 3726, 3726, 26, 20595, 6884, 395, 31, 57, 81, 14409, 307, 396, 8184, 4434, 9, 505, 9, 79, 396, 8184, 5167, 9, 79, 396, 8184, 100, 14, 505, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...