unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
In Vim, is there a way to paste text in the search line? === Say in vim I want to search for <b>$maximumTotalAllowedAfterFinish</b> and replace it with <b>$minimumTotalAllowedAfterFinish</b>. Instead of typing the long text text: <pre><code>:%s/$maximumTotalAllowedAfterFinish/$minimumTotalAllowedAfterFinish/g</pre></code> Is there a way to COPY these long variable names down into the search line, since, on the command line I can't type "p" to paste.
0
[ 2, 19, 1790, 79, 15, 25, 80, 21, 161, 20, 640, 62, 1854, 19, 14, 2122, 293, 60, 800, 3726, 3726, 395, 19, 1790, 79, 31, 259, 20, 2122, 26, 13, 1, 220, 1, 4403, 8304, 49, 18535, 20148, 17976, 69, 5162, 23858, 1, 118, 220, 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 is there not a ForEach extension method on the IEnumerable interface? === Inspired by another question asking about the missing Zip function: Why is there no ForEach extension method in the Enumerable class? Or anywhere? The only class that gets a ForEach method is List<>. Is there a reason why it's missing (performance)?
0
[ 2, 483, 25, 80, 52, 21, 26, 14322, 3896, 2109, 27, 14, 13, 660, 6336, 106, 579, 6573, 60, 800, 3726, 3726, 3054, 34, 226, 1301, 3379, 88, 14, 2863, 12133, 1990, 45, 483, 25, 80, 90, 26, 14322, 3896, 2109, 19, 14, 1957, 723, 10...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 any way to define a constant value to Java at compile time === When I used to write libraries in C/C++ I got into the habit of having a method to return the compile date/time. This was always a compiled into the library so would differentiate builds of the library. I got this by returning a #define in the code: C++: #ifdef _BuildDateTime_ char* SomeClass::getBuildDateTime() { return _BuildDateTime_; } #else char* SomeClass::getBuildDateTime() { return "Undefined"; } #endif Then on the compile I had a '-D\_BuildDateTime_=`Date`' in the build script. Is there any way to achieve this or similar in Java without needing to remember to edit any files manually or distributing any seperate files. One suggestion I got from a co-worker was to get the ant file to create a file on the classpath and to package that into the JAR and have it read by the method. Something like (assuming the file created was called 'DateTime.dat'): // I know Exceptions and proper open/closing // of the file are not done. This is just // to explain the point! String getBuildDateTime() { return new BufferedReader(getClass() .getResourceAsStream("DateTime.dat")).readLine(); } To my mind that's a hack and could be circumvented/broken by someone having a similarly named file _outside_ the JAR, but on the classpath. Anyway, my question is whether there is any way to inject a constant into a class at compile time
0
[ 2, 25, 80, 186, 161, 20, 9267, 21, 3587, 1923, 20, 8247, 35, 26561, 85, 800, 3726, 3726, 76, 31, 147, 20, 2757, 8649, 19, 272, 118, 150, 20512, 31, 330, 77, 14, 9474, 16, 452, 21, 2109, 20, 788, 14, 26561, 1231, 118, 891, 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...
Hidden features of Python === What are the lesser-known but useful features of Python programming language. - Try to limit answers to Python core - One feature per answer - Give an example and short description of the feature, not just a link to documentation - Label the feature using bold title as the first line See also: - [Hidden features of C#][3] - [Hidden features of C++][1] - [Hidden features of Java][4] - [Hidden features of JavaScript][5] - [Hidden features of Ruby][2] [1]: http://stackoverflow.com/questions/75538/hidden-features-of-c [2]: http://stackoverflow.com/questions/63998/hidden-features-of-ruby [3]: http://stackoverflow.com/questions/9033/hidden-features-of-c [4]: http://stackoverflow.com/questions/15496/hidden-features-of-java [5]: http://stackoverflow.com/questions/61088/hidden-features-of-javascript
4
[ 2, 3689, 967, 16, 20059, 800, 3726, 3726, 98, 50, 14, 8051, 8, 2929, 47, 4811, 967, 16, 20059, 3143, 816, 9, 13, 8, 1131, 20, 4496, 6709, 20, 20059, 2884, 13, 8, 53, 1580, 416, 1623, 13, 8, 590, 40, 823, 17, 502, 5318, 16, 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...
Vim errorformat for Visual Studio === I want use Vim's quickfix features with the output from Visual Studio's devenv build process. I've created a batch file called build.bat which executes the devenv build like this: devenv MySln.sln /Build Debug In vim I've pointed the :make command to that batch file: :set makeprg=build.bat When I now run :make, the build executes successfully, however the errors don't get parsed out. So if I run :cl or :cn I just end up seeing all the output from devenv /Build. I should see only the errors. I've tried a number of different errorformat settings that I've found on various sites around the net, but none of them have parsed out the errors correctly. Here's a few I've tried: set errorformat=%*\\d>%f(%l)\ :\ %t%[A-z]%#\ %m set errorformat=\ %#%f(%l)\ :\ %#%t%[A-z]%#\ %m set errorformat=%f(%l,%c):\ error\ %n:\ %f And of course I've tried Vim's default. Does anyone know how to get this working?
0
[ 2, 1790, 79, 7019, 23588, 26, 3458, 1120, 800, 3726, 3726, 31, 259, 275, 1790, 79, 22, 18, 2231, 18594, 967, 29, 14, 5196, 37, 3458, 1120, 22, 18, 121, 3124, 710, 1895, 953, 9, 31, 22, 195, 679, 21, 13064, 3893, 227, 1895, 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 many bits are there in a nibble? === binary question :)
0
[ 2, 184, 151, 10181, 50, 80, 19, 21, 25228, 60, 800, 3726, 3726, 14171, 1301, 13, 45, 6, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
A new operating system === I am toying with the idea of creating an completely new operating system and would like to hear what everyone on this forums take is on that? First is it too late are the big boys so entrenched in our lives that we will never be able to switch (wow - what a terrible though...). But if this is not the case, what should a operating system do for you? what features are the most important? Should all the components be separate installations (in other words - should the base OS reallyl have no user functionnality and that gets added on by creating "plug-ins" kind of like a good flexible tool? I am anxious to read your comments?
4
[ 2, 21, 78, 2455, 329, 800, 3726, 3726, 31, 589, 20, 8173, 29, 14, 882, 16, 2936, 40, 1524, 78, 2455, 329, 17, 83, 101, 20, 990, 98, 1266, 27, 48, 5691, 18, 247, 25, 27, 30, 60, 64, 25, 32, 266, 456, 50, 14, 580, 1626, 86, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
IronClad equivalent for Jython === For IronPython there is a project - [IronClad][1], that allows to run C extensions in it. Is there a similiar project for Jython? [1]: http://www.resolversystems.com/documentation/index.php/Ironclad
0
[ 2, 1751, 16511, 4602, 26, 487, 93, 11570, 800, 3726, 3726, 26, 1751, 6448, 11570, 80, 25, 21, 669, 13, 8, 636, 11803, 16511, 500, 2558, 165, 500, 15, 30, 2965, 20, 485, 272, 17529, 19, 32, 9, 25, 80, 21, 4861, 12765, 139, 669, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 simultaneusly append several nodes to a XML file from different EXE instances, using Delphi === I have a command line tool, written in Delphi, which job is to insert a node in a XML file and then immediately exit. I need to make it possible several instances of the tool to be executed simultaneously and insert nodes to one and the same XML. To achieve this purpose I have introduced a simple file "mutex" - the tool creates one temp file before writing to the XML and then deletes the temp file after finished witing. So if another instance is executed, it checks for the presence of this temp file and waits until it is deleted. Then it creates again the temp file, writes to the XML and deletes the temp file. The problem is that this works fine only when 2-3 instances try to write to the XML file simultaneously. When there are more instances - some of them just wait forever and never append the node into the XML. Is there a better way to make it work with large number of instances running and writing to the XML at the same time?
0
[ 2, 184, 20, 4861, 1287, 11613, 267, 102, 4865, 2451, 238, 16272, 20, 21, 23504, 3893, 37, 421, 1396, 62, 13946, 15, 568, 23030, 800, 3726, 3726, 31, 57, 21, 1202, 293, 5607, 15, 642, 19, 23030, 15, 56, 1205, 25, 20, 14692, 21, 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...
IIS Wildcard Mapping not working for ASP.NET === I've set up wildcard mapping on IIS 6, by adding "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll", and ensured "Verify that file exists" is not checked : - on the "websites" directory in IIS - on the website However, after a iisreset, when I go to http://myserver/something.gif, I still get IIS 404 error, not asp.net one. Is there something I missed ?
0
[ 2, 595, 18, 23003, 13305, 52, 638, 26, 28, 306, 9, 2328, 800, 3726, 3726, 31, 22, 195, 309, 71, 23003, 13305, 27, 595, 18, 400, 15, 34, 4721, 13, 7, 150, 45, 1, 27508, 18, 1, 22019, 12980, 9, 2328, 1, 8361, 3783, 1, 710, 135...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 classes with virtual functions are implemented with vtables, how is a class with no virtual functions implemented? === In particular, wouldn't there have to be some kind of function pointer in place anyway? Is it simply just a [stack vs heap][1] situation? [1]: http://stackoverflow.com/questions/79923/what-and-where-are-the-stack-and-heap#79936
0
[ 2, 100, 2684, 29, 6599, 3719, 50, 6807, 29, 566, 5924, 18, 15, 184, 25, 21, 718, 29, 90, 6599, 3719, 6807, 60, 800, 3726, 3726, 19, 1498, 15, 1265, 22, 38, 80, 57, 20, 44, 109, 825, 16, 1990, 454, 106, 19, 209, 2774, 60, 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...
The ultimate MySQL legacy database nightmare === Table1: Everything including the kitchen sink. Dates in the wrong format (year last so you cannot sort on that column), Numbers stored as VARCHAR, complete addresses in the 'street' column, firstname and lastname in the firstname column, city in the lastname column, incomplete addresses, Rows that update preceeding rows by moving data from one field to another based on some set of rules that has changed over the years, duplicate records, incomplete records, garbage records... you name it... oh and of course not a TIMESTAMP or PRIMARY KEY column in sight. Table2: Any hope of normalization went out the window upon cracking this baby open. We have a row for each entry AND update of rows in table one. So duplicates like there is no tomorrow (800MB worth) and columns like Phone1 Phone2 Phone3 Phone4 ... Phone15 (they are not called phone. I use this for illustration) The foriegn key is.. well take guess. There are three candidates depending on what kind of data was in the row in table1 Table3: Can it get any worse. Oh yes. The "foreign key is a VARCHAR column combination of dashes, dots, numbers and letters! if that doesn't provide the match (which it often doesn't) then a second column of similar product code should. Columns that have names that bear NO correlation to the data within them, and the obligatory Phone1 Phone2 Phone3 Phone4... Phone15. There are columns Duplicated from Table1 and not a TIMESTAMP or PRIMARY KEY column in sight. Table4: was described as a work in progess and subject to change at any moment. It is essentailly simlar to the others. At close to 1m rows this is a BIG mess. Luckily it is not my big mess. Unluckily I have to pull out of it a composit record for each "customer". Initially I devised a four step translation of Table1 adding a PRIMARY KEY and converting all the dates into sortable format. Then a couple more steps of queries that returned filtered data until I had Table1 to where I could use it to pull from the other tables to form the composit. After weeks of work I got this down to one step using some tricks. So now I can point my app at the mess and pull out a nice clean table of composited data. Luckily I only need one of the phone numbers for my purposes so normalizing my table is not an issue. However this is where the real task begins, because every day hundreds of employees add/update/delete this database in ways you don't want to imagine and every night I must retrieve the new rows. Since existing rows in any of the tables can be changed, and since there are no TIMESTAMP ON UPDATE columns, I will have to resort to the logs to know what has happened. Of course this assumes that there is a binary log, which there is not! Introducing the concept went down like lead balloon. I might as well have told them that their children are going to have to undergo experimental surgery. They are not exactly hi tech... in case you hadn't gathered... The situation is a little delicate as they have some valuable information that my company wants badly. I have been sent down by senior management of a large corporation (you know how they are) to "make it happen". I can't think of any other way to handle the nightly updates, than parsing the bin log file with yet another application, to figure out what they have done to that database during the day and then composite my table accordingly. I really only need to look at their table1 to figure out what to do to my table. The other tables just provide fields to flush out the record. (Using MASTER SLAVE won't help because I will have a duplicate of the mess.) The alternative is to create a unique hash for every row of their table1 and build a hash table. Then I would go through the ENTIRE database every night checking to see if the hashs match. If they do not then I would read that record and check if it exists in my database, if it does then I would update it in my database, if it doesn't then its a new record and I would INSERT it. This is ugly and not fast, but parsing a binary log file is not pretty either. I have written this to help get clear about the problem. often telling it to someone else helps clarify the problem making a solution more obvious. In this case I just have a bigger headache! Your thoughts would be greatly appreciated.
0
[ 2, 14, 6612, 51, 18, 22402, 7780, 6018, 10586, 800, 3726, 3726, 859, 165, 45, 796, 215, 14, 1949, 6046, 9, 4076, 19, 14, 1389, 2595, 13, 5, 731, 236, 86, 42, 1967, 2058, 27, 30, 4698, 6, 15, 2116, 8214, 28, 4033, 5433, 15, 127...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 difference between random number and secure random number? === As the title says What is the difference between random number and secure random number?
0
[ 2, 98, 25, 14, 2841, 128, 5477, 234, 17, 4315, 5477, 234, 60, 800, 3726, 3726, 28, 14, 581, 898, 98, 25, 14, 2841, 128, 5477, 234, 17, 4315, 5477, 234, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Is it valid to have a 'choice' of 'group' elements when defining an XML Schema (XSD) === Is it valid to have a 'choice' or 'group' elements when defining an XML Schema (XSD) i.e. is the following valid <xs:complexType name="HeaderType"> <xs:sequence> <xs:element name="reservation-number" type="ReservationNumberType" minOccurs="1" maxOccurs="1" nillable="false" /> <xs:choice minOccurs="1" maxOccurs="1"> <xs:group ref="ReservationGroup" /> <xs:group ref="CancellationGroup"/> </xs:choice> </xs:sequence> </xs:complexType> Where an XML message can represent, for example, either a new reservation or a cancellation of an existing reservation. If the message is for a reservation, then it must include all the elements defined in the ReservationGroup group. If it is a cancellation, then it must include all the elements defined in the CancellationGroup group. For some reason, my XML editor (Eclipse) does not like this, but does not indicate why. It shows there being an error on the line &lt;xs:complexType name="HeaderType"&gt; but does not say what the error is
0
[ 2, 25, 32, 7394, 20, 57, 21, 13, 22, 23714, 22, 16, 13, 22, 8024, 22, 2065, 76, 14684, 40, 23504, 23874, 13, 5, 396, 18, 43, 6, 800, 3726, 3726, 25, 32, 7394, 20, 57, 21, 13, 22, 23714, 22, 54, 13, 22, 8024, 22, 2065, 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...
What's the best way to port an application from ActionScript2 to ActionScript3? === Our application is written in ActionScript2 and has about 50.000+ lines of code. We want to port it to ActionScript3 and we're trying to find out what our options are. Do we have to do it manually or can we use a converter, and what problems can we expect?
0
[ 2, 98, 22, 18, 14, 246, 161, 20, 1295, 40, 3010, 37, 1028, 8741, 135, 20, 1028, 8741, 240, 60, 800, 3726, 3726, 318, 3010, 25, 642, 19, 1028, 8741, 135, 17, 63, 88, 1222, 9, 3993, 2430, 1560, 16, 1797, 9, 95, 259, 20, 1295, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 generate passwords? === Random Characters? Passphrases? High Ascii? cat /dev/urandom | strings
0
[ 2, 184, 107, 42, 7920, 20884, 18, 60, 800, 3726, 3726, 5477, 1766, 60, 1477, 13314, 7202, 60, 183, 28, 1892, 49, 60, 2008, 13, 118, 14438, 118, 17692, 5555, 13, 1, 7887, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
How do I do Dependency Injection in a test project (TFS 2008) using Castle === I'm using Castle Windsor for dependency injection in my test project. I'm trying to create an instance one of my 'Repository' classes. "It works fine on my machine", but when I run a nightly build in TFS, my tests are not able to load said classes. private static readonly WindsorContainer _container = new WindsorContainer(new XmlInterpreter()); public void MyTestInitialize() { var testRepository = (IBogusRepository)_container[typeof(IBogusRepository)]; } When I queue a new build it produces the following message: > Unable to create instance of class > Example2008.Test.ActiveProductRepositoryTest. Error: > System.Configuration.ConfigurationException: > The type name > Example2008.Repository.LALALALALA, > Example2008.Repository could not be > located. > > Castle.Windsor.Installer.DefaultComponentInstaller.ObtainType(String > typeName) > Castle.Windsor.Installer.DefaultComponentInstaller.SetUpComponents(IConfiguration[] > configurations, IWindsorContainer > container) > Castle.Windsor.Installer.DefaultComponentInstaller.SetUp(IWindsorContainer > container, IConfigurationStore store) > Castle.Windsor.WindsorContainer.RunInstaller() > Castle.Windsor.WindsorContainer..ctor(IConfigurationInterpreter > interpreter) > Example2008.Test.ActiveProductRepositoryTest..cctor() > in d:\Code_Temp\Example Project > Nightly\Sources\Example2008.Test\ProductRepositoryTest.cs: > line 19 From this message, it seems that my configuration is correct (it can see that I want to instantiate the concrete class 'LALALALALA', so the xml configuration has obviously been red correctly) I think I have my dependencies set up correctly as well (because it works locally, even if I clean the solution and rebuild). Any thoughts? (using VS2008, TFS 2008.Net 3.5, Castle 1.03, by the way)
0
[ 2, 184, 107, 31, 107, 26835, 13646, 19, 21, 1289, 669, 13, 5, 11720, 18, 570, 6, 568, 1339, 800, 3726, 3726, 31, 22, 79, 568, 1339, 10784, 26, 26835, 13646, 19, 51, 1289, 669, 9, 31, 22, 79, 749, 20, 1600, 40, 4851, 53, 16, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Ideas for simple, educational open-source projects === As part of a series of presentations and hands-on seminars we want to do in our University, we would like to simulate the participants joining an existing open-source project and contributing. This involves us writing some code beforehand on simple projects (think pre-alpha versions), to which students will start contributing (including joining a community and using specific collaboration tools). Which projects do you think are best suited, perhaps also keeping with the educational side of our endeavour? The time frame for the course is 4 to 6 weeks, with weekly meetings of up to 6 hours (iucluding presentations), after which it would be nice to have a functional beta, to enhance impact on the students. The estimated numbers are: 2 "core" developers (tutors) and 3-5 students contributing as they learn.
0
[ 2, 3478, 26, 1935, 15, 3076, 368, 8, 12097, 2314, 800, 3726, 3726, 28, 141, 16, 21, 231, 16, 6364, 18, 17, 473, 8, 218, 19820, 95, 259, 20, 107, 19, 318, 155, 15, 95, 83, 101, 20, 24969, 14, 5889, 3765, 40, 3149, 368, 8, 120...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Dynamic class variables === Does PHP have a method of having auto-generated class variables? I *think* I've seen something like this before but I'm not certain. public class TestClass { private $data = array(); public function TestClass() { $this->data['firstValue'] = "cheese"; } } The `$this->data` array is always an associative array but they keys change from class to class. Is there any viable way to access `$this->data['firstValue']` from `$this->firstValue` without having to define the link? And if it is, are there any downsides to it? Or is there a static method of defining the link in a way which won't explode if the `$this->data` array doesn't contain that key?
0
[ 2, 7782, 718, 12157, 800, 3726, 3726, 630, 13, 26120, 57, 21, 2109, 16, 452, 3108, 8, 25314, 718, 12157, 60, 31, 1637, 10550, 2483, 31, 22, 195, 541, 301, 101, 48, 115, 47, 31, 22, 79, 52, 1200, 9, 317, 718, 1289, 1898, 13, 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...
Is there any free tool for monitoring BizTalk applications remotely? === whether command line or GUI, I'd be interested in testing every of them.
4
[ 2, 25, 80, 186, 551, 5607, 26, 8984, 1732, 380, 9718, 3767, 23288, 60, 800, 3726, 3726, 1472, 1202, 293, 54, 9457, 15, 31, 22, 43, 44, 3158, 19, 4431, 352, 16, 105, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
What are the best open source Nagios interfaces? === [Centreon][1]? [NagVis][2]? Other? [1]: http://www.centreon.com/ [2]: http://www.nagvis.org/
0
[ 2, 98, 50, 14, 246, 368, 1267, 9277, 7760, 6573, 18, 60, 800, 3726, 3726, 636, 20830, 218, 500, 2558, 165, 500, 60, 636, 325, 263, 3762, 500, 2558, 135, 500, 60, 89, 60, 636, 165, 500, 45, 7775, 6903, 6483, 9, 20830, 218, 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...
Thumbnail image from 3gp file === Does anybody know how to get thumbnail (still image) from 3gb video file? First frame or something like that. I'm using .net, but solution can be in any language (managed or native), or third-party product.
0
[ 2, 5078, 325, 947, 1961, 37, 203, 13321, 3893, 800, 3726, 3726, 630, 11181, 143, 184, 20, 164, 5078, 325, 947, 13, 5, 8073, 1961, 6, 37, 203, 11400, 763, 3893, 60, 64, 3523, 54, 301, 101, 30, 9, 31, 22, 79, 568, 13, 9, 2328, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Multiple local connections in flash - what's the better architecture? === I'm using localConnection in AS3 to allow several flash applications to interact with a central application. (Some are AS2, some AS3). Is it better to have the main application listen to a single localConnection and let all the other applications send their identifiers to that localConnection? Or maybe the central application should listen to a different LC name for each of the other applications? 1 Door for all of the messages to enter or 1 door per message source? Which is better?
0
[ 2, 1886, 375, 6760, 19, 4433, 13, 8, 98, 22, 18, 14, 574, 2607, 60, 800, 3726, 3726, 31, 22, 79, 568, 375, 25996, 872, 19, 28, 240, 20, 1655, 238, 4433, 3767, 20, 10001, 29, 21, 521, 3010, 9, 13, 5, 3220, 50, 28, 135, 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...
Encoding spaces with the javascript encodeURIComponent function === Why does the javascript function encodeURIComponent encode spaces to the hex unicode value %20 insteady of +. Should uri parameters not spaces to +?
0
[ 2, 19608, 7644, 29, 14, 8247, 8741, 20523, 3594, 11103, 218, 2291, 1990, 800, 3726, 3726, 483, 630, 14, 8247, 8741, 1990, 20523, 3594, 11103, 218, 2291, 20523, 7644, 20, 14, 24, 396, 28010, 1923, 13, 11881, 1323, 700, 93, 16, 2754, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How do you continue to improve your SQL skills? === How do SQL developers go about keeping up on current techniques and trends in the SQL world? Are there any blogs, books, articles, techniques, etc that are being used to keep up to date and in the know? There are a lot of opportunities out their for OO, procedural, and functional programmers to take part in a variety of open source projects, but it seems to me that the FOSS avenue is a bit more closed for SQL developers. Thoughts?
0
[ 2, 184, 107, 42, 1816, 20, 3545, 154, 4444, 255, 3207, 60, 800, 3726, 3726, 184, 107, 4444, 255, 10168, 162, 88, 2882, 71, 27, 866, 4212, 17, 14947, 19, 14, 4444, 255, 126, 60, 50, 80, 186, 8146, 18, 15, 964, 15, 3376, 15, 421...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 and crossdomain.xml === I was wondering are there any security concerns with adding crossdomain.xml to the root of an application server? Can it be added to nay other parts of the server and are you aware of any work arounds that dont require the server to have this file in place? Thanks Damien
0
[ 2, 14409, 17, 919, 537, 6232, 9, 396, 8184, 800, 3726, 3726, 31, 23, 5712, 50, 80, 186, 1221, 4823, 29, 4721, 919, 537, 6232, 9, 396, 8184, 20, 14, 5900, 16, 40, 3010, 8128, 60, 92, 32, 44, 905, 20, 13, 10118, 89, 1341, 16, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
The most efficient way to implement an integer based power function pow(int, int) === What is the most efficient way given to raise an integer to the power of another integer in C? // 2^3 pow(2,3) == 6 // 5^5 pow(5,5) == 3125
0
[ 2, 14, 127, 8243, 161, 20, 8713, 40, 13820, 432, 414, 1990, 14387, 5, 6391, 15, 19, 38, 6, 800, 3726, 3726, 98, 25, 14, 127, 8243, 161, 504, 20, 3972, 40, 13820, 20, 14, 414, 16, 226, 13820, 19, 272, 60, 12894, 172, 1, 240, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 some good books on web UI? === I'm looking to expand my knowledge of web interfaces and interactions but there are so many books out there. What would be a good few to start with?
4
[ 2, 98, 50, 109, 254, 964, 27, 2741, 13, 5661, 60, 800, 3726, 3726, 31, 22, 79, 699, 20, 6073, 51, 1918, 16, 2741, 6573, 18, 17, 11224, 47, 80, 50, 86, 151, 964, 70, 80, 9, 98, 83, 44, 21, 254, 310, 20, 799, 29, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Has anyone got NVelocity working with ASP.NET MVC Preview 5 === I'm guessing I need to implement an `NVelocityViewEngine` and `NVelocityView` - but before I do I wanted to check to see if anyone has already done this. I can't see anything in the [trunk][1] for [MVCContrib][2]. I've already seen the post below - I'm looking specifically for something which works with Preview 5: - [Testing ScottGu: Alternate View Engines with ASP.NET MVC (NVelocity)][3] Otherwise I'll start writing one :) [1]: http://mvccontrib.googlecode.com/svn/trunk/ [2]: http://www.codeplex.com/MVCContrib [3]: http://www.chadmyers.com/Blog/archive/2007/11/28/testing-scottgu-alternate-view-engines-with-asp.net-mvc-nvelocity.aspx
0
[ 2, 63, 1276, 330, 13, 20763, 6923, 5788, 638, 29, 28, 306, 9, 2328, 307, 8990, 16121, 331, 800, 3726, 3726, 31, 22, 79, 19523, 31, 376, 20, 8713, 40, 13, 1, 20763, 6923, 5788, 4725, 16847, 1, 17, 13, 1, 20763, 6923, 5788, 4725, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 you use the Phoenix compiler as a more powerful NGEN? === In case you don't know of Phoenix, it's a compiler framework from Microsoft that's apparantly going to be the foundation of all their new compilers. It can read in code from CIL, x86, x64, and IA64; and emit code in x86, x64, IA64, or CIL. Can I use it to transform a pure .Net app into a pure native app? By which I mean, it will not have to load any .Net .dll (not even mscoree), and will have the same semantics? This is excluding Reflection, of course.
0
[ 2, 92, 42, 275, 14, 6014, 21486, 28, 21, 91, 2177, 13, 103, 1863, 60, 800, 3726, 3726, 19, 610, 42, 221, 22, 38, 143, 16, 6014, 15, 32, 22, 18, 21, 21486, 6596, 37, 7099, 30, 22, 18, 13, 18303, 7874, 102, 228, 20, 44, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a way to prevent google search terms from matching urls? === At the moment, I am doing a number of searches which include "html" in them, for example "html rearrange". Unfortunately, I get a lot of hits from sites that include "rearrange" on a .html page but have no mention of html in the page itself. Is there a way to prevent search terms from matching urls?
0
[ 2, 25, 80, 21, 161, 20, 2501, 8144, 2122, 1663, 37, 10120, 13, 911, 7532, 60, 800, 3726, 3726, 35, 14, 688, 15, 31, 589, 845, 21, 234, 16, 19994, 56, 468, 13, 7, 15895, 7, 19, 105, 15, 26, 823, 13, 7, 15895, 2275, 8366, 7, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 write a binary literal in ruby? === Most languages (Ruby included) allow number literals to be written in at least three bases: decimal, octal and hexadecimal. Numbers in decimal base is the usual thing and are written as (most) people naturally write numbers, 96 is written as `96`. Numbers prefixed by a zero are usually interpreted as octal based: 96 would be written as `0140`. Hexadecimal based numbers are usually prefixed by `0x`: 96 would be written as `0x60`. The question is: can I write numbers as binary literals in Ruby? How?
0
[ 2, 184, 107, 42, 2757, 21, 14171, 20665, 19, 10811, 60, 800, 3726, 3726, 127, 2556, 13, 5, 1820, 779, 506, 6, 1655, 234, 20665, 18, 20, 44, 642, 19, 35, 639, 132, 8426, 45, 26380, 15, 9543, 192, 17, 24, 6791, 9522, 49, 3482, 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 change schema name of a table in all stored procedures === I know how to change the schema of a table in SQL server 2005: ALTER SCHEMA NewSchama TRANSFER dbo.Table1 But how can i check and/or alter stored procedures that use the old schema name?
0
[ 2, 184, 20, 753, 23874, 204, 16, 21, 859, 19, 65, 8214, 8876, 800, 3726, 3726, 31, 143, 184, 20, 753, 14, 23874, 16, 21, 859, 19, 4444, 255, 8128, 18228, 7835, 23874, 78, 2992, 3812, 2617, 13, 43, 1192, 9, 5924, 165, 47, 184, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
How can you improve your work environment? === Work environment vary wildly. Some lucky few have the luxury of private offices while most of us are situated in some version or other of the open office space. I'm looking for hints and tips of what each and every one of us can do, regardless of the details of your office layout, to improve our work environment. I realize there are always problems that you can not do much about and your boss refuses to solve, but what I'm looking for here are things that each and every professional developer can do. What do you do to keep your focus up if your environment is loud? What are the small things you do during the workday to keep feeling comfortable through long programming sessions? How do you set up your equipment the best way? Please share your best "Pimp my desk" experiences.
4
[ 2, 184, 92, 42, 3545, 154, 170, 2307, 60, 800, 3726, 3726, 170, 2307, 7392, 15166, 9, 109, 4266, 310, 57, 14, 9640, 16, 932, 3642, 133, 127, 16, 182, 50, 2692, 19, 109, 615, 54, 89, 16, 14, 368, 488, 726, 9, 31, 22, 79, 699,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Restrict access to a single application when logging in from the console without replacing GINA === Does anybody know if there is a feasible way on Windows XP to programmatically create and configure a user account so that after logging in from the console (no terminal services) a specific app is launched and the user is "locked" to that app ? The user should be prevented from doing anything else with the system (e.g.: no ctrl+alt+canc, no ctrl+shift+esc, no win+e, no nothing). As an added optional bonus the user should be logged off when the launched app is closed and/or crashes. Any existing free tool, language or any mixture of them that gets the job done would be fine (batch, VB-script, C, C++, whatever)
0
[ 2, 15436, 1381, 20, 21, 345, 3010, 76, 13, 13919, 19, 37, 14, 8650, 366, 5496, 13, 13362, 800, 3726, 3726, 630, 11181, 143, 100, 80, 25, 21, 13, 23707, 161, 27, 1936, 23045, 20, 625, 6732, 1326, 1600, 17, 1065, 15951, 21, 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...
Finding per-process bandwidth usage on the mac? === On the PC there are several programs that will show you your bandwidth usage on a per process or per program basis. Is there anyway of doing something similar on the Mac?
2
[ 2, 3007, 416, 8, 16835, 23392, 7514, 27, 14, 1572, 60, 800, 3726, 3726, 27, 14, 5168, 80, 50, 238, 1726, 30, 129, 298, 42, 154, 23392, 7514, 27, 21, 416, 953, 54, 416, 625, 2239, 9, 25, 80, 2774, 16, 845, 301, 835, 27, 14, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Is it correct to use the backtick / coma idiom inside a (loop ...)? === I vave some code which collects points (consed integers) from a loop which looks something like this: (loop for x from 1 to 100 for y from 1 to 100 do collect `(,x . ,y)) My question is, is it correct to use <code>`(,x . ,y)</code> in this situation?
0
[ 2, 25, 32, 4456, 20, 275, 14, 97, 38, 7030, 13, 118, 13987, 28380, 572, 21, 13, 5, 18786, 13, 9, 9, 9, 6, 60, 800, 3726, 3726, 31, 3471, 195, 109, 1797, 56, 5543, 18, 819, 13, 5, 12124, 69, 13820, 18, 6, 37, 21, 5293, 56, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 Builder 3 design view, css not being applied === I have Flex Builder 3 installed on two Windows machines and the same project on both of them. On one computer, the CSS styles I defined are shown in design view; on the other computer they are not applied. Is there any reason why it might not work on one?
0
[ 2, 14409, 14960, 203, 704, 1418, 15, 272, 18, 18, 52, 142, 2435, 800, 3726, 3726, 31, 57, 14409, 14960, 203, 4066, 27, 81, 1936, 6035, 17, 14, 205, 669, 27, 156, 16, 105, 9, 27, 53, 1428, 15, 14, 272, 18, 18, 6443, 31, 2811, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 catch all exceptions in Flex? === When I run a Flex application in the debug flash player I get an exception pop up as soon as something unexpected happened. However when a customer uses the application he does not use the debug flash player. In this case he does not get an exception pop up, but he UI is not working. So for supportability reasons, I would like to catch any exception that can happen anywhere in the Flex UI and present an error message in a Flex internal popup. By using Java I would just encapsulate the whole UI code in a try/catch block, but with MXML applications in Flex I do not know, where I could perform such a general try/catch.
0
[ 2, 184, 20, 2949, 65, 13392, 19, 14409, 60, 800, 3726, 3726, 76, 31, 485, 21, 14409, 3010, 19, 14, 121, 16254, 4433, 517, 31, 164, 40, 5391, 1675, 71, 28, 651, 28, 301, 9380, 1190, 9, 207, 76, 21, 7705, 2027, 14, 3010, 24, 630...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Serializing DateTime to time without milliseconds and gmt === I have created a C# class file by using a XSD-file as an input. One of my properties look like this: private System.DateTime timeField; [System.Xml.Serialization.XmlElementAttribute(DataType="time")] public System.DateTime Time { get { return this.timeField; } set { this.timeField = value; } } When serialized, the contents of the file now looks like this: <Time>14:04:02.1661975+02:00</Time> Is it possible, with XmlAttributes on the property, to have it render without the milliseconds and the GMT-value like this? <Time>14:04:02</Time> Is this possible, or do i need to hack together some sort of xsl/xpath-replace-magic after the class has been serialized? It is not a solution to changing the object to String, because it is used like a DateTime in the rest of the application and allows us to create an xml-representation from an object by using the XmlSerializer.Serialize() method. The reason I need to remove the extra info from the field is that the receiving system does not conform to the w3c-standards for the time datatype.
0
[ 2, 5956, 3335, 1231, 891, 20, 85, 366, 13436, 5007, 18, 17, 12600, 38, 800, 3726, 3726, 31, 57, 679, 21, 272, 5910, 718, 3893, 34, 568, 21, 993, 18, 43, 8, 16877, 28, 40, 6367, 9, 53, 16, 51, 3704, 361, 101, 48, 45, 932, 329...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Best Javascript drop-down menu? === I am looking for a drop-down JavaScript menu. It should be the simplest and most elegant accessible menu that works in IE6 and Firefox 2 also. It would be fine if it worked on an unnumbered list (*ul*) so the user can use the page without JavaScript support. Which one do you recommend and where can I find the code to such a menu?
0
[ 2, 246, 8247, 8741, 2804, 8, 2968, 11379, 60, 800, 3726, 3726, 31, 589, 699, 26, 21, 2804, 8, 2968, 8247, 8741, 11379, 9, 32, 378, 44, 14, 24384, 17, 127, 11614, 7342, 11379, 30, 693, 19, 13, 660, 379, 17, 535, 18219, 172, 67, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 does a "WARNING: did not see LOP_CKPT_END" message mean on SQL Server 2005? === The above error message comes up just before SQL Server marks the database as "Suspect" and refuses to open it. Does anyone know what the message means and how to fix it? I think it's a matter of grabbing the backup, but would be nice if it was possible to recover the data.
0
[ 2, 98, 630, 21, 13, 7, 1885, 2981, 45, 144, 52, 196, 13, 11362, 1, 2601, 4417, 1, 2451, 7, 2802, 884, 27, 4444, 255, 8128, 812, 60, 800, 3726, 3726, 14, 784, 7019, 2802, 1624, 71, 114, 115, 4444, 255, 8128, 4872, 14, 6018, 28,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Prototype get by tag function === How do I get an element or elementlist by it's tag name. Take for example that I want all elements from <h1></h1>
0
[ 2, 7063, 164, 34, 3383, 1990, 800, 3726, 3726, 184, 107, 31, 164, 40, 4520, 54, 4520, 5739, 34, 32, 22, 18, 3383, 204, 9, 247, 26, 823, 30, 31, 259, 65, 2065, 37, 13, 1, 252, 165, 1, 118, 252, 165, 1, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Compare time part of datetime field in Hibernate === I've got an application that uses a hibernate(annotations)/mysql combination for ORM. In that application, I got an entity with a Date field. I'm looking for a way to select on that date within a time range (so hh:mm:ss without the date part). In MySQL there's a function TIME(expression) that can extract the time part and use that in the where clause, but that does not seem to be available in Hibernate without switching to native queries. Is there an option in hibernate to do this, or should I loop through the results in java and do the comparison there? Would this be much slower as the MySQL solution, since that would not use indexes anyway?
0
[ 2, 11590, 85, 141, 16, 1231, 891, 575, 19, 4148, 2102, 8820, 800, 3726, 3726, 31, 22, 195, 330, 40, 3010, 30, 2027, 21, 4148, 2102, 8820, 5, 210, 1270, 7504, 6, 118, 915, 18, 22402, 3733, 26, 54, 79, 9, 19, 30, 3010, 15, 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...
Quickest way to get ical email attachment into Google Calendar === I'm running Thunderbird on Windows. I often receive .ics (iCal) attachments - invitations to meetings. Currently I save the attachment to my desktop, open Google Calendar, choose 'Add>Import Calendar', browse to the .ics file, and return to the calendar. Is there any tool that can speed this up... e.g. I forward the email to a special email address and it automatically parses and adds the event to my google calendar?
0
[ 2, 2231, 1430, 161, 20, 164, 13, 4272, 8517, 14575, 77, 8144, 7036, 800, 3726, 3726, 31, 22, 79, 946, 25763, 27, 1936, 9, 31, 478, 2588, 13, 9, 8354, 13, 5, 4272, 6, 14575, 18, 13, 8, 7470, 18, 20, 5637, 9, 871, 31, 2079, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
algorithem for detect documents similar and near to similar in python script === i need to write a module to detect the documents similar and near to similar. i have read many papers of fingerprints of documents technique and others but i do not know how to write code or implement. the algorithm should work for chines, japans English and German language or language independent can i one help me. or sending me code this problems i am very thankful thanks
1
[ 2, 493, 6979, 242, 9763, 26, 9092, 4374, 835, 17, 424, 20, 835, 19, 20059, 3884, 800, 3726, 3726, 31, 376, 20, 2757, 21, 12613, 20, 9092, 14, 4374, 835, 17, 424, 20, 835, 9, 31, 57, 1302, 151, 3747, 16, 21564, 18, 16, 4374, 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...
Actionscript 2: MovieClipLoader.onLoadProgress not firing in production === I'm working in Flash CS3, targeting Actionscript 2, and I'm writing an image preloader. When I test the movie with the download simulation turned on everything works just fine, and my preloader successfully updates the download progress bar I've made. When I upload the movie to my web server though, it almost behaves as though the MovieClipLoader.onLoadProgress event isn't firing until the very end of the upload, because the movie sits there for several seconds downloading with no notification and then there is a sudden burst of activity and my preloader goes from 0 to 100% very rapidly. Has anyone encountered this behavior before, and if so what am I doing wrong? Thanks!
0
[ 2, 1028, 8741, 4274, 1308, 150, 6013, 8294, 106, 9, 218, 8294, 2740, 13026, 52, 7139, 19, 637, 800, 3726, 3726, 31, 22, 79, 638, 19, 4433, 272, 18, 240, 15, 15972, 1028, 8741, 172, 15, 17, 31, 22, 79, 1174, 40, 1961, 782, 8294, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
When to you use a JSP and when a Servlet? === <p>I have an application that sends the customer to another site to handle the payments. The other site, outside of the customer, calls a page on our server to let us know what the status is of the payment. The called page checks the parameters that are given by the payment application and checks to see whether the transaction is known to us. It then updates the database to reflect the status. This is all done without any interaction with the customer.</p> <p>I have personally chosen to implement this functionality as a JSP since it is easier to just drop a file in the file system than to compile and package the file and then to add an entry into a configuration file.</p> <p>Considering the functionality of the page I would presume that a servlet would be the preferred option. The question(s) are: <ul> <li>Is my presumption correct?</li> <li>Is there a real reason to use a servlet over a JSP?</li> <li>What are those reasons?</li>
0
[ 2, 76, 20, 42, 275, 21, 487, 3401, 17, 76, 21, 13, 10321, 1336, 60, 800, 3726, 3726, 13, 1, 306, 1, 49, 57, 40, 3010, 30, 11350, 14, 7705, 20, 226, 689, 20, 3053, 14, 11161, 9, 14, 89, 689, 15, 719, 16, 14, 7705, 15, 3029,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
JS library for waterfall graphs === Can anyone recommend a JS library for generating waterfall graphs?
0
[ 2, 487, 18, 1248, 26, 12927, 7210, 18, 800, 3726, 3726, 92, 1276, 12360, 21, 487, 18, 1248, 26, 13500, 12927, 7210, 18, 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...
[ 1, 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 do I select all <th> elements of class "sortasc" within a table with a specific id? === Let's say I have the following HTML: <table id="foo"> <th class="sortasc">Header</th> </table> <table id="bar"> <th class="sortasc">Header</th> </table> I know that I can do the following to get all of the **th** elements that have class="sortasc" $$('th.sortasc').each() However that gives me the **th** elements from both table *foo* and table *bar*. How can I tell it to give me just the th elements from table *foo*?
0
[ 2, 184, 107, 31, 5407, 65, 13, 1, 96, 1, 2065, 16, 718, 13, 7, 22843, 472, 150, 7, 363, 21, 859, 29, 21, 1903, 4924, 60, 800, 3726, 3726, 408, 22, 18, 395, 31, 57, 14, 249, 13, 15895, 45, 13, 1, 5924, 4924, 3726, 7, 4120, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 C++ code to HTML safe === I decided to try http://www.screwturn.eu/ wiki as a code snippet storage utility. So far I am very impressed, but what irkes me is that when I copy paste my code that I want to save, '<'s and '[' (http://en.wikipedia.org/wiki/Character_encodings_in_HTML#Character_references) invariably screw up the output as the wiki interprets them as either wiki or HTML tags. Does anyone know a way around this? Or failing that, know of a simple utility that would take C++ code and convert it to HTML safe code?
0
[ 2, 19583, 272, 20512, 1797, 20, 13, 15895, 1834, 800, 3726, 3726, 31, 868, 20, 1131, 7775, 6903, 6483, 9, 18, 6037, 499, 8169, 9, 5770, 118, 13, 17375, 28, 21, 1797, 13, 29061, 4326, 10082, 9, 86, 463, 31, 589, 253, 7059, 15, 47...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Could you recommend good books on Sybase ASE 15? === We need to get some good books on Sybase ASE 15 for our developers. The people in the team have previous experience with different SQL flavors (MS SQL, MySQL, Informix and Oracle) but no one worked with Sybase before. Therefore I am looking for two kinds of books: 1. Book for developers on how to use Sybase for queries,sprocs, views etc. Has to be a book for professionals and not something like 'learn SQL in 21 day' 1. Book for the DB administrator on how to maintain the database. This could be on any level and a dummy guide would not go wrong :) Thank you
4
[ 2, 110, 42, 12360, 254, 964, 27, 10315, 8436, 28, 62, 357, 60, 800, 3726, 3726, 95, 376, 20, 164, 109, 254, 964, 27, 10315, 8436, 28, 62, 357, 26, 318, 10168, 9, 14, 148, 19, 14, 173, 57, 1158, 1496, 29, 421, 4444, 255, 11974,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 schedule a task to run when shutting down windows === How do you schedule a task in Windows XP to run when you shutdown windows. Such that I want to run a simple command line program I wrote in c# everytime I shut down windows. There doesn't seem to be an option in scheduled tasks to perform this task when my computer shuts down.
0
[ 2, 184, 20, 4345, 21, 3005, 20, 485, 76, 19796, 125, 1936, 800, 3726, 3726, 184, 107, 42, 4345, 21, 3005, 19, 1936, 23045, 20, 485, 76, 42, 28450, 1936, 9, 145, 30, 31, 259, 20, 485, 21, 1935, 1202, 293, 625, 31, 738, 19, 272,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 HTTP header to use for setting form field names (multipart/form-data) === I'm passing raw HTTP requests to an apache server (received by PHP). The request is of type multipart/form-data, i.e. the same MIME type used when submitting HTML forms. However, I'm not sure what HTTP header to use for setting the form field name (I'm just assuming it's a header defining this, don't know what else it could be) which then can be used in PHP to access the field in $_GET or $_FILES. The HTTP request might look something like this: Content-type: multipart/form-data;boundary=main_boundary --main_boundary Content-type: text/xml <?xml version='1.0'?> <content> Some content goes here </content> --main_boundary Content-type: multipart/mixed;boundary=sub_boundary --sub_boundary Content-type: application/octet-stream File A contents --sub_boundary Content-type: application/octet-stream File B contents --sub_boundary --main_boundary-- Thanks in advance! /Robert
0
[ 2, 98, 7775, 157, 106, 20, 275, 26, 2697, 505, 575, 1817, 13, 5, 21531, 3091, 118, 4190, 8, 18768, 6, 800, 3726, 3726, 31, 22, 79, 2848, 4333, 7775, 12279, 20, 40, 17140, 8128, 13, 5, 27700, 34, 13, 26120, 6, 9, 14, 3772, 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...
Can Resharper be set to warn if IDisposable not handled correctly? === Is there a setting in Resharper 4 (or even Visual Studio itself...) that forces a warning if I forget to wrap code in a `using` block, or ommit the proper Dispose call in a `finally` block?
0
[ 2, 92, 302, 23646, 106, 44, 309, 20, 9296, 100, 13, 19405, 12551, 579, 52, 9006, 12044, 60, 800, 3726, 3726, 25, 80, 21, 2697, 19, 302, 23646, 106, 268, 13, 5, 248, 166, 3458, 1120, 1145, 9, 9, 9, 6, 30, 879, 21, 3590, 100, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Alternative to Excel's RefEdit control that can be used outside of VBA === The RefEdit control that comes as part of VBA is a little buggy, but it's good for putting on a form when you want people to specify one or more ranges of cells (i.e. `Excel.Range` objects). The main problem is that you can only use the RefEdit control on a VBA UserForm ([Microsoft states this][1], and my tests confirm it too). I'm making an Excel add-in using **Delphi**, and I'm looking for an **alternative to the RefEdit control**. `Excel.Application.InputBox Type:=8` is one alternative way of selecting a range of cells, but it's not very user-friendly when you need people to select *multiple* ranges of cells on a single form. The best real alternative I have at the moment is to call a VBA form from my Delphi add-in, but that's far from ideal. So ideally I could do with a *drop-in replacement for RefEdit* - one that I can use on a Delphi form. If there is one, it's not easy to find (I've been searching pretty hard, and I've not been able to find a drop-in RefEdit replacement for Delphi, VB6, or .NET). Failing a drop-in replacement I might try cobbling together my own alternative, but I suspect it would be difficult if not impossible to make one that works as well as RefEdit. RefEdit lets you "select" cells without actually selecting them: it uses marching ants around the cells that you choose instead of highlighting them and changing the `Excel.Application.Selection`. I don't know of a way to do that by manipulating the Excel object model through VBA, Delphi, or whatever. Any tips, tricks, hacks, or, if I'm really lucky, pointers to drop-in RefEdit replacements would be most welcome. [1]: http://support.microsoft.com/kb/q281542/
0
[ 2, 2676, 20, 20700, 22, 18, 302, 16777, 242, 569, 30, 92, 44, 147, 719, 16, 566, 969, 800, 3726, 3726, 14, 302, 16777, 242, 569, 30, 1624, 28, 141, 16, 566, 969, 25, 21, 265, 6256, 2687, 15, 47, 32, 22, 18, 254, 26, 3873, 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...
Problem consuming ActiveMQ messages from Flex client === I am unable to consume messages sent via ActiveMQ from my Flex client. Sending messages via the Producer seems to work, I can also see that the Flex client is connected and subscribed via the properties on the Consumer object, however the "message" event on the Consumer is never fired so it seems like the messages are not received. When I look in the ActiveMQ console, I can see the number of subscribers, the number of messages sent and the number of messages received. The strange thing is that the received messages counter seems to increment and that I can also trace the log statements in the Tomcat console, but again no messages are received in the Flex client. Any ideas?
0
[ 2, 1448, 13, 17601, 1348, 79, 1251, 7561, 37, 14409, 6819, 800, 3726, 3726, 31, 589, 2343, 20, 16447, 7561, 795, 1197, 1348, 79, 1251, 37, 51, 14409, 6819, 9, 4907, 7561, 1197, 14, 1421, 2206, 20, 170, 15, 31, 92, 67, 196, 30, 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...
CustomErrors mode="Off" === I get an error everytime I upload my webapp to the provider. Because of the customErrors mode , all I see is the default "Runtime error" message, instructing me to turn off customErrors to view more about the error. Exasperated, I've set my web.config to looks like this: <?xml version="1.0"?> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> and still, all I get is the stupid remote errors page with no usefull info on it. What else can I do to turn customErrors OFF !?
0
[ 2, 5816, 29992, 18, 3740, 3726, 7, 1299, 7, 800, 3726, 3726, 31, 164, 40, 7019, 352, 891, 31, 71, 8294, 51, 2741, 7753, 20, 14, 11747, 9, 185, 16, 14, 5816, 29992, 18, 3740, 13, 15, 65, 31, 196, 25, 14, 12838, 13, 7, 3169, 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...
Setting the 'audience' in a SharePoint-NavigationNode ? === Hallo, i am using WSS 3.0 and i need to display certain entries of a website's navigation ("Quicklaunch") to specified groups only. According to [this blogpost][1] this can be done using properties of the SPNavigationNode - but it seems the solution to the problem is 'MOSS only'. Is there a way to do this in WSS? [1]: http://www.mtelligent.com/journal/2007/10/7/customizing-the-quick-launch-menu-with-spnavigationnode-spna.html
0
[ 2, 2697, 14, 13, 22, 7150, 49, 2940, 22, 19, 21, 1891, 3132, 8, 325, 13227, 857, 251, 546, 13, 60, 800, 3726, 3726, 554, 111, 15, 31, 589, 568, 619, 18, 18, 203, 9, 387, 17, 31, 376, 20, 3042, 1200, 11399, 16, 21, 2271, 22, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
TcpClient.Connected returns true yet client is not connected, what can I use instead? === In VB.net I'm using the TcpClient to retrieve a string of data. I'm constantly checking the .Connected property to verify if the client is connected but even if the client disconnects this still returns true. What can I use as a workaround for this? This is a stripped down version of my current code: Dim client as TcpClient = Nothing client = listener.AcceptTcpClient do while client.connected = true dim stream as networkStream = client.GetStream() dim bytes(1024) as byte dim numCharRead as integer = stream.Read(bytes,0,bytes.length) dim strRead as string = System.Text.Encoding.ASCII.GetString(bytes,0,i) loop I would have figured at least the GetStream() call would throw an exception if the client was disconnected but I've closed the other app and it still doesn't... Thanks.
0
[ 2, 13, 6668, 5779, 18513, 38, 9, 23520, 4815, 1151, 768, 6819, 25, 52, 2587, 15, 98, 92, 31, 275, 700, 60, 800, 3726, 3726, 19, 13, 20468, 9, 2328, 31, 22, 79, 568, 14, 13, 6668, 5779, 18513, 38, 20, 11917, 21, 3724, 16, 1054,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Best Way To Format An HTML Email? === I am implementing a comment control that allows a person to select comments and have them sent to specified departments. The email needs to be formatted in a specific way, and I was wondering what the best way to do this would be. Should I just hard code all of the style information into one massive method, or should I try and create a separate file and read it in, and then replace certain tags with the relevant information?
4
[ 2, 246, 161, 20, 2595, 40, 13, 15895, 8517, 60, 800, 3726, 3726, 31, 589, 17333, 21, 6484, 569, 30, 2965, 21, 840, 20, 5407, 7534, 17, 57, 105, 795, 20, 9931, 8627, 9, 14, 8517, 2274, 20, 44, 13, 29850, 19, 21, 1903, 161, 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...
Drawing a variable width line in openGL (No glLineWidth). === What is the best way to draw a variable width line without using glLineWidth? Just draw a rectangle? Various parallel lines? None of the above?
0
[ 2, 3533, 21, 7612, 9456, 293, 19, 368, 8430, 13, 5, 251, 13, 8430, 1143, 3976, 43, 96, 6, 9, 800, 3726, 3726, 98, 25, 14, 246, 161, 20, 2003, 21, 7612, 9456, 293, 366, 568, 13, 8430, 1143, 3976, 43, 96, 60, 114, 2003, 21, 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, 0, 0, 0, 0, 0, 0...
What are the best Perl modules? === What is the most important module you pull off of CPAN to add to a stock Perl install? One module only per response, please, and please try not to duplicate other people's answers so we can see the most popular rise to the top. If somebody else has already mentioned your favorite module, vote it up and add your second-favorite.
4
[ 2, 98, 50, 14, 246, 416, 255, 17113, 60, 800, 3726, 3726, 98, 25, 14, 127, 681, 12613, 42, 2201, 168, 16, 272, 3206, 20, 3547, 20, 21, 2070, 416, 255, 16146, 60, 53, 12613, 104, 416, 1627, 15, 2247, 15, 17, 2247, 1131, 52, 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...
Merge Modules for Crystal Reports 2008 - Needs a Keycode? === I've not been able to find any information on this, but is a keycode required to be embedded in the CR2008 merge modules for a .NET distribution? They used to require this (which had to be done using ORCA), but I've not found any information on this for CR2008.
0
[ 2, 12666, 17113, 26, 4282, 2813, 570, 13, 8, 2274, 21, 1246, 9375, 60, 800, 3726, 3726, 31, 22, 195, 52, 74, 777, 20, 477, 186, 676, 27, 48, 15, 47, 25, 21, 1246, 9375, 1390, 20, 44, 12138, 19, 14, 6186, 2753, 12666, 17113, 26...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 generate one texture from N textures? === Let's say I have N pictures of an object, taken from N know positions. I also have the 3D geometry of the object, and I know all the characteristics of both the camera and the lens. I want to generate a unique giant picture from the N pictures I have, so that it can be mapped/projected onto the object surface. Does anybody knows where to start? Articles, references, books?
0
[ 2, 184, 20, 7920, 53, 12714, 37, 13, 103, 12714, 18, 60, 800, 3726, 3726, 408, 22, 18, 395, 31, 57, 13, 103, 3104, 16, 40, 3095, 15, 658, 37, 13, 103, 143, 3062, 9, 31, 67, 57, 14, 203, 43, 11689, 16, 14, 3095, 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...
How do you access an authenticated Google App Engine service from a (non-web) python client? === I have a Google App Engine app - http://mylovelyapp.appspot.com/ It has a page - mylovelypage For the moment, the page just does `self.response.out.write('OK')` If I run the following Python at my computer: import urllib2 f = urllib2.urlopen("http://mylovelyapp.appspot.com/mylovelypage") s = f.read() print s f.close() it prints "OK" the problem is if I add `login:required` to this page in the app's yaml then this prints out the HTML of the Google Accounts login page I've tried "normal" authentication approaches. e.g. passman = urllib2.HTTPPasswordMgrWithDefaultRealm() auth_handler = urllib2.HTTPBasicAuthHandler() auth_handler.add_password(None, uri='http://mylovelyapp.appspot.com/mylovelypage', user='billy.bob@gmail.com', passwd='billybobspasswd') opener = urllib2.build_opener(auth_handler) urllib2.install_opener(opener) But it makes no difference - I still get the login page's HTML back. I've tried [Google's ClientLogin auth API][1], but I can't get it to work. h = httplib2.Http() auth_uri = 'https://www.google.com/accounts/ClientLogin' headers = {'Content-Type': 'application/x-www-form-urlencoded'} myrequest = "Email=%s&Passwd=%s&service=ah&source=DALELANE-0.0" % ("billy.bob@gmail.com", "billybobspassword") response, content = h.request(auth_uri, 'POST', body=myrequest, headers=headers) if response['status'] == '200': authtok = re.search('Auth=(\S*)', content).group(1) headers = {} headers['Authorization'] = 'GoogleLogin auth=%s' % authtok.strip() headers['Content-Length'] = '0' response, content = h.request("http://mylovelyapp.appspot.com/mylovelypage", 'POST', body="", headers=headers) while response['status'] == "302": response, content = h.request(response['location'], 'POST', body="", headers=headers) print content I do seem to be able to get some token correctly, but attempts to use it in the header when I call 'mylovelypage' still just return me the login page's HTML. :-( Can anyone help, please? Could I use the [GData client library][2] to do this sort of thing? From what I've read, I think it should be able to access App Engine apps, but I haven't been any more successful at getting the authentication working for App Engine stuff there either Any pointers to samples, articles, or even just keywords I should be searching for to get me started, would be very much appreciated. Thanks! [1]: http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html [2]: http://code.google.com/p/gdata-python-client/
0
[ 2, 184, 107, 42, 1381, 40, 14351, 1669, 8144, 4865, 1406, 365, 37, 21, 13, 5, 3951, 8, 14113, 6, 20059, 6819, 60, 800, 3726, 3726, 31, 57, 21, 8144, 4865, 1406, 4865, 13, 8, 7775, 6903, 915, 4583, 102, 7753, 9, 7753, 18, 4296, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Multiple Monitors with Visual Studio 2008 === I've got 2 monitors, and most of the time I've got some reference material open on one screen, and Visual Studio on the other. To really get in the zone, though, I need my code to be the only thing I see. Does anyone know if it's possible to have multiple code windows in Visual Studio? So far the best I can do is put debugger output and the solution explorer on my left monitor, and the rest of VS on the right. I would love to have code on both windows, however. Alex
0
[ 2, 1886, 18521, 29, 3458, 1120, 570, 800, 3726, 3726, 31, 22, 195, 330, 172, 18521, 15, 17, 127, 16, 14, 85, 31, 22, 195, 330, 109, 2801, 1492, 368, 27, 53, 2324, 15, 17, 3458, 1120, 27, 14, 89, 9, 20, 510, 164, 19, 14, 2464...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Aborting a merge in git === I've done 'git pull', and received a merge conflict. I know that the other version of the file is good, and that mine is bad (all my changes should be abandoned). How do I do this? unmerged: _widget.html.erb You are in the middle of a conflicted merge.
0
[ 2, 21557, 68, 21, 12666, 19, 13, 10404, 800, 3726, 3726, 31, 22, 195, 677, 13, 22, 10404, 2201, 22, 15, 17, 420, 21, 12666, 2930, 9, 31, 143, 30, 14, 89, 615, 16, 14, 3893, 25, 254, 15, 17, 30, 1114, 25, 896, 13, 5, 1233, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 any way to run Python on Android ? === I like the Android platform. Actually, with some friends, we even participate to the ADC with the Spoxt project. But Java is not my favourite language at all. We are working on a S60 version and this platform has a nice Python API. Of course there is nothing official about Python on Android, but since Jython exists, does anybody know a way to let the snake and the robot work together ?
0
[ 2, 25, 80, 186, 161, 20, 485, 20059, 27, 13005, 13, 60, 800, 3726, 3726, 31, 101, 14, 13005, 2452, 9, 1121, 15, 29, 109, 954, 15, 95, 166, 3705, 20, 14, 21, 7201, 29, 14, 3782, 6326, 38, 669, 9, 47, 8247, 25, 52, 51, 7740, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
PHP: return a part of an if () { } === Let's say I have this code: if (md5($_POST[foo['bar']]) == $somemd5) { doSomethingWith(md5($_POST[foo['bar']]); } I could shorten that down by doing: $value = md5($_POST[foo['bar']]; if ($value) == $somemd5) { doSomethingWith($value); } But is there any pre-set variable that contains the first or second condition of the current if? Like for instance: if (md5($_POST[foo['bar']]) == $somemd5) { doSomethingWith($if1); } May be a unnecessary way of doing it, but I'm just wondering.
0
[ 2, 13, 26120, 45, 788, 21, 141, 16, 40, 100, 13, 5, 6, 13, 1, 13, 1, 800, 3726, 3726, 408, 22, 18, 395, 31, 57, 48, 1797, 45, 100, 13, 5, 79, 43, 264, 5, 4403, 1, 6962, 2558, 4120, 111, 2558, 22, 1850, 22, 500, 500, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
The action or event has been blocked by Disabled Mode === I am using Microsoft Access 2007 to move and massage some data between two SQL Servers. Yesterday everything was working correctly, I was able to run queries, update data, and delete data. Today I opened up the Access database to finish my data migration and am now receiving the following message when I try to run some update queries: > The action or event has been blocked > by Disabled Mode. Any ideas what this is talking about?
0
[ 2, 14, 1028, 54, 807, 63, 74, 8388, 34, 10154, 3740, 800, 3726, 3726, 31, 589, 568, 7099, 1381, 624, 20, 780, 17, 19464, 109, 1054, 128, 81, 4444, 255, 17595, 9, 7124, 796, 23, 638, 12044, 15, 31, 23, 777, 20, 485, 9386, 2829, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
The best way to start working on other people's code === I'm looking into adding some features to an open source packages and I would like to know your advices, experiences at "getting into" other people's code. I obviously already did the following, reading the most relevant part of the code, step debugging, having a good knowledge of the data* processed , generated documentation & graph through doxygen. *Data, here lies part of the problem with the huge project I know that there isn't an ultimate way/tricks and working on it for a while is probably the best way to have a good understanding of the code. But still, I'm sure some of you have some tips to share on that.
0
[ 2, 14, 246, 161, 20, 799, 638, 27, 89, 148, 22, 18, 1797, 800, 3726, 3726, 31, 22, 79, 699, 77, 4721, 109, 967, 20, 40, 368, 1267, 16875, 17, 31, 83, 101, 20, 143, 154, 4978, 18, 15, 5513, 35, 13, 7, 27380, 77, 7, 89, 148,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Recursing the file system with Powershell === Anyone happen to have a sample script for recursing a given directory in a filesystem with Powershell? Ultimately what I'm wanting to do is create a script that will generate NSIS file lists for me given a directory. Something very similar to what was done [here][1] with a BASH script. [1]: http://blogs.oracle.com/duffblog/2006/12/dynamic_file_list_with_nsis.html
0
[ 2, 26604, 18, 68, 14, 3893, 329, 29, 414, 15984, 800, 3726, 3726, 1276, 2384, 20, 57, 21, 5717, 3884, 26, 26604, 18, 68, 21, 504, 16755, 19, 21, 3893, 10724, 29, 414, 15984, 60, 3308, 98, 31, 22, 79, 4638, 20, 107, 25, 1600, 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...
which continuous integration framework for Perl === What are the best continuous integration frameworks/projects for Perl and why?
0
[ 2, 56, 6357, 8078, 6596, 26, 416, 255, 800, 3726, 3726, 98, 50, 14, 246, 6357, 8078, 6596, 18, 118, 21011, 18, 26, 416, 255, 17, 483, 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...
[ 1, 1, 1, 1, 1, 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...
Visual Studio 2008, Multiple Monitors, "find" window placement problem === (another post here reminded me of this annoyance! this is not a dup!) I use VS2008 with multiple monitors. I have VS open on one and the app I'm debugging, reference pages, etc.. on the other. The problem is when I open a find window (Ctrl-F or click on the "Find in Files" icon) the window opens smack-dab in the middle of the two screens: half on one, half on the other. Every time. It's fairly useless in that position, so then I have to drag it somewhere else. How do I convince Visual Studio to put the window on one screen, or the other? I don't care which, just not split across both.
0
[ 2, 3458, 1120, 570, 15, 1886, 18521, 15, 13, 7, 19811, 7, 1463, 10774, 1448, 800, 3726, 3726, 13, 5, 14945, 678, 235, 6041, 55, 16, 48, 20106, 187, 48, 25, 52, 21, 17938, 187, 6, 31, 275, 4611, 2753, 29, 1886, 18521, 9, 31, 57...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Check if application was started from within Visual Studio === I am working on an application that installs a system wide keyboard hook. I do not want to install this hook when I am running a debug build from inside the visual studio (or else it would hang the studio and eventually the system), and I can avoid this by checking if the DEBUG symbol is defined. However, when I debug the _release_ version of the application, is there a way to detect that it has been started from inside visual studio to avoid the same problem? It is very annoying to have to restart the studio/the computer, just because I had been working on the release build, and want to fix some bugs using the debugger having forgotten to switch back to the debug build. Currently I use something like this to check for this scenario: System.Diagnostics.Process currentProcess = System.Diagnostics.Process.GetCurrentProcess(); string moduleName = currentProcess.MainModule.ModuleName; bool launchedFromStudio = moduleName.Contains(".vshost"); I would call this the "brute force way", which works in my setting, but I would like to know whether there's another (better) way of detecting this scenario.
0
[ 2, 2631, 100, 3010, 23, 373, 37, 363, 3458, 1120, 800, 3726, 3726, 31, 589, 638, 27, 40, 3010, 30, 16146, 18, 21, 329, 1051, 8896, 5559, 9, 31, 107, 52, 259, 20, 16146, 48, 5559, 76, 31, 589, 946, 21, 121, 16254, 1895, 37, 572...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 more flexible tool than GNU indent === When I run indent with various options I want against my source, it does what I want but also messes with the placement of *s in pointer types: -int send_pkt(tpkt_t* pkt, void* opt_data); -void dump(tpkt_t* bp); +int send_pkt(tpkt_t * pkt, void *opt_data); +void dump(tpkt * bp); I know my placement of *s next to the type not the variable is unconventional but how can I get indent to just leave them alone? Or is there another tool that will do what I want? I've looked in the man page, the info page, and visited a half a dozen pages that Google suggested and I can't find an option to do this.
0
[ 2, 699, 26, 21, 91, 13568, 5607, 119, 26092, 19, 817, 38, 800, 3726, 3726, 76, 31, 485, 19, 817, 38, 29, 617, 6368, 31, 259, 149, 51, 1267, 15, 32, 630, 98, 31, 259, 47, 67, 3957, 160, 29, 14, 10774, 16, 1637, 18, 19, 454, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
XHTML compliance pointless? === I'm building a site right now, so far I've painfully forced everything to be compliant and it looks pretty much the same across browsers. However, I'm starting to implement some third party/free javascripts which do things like add attributes (eg. order=2). I could work around this but it's a pain, and I'm starting to lose my principals of making sure everything is valid. Really, is there any point to working around something like this? I got the HTMLValidator plugin for firefox, and looking at most major sites (including this one, google, etc.), they aren't valid XHTML or HTML.
0
[ 2, 993, 15895, 14969, 454, 923, 60, 800, 3726, 3726, 31, 22, 79, 353, 21, 689, 193, 130, 15, 86, 463, 31, 22, 195, 19840, 1292, 796, 20, 44, 13, 25509, 17, 32, 1879, 1772, 212, 14, 205, 464, 16495, 18, 9, 207, 15, 31, 22, 79...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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's the best way of using a pair (triple, etc) of values as one value in C#? === That is, I'd like to have a tuple of values. The use case on my mind: Dictionary<Pair<string, int>, object> or Dictionary<Triple<string, int, int>, object> Are there built-in types like Pair or Triple? Or what's the best way of implementing it?
0
[ 2, 98, 22, 18, 14, 246, 161, 16, 568, 21, 2146, 13, 5, 17851, 413, 15, 2722, 6, 16, 4070, 28, 53, 1923, 19, 272, 5910, 60, 800, 3726, 3726, 30, 25, 15, 31, 22, 43, 101, 20, 57, 21, 2289, 5106, 16, 4070, 9, 14, 275, 610, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 Oracle RDBMS more stable, secure, robust, etc. than MySQL RDBMS? === I've worked on a variety of systems as a programmer, some with Oracle, some with MySQL. I keep hearing people say that Oracle is more stable, more robust, and more secure. Is this the case? If so in what ways and why? As my history professor used to say, compare and contrast... For the purposes of this discussion, consider a small-medium sized production DB, perhaps 500,000 records or so.
0
[ 2, 25, 15759, 13, 897, 13178, 18, 91, 4521, 15, 4315, 15, 15313, 15, 2722, 9, 119, 51, 18, 22402, 13, 897, 13178, 18, 60, 800, 3726, 3726, 31, 22, 195, 577, 27, 21, 1747, 16, 1242, 28, 21, 17968, 15, 109, 29, 15759, 15, 109, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
In eclipse, how to display inherited members in Outline view? === Typing Ctrl+O twice in editor when a java type is selected pops-up an outline context dialog that displays the members && inherited members. How can I have this in the main outline view?
0
[ 2, 19, 11652, 15, 184, 20, 3042, 7179, 443, 19, 11160, 1418, 60, 800, 3726, 3726, 25266, 13, 4812, 6362, 2430, 111, 2088, 19, 1835, 76, 21, 8247, 1001, 25, 1704, 1675, 18, 8, 576, 40, 11160, 4141, 28223, 30, 9412, 14, 443, 279, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0...
PHP: GET-data automatically being declared as variables === Take this code: <?php if (isset($_POST['action']) && !empty($_POST['action'])) { $action = $_POST['action']; } if ($action) { echo $action; } else { echo 'No variable'; } ?> And then access the file with ?action=test Is there any way of preventing $action from automatically being declared by the GET? Other than of course adding && !isset($_GET['action']) Why would I want the variable to be declared for me?
0
[ 2, 13, 26120, 45, 164, 8, 18768, 7499, 142, 2482, 28, 12157, 800, 3726, 3726, 247, 48, 1797, 45, 13, 1, 60, 26120, 100, 13, 5, 11001, 38, 5, 4403, 1, 6962, 2558, 22, 8645, 22, 500, 6, 279, 1569, 13, 187, 26542, 5, 4403, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Rails like Database Migrations? === Is there any easy to install/use (on unix) database migration tools like Rails Migrations? I really like the idea, but installing ruby/rails purely to manage my database migrations seems overkill.
0
[ 2, 2240, 18, 101, 6018, 8443, 18, 60, 800, 3726, 3726, 25, 80, 186, 2010, 20, 16146, 118, 3699, 13, 5, 218, 22540, 6, 6018, 8443, 4672, 101, 2240, 18, 8443, 18, 60, 31, 510, 101, 14, 882, 15, 47, 25429, 10811, 118, 7301, 18, 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, 0, 0, 0, 0, 0, 0, 0...
Page transitions in Safari? === How can I add Page transitions effects like IE in Safari?
0
[ 2, 2478, 4513, 18, 19, 25055, 60, 800, 3726, 3726, 184, 92, 31, 3547, 2478, 4513, 18, 2292, 101, 13, 660, 19, 25055, 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...
Why do I get "java.net.BindException: Only one usage of each socket address" if netstat says something else? === - I start up my application which uses a Jetty server, using port 9000. - I then shut down my application with Ctrl-C - I check with "netstat -a" and see that the port 9000 is no longer being used. - I restart my application and get: > [ERROR,9/19 15:31:08] java.net.BindException: Only one usage of each socket address (protocol/network address/port) is normally permitted > [TRACE,9/19 15:31:08] java.net.BindException: Only one usage of each socket address (protocol/network address/port) is normally permitted > [TRACE,9/19 15:31:08] at java.net.PlainSocketImpl.convertSocketExceptionToIOException(PlainSocketImpl.java:75) > > [TRACE,9/19 15:31:08] at sun.nio.ch.Net.bind(Net.java:101) > [TRACE,9/19 15:31:08] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) > [TRACE,9/19 15:31:08] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77) > [TRACE,9/19 15:31:08] at org.mortbay.jetty.nio.BlockingChannelConnector.open(BlockingChannelConnector.java:73) > > [TRACE,9/19 15:31:08] at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:285) > [TRACE,9/19 15:31:08] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) > [TRACE,9/19 15:31:08] at org.mortbay.jetty.Server.doStart(Server.java:233) > [TRACE,9/19 15:31:08] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) > [TRACE,9/19 15:31:08] at ... Is this a Java bug? Can I avoid it somehow before starting the Jetty server?
0
[ 2, 483, 107, 31, 164, 13, 7, 1004, 1385, 9, 2328, 9, 4772, 43, 10066, 872, 45, 104, 53, 7514, 16, 206, 18482, 3218, 7, 100, 4275, 10631, 898, 301, 962, 60, 800, 3726, 3726, 13, 8, 31, 799, 71, 51, 3010, 56, 2027, 21, 17341, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 combine requests for multiple javascript files into one http request? === This concept is a new one for me -- I first came across it at the [YUI dependency configurator](http://developer.yahoo.com/yui/articles/hosting/#configure). Basically, instead of having multiple requests for many files, the files are chained into one http request to cut down on page load time. Anyone know how to implement this on a LAMP stack? (I saw a similar question was asked already, but it [seems to be ASP specific](http://stackoverflow.com/questions/47937/combining-and-caching-multiple-javascript-files-in-aspnet). Thanks!
0
[ 2, 184, 20, 12287, 12279, 26, 1886, 8247, 8741, 6488, 77, 53, 7775, 3772, 60, 800, 3726, 3726, 48, 2420, 25, 21, 78, 53, 26, 55, 13, 8, 8, 31, 64, 281, 464, 32, 35, 14, 636, 4703, 49, 26835, 1065, 13549, 3457, 500, 5, 21127, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
ASP.NET MVC Preview 5 & Resharper weirdness === I've just created my first Preview 5 error and it doesn't seem to place nice with Resharper. All the C# in the Views are coming up with errors, things like <%= Html.Password("currentPassword") %> has the "currentPassword" highlighted with the following error: Argument type "System.String" is not assignable parameter type "string". IList<string> errors = ViewData["errors"] as IList<string>; has the IList<string> highlighted as "Can not resole symbol 'string'" Has anyone seen this?
0
[ 2, 28, 306, 9, 2328, 307, 8990, 16121, 331, 279, 302, 23646, 106, 5455, 720, 800, 3726, 3726, 31, 22, 195, 114, 679, 51, 64, 16121, 331, 7019, 17, 32, 1437, 22, 38, 2260, 20, 209, 2210, 29, 302, 23646, 106, 9, 65, 14, 272, 591...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Building effective external DSLs === What tools are there for me to build a real, honest to goodness external DSL (and no, I'm not talking about abusing Ruby, Boo, XML or another existing language or syntax, I mean a REAL external DSL -- my own language for my own purposes. I know that there are a few language workbenches being developed and I've heard about things like "Irony" for .NET. And, of course, there's ANTLR, Lex/Yaac, etc but I'm afraid those are too complicated for what I'm trying to do. Please talk about a DSL builder tool you may have used or heard about and your impressions on how it helps and what its downsides are.
0
[ 2, 353, 3140, 4886, 13, 43, 18, 7532, 800, 3726, 3726, 98, 4672, 50, 80, 26, 55, 20, 1895, 21, 683, 15, 6964, 20, 18509, 4886, 13, 43, 18, 255, 13, 5, 290, 90, 15, 31, 22, 79, 52, 1582, 88, 21, 3822, 68, 10811, 15, 9827, 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...
How is the user id image generated on SO? === I am a little curious about the cute little kaleidoscopic images associated with each user on this site. How are those generated? Possibilities are: 1. A list of images is already there in some folder and it is chosen randomly. 2. The image is generated whenever a user registers. In any case, I am more interested in what kind of algorithm is used to generate such images.
0
[ 2, 184, 25, 14, 4155, 4924, 1961, 6756, 27, 86, 60, 800, 3726, 3726, 31, 589, 21, 265, 7686, 88, 14, 10901, 265, 21818, 1340, 22975, 3502, 1598, 29, 206, 4155, 27, 48, 689, 9, 184, 50, 273, 6756, 60, 13086, 50, 45, 137, 9, 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...
Validate XML using a custom DTD in PHP === Is there a way (without installing any libraries) of validating XML using a custom DTD in PHP?
0
[ 2, 7394, 1373, 23504, 568, 21, 5816, 13, 43, 38, 43, 19, 13, 26120, 800, 3726, 3726, 25, 80, 21, 161, 13, 5, 14506, 25429, 186, 8649, 6, 16, 7394, 1880, 23504, 568, 21, 5816, 13, 43, 38, 43, 19, 13, 26120, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
VS vstest debugging error === Hi this is driving me insane. I've recently installed VS2008. The project I'm working on uses vstest and I have a maddening issue. When I choose to run/debug my tests/a test I frequently get the following error (accompanied by an exclamation mark against the test - test error): Warning: Test Run deployment issue: The assembly or module 'Cassini' directly or indirectly referenced by the test container '<testdll>' was not found. Failed to queue test run 'pendi@UK00329 2008-09-19 14:37:39': Unable to start program 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vstesthost.exe'. A Visual Studio DLL, coloader80.dll, is not correctly installed. Please repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel. If the problem persists, you can manually register coloader80.dll from the command prompt with 'regsvr32 "%CommonProgramFiles%\Microsoft Shared\VS7Debug\coloader80.dll"'. Now it's an ASP.Net site and has some web services etc. All rather odd as resgistering the dll NEVER works. Sometimes a clean + run works. Sometimes a Run (rather than a debug) sometimes a Debug (rather than the prior run). Maddening. Google tells me to register the following dlls: This works, again sporadically. I've also tried the VS Repair install option. Please let me know if someone has cracked this / knows the problem Thanks ian
0
[ 2, 4611, 4611, 10543, 121, 16254, 2762, 7019, 800, 3726, 3726, 4148, 48, 25, 2891, 55, 9405, 9, 31, 22, 195, 1989, 4066, 4611, 2753, 9, 14, 669, 31, 22, 79, 638, 27, 2027, 4611, 10543, 17, 31, 57, 21, 22171, 68, 1513, 9, 76, 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...
WPF - find actual top and left of an image after rotating it === I am using WPF and I have an image of an 8.5" * 11" piece of paper on a Canvas. I am then rotating the image using a RotateTransform, with the axis being in the middle of the page (that is, RotateTransformOrigin="0.5,0.5"). How can I find the actual location on the canvas of the corners of the image?
0
[ 2, 619, 7721, 13, 8, 477, 3463, 371, 17, 225, 16, 40, 1961, 75, 16164, 32, 800, 3726, 3726, 31, 589, 568, 619, 7721, 17, 31, 57, 40, 1961, 16, 40, 469, 9, 264, 7, 1637, 547, 7, 1855, 16, 1397, 27, 21, 9696, 9, 31, 589, 94,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Code formatting: is lining up similar lines ok? === I recently discovered that our company has a set of coding guidelines (hidden away in a document management system where no one can find it). It generally seems pretty sensible, and keeps away from the usual religious wars about where to put '{'s and whether to use hard tabs. However, it does suggest that "lines SHOULD NOT contain embedded multiple spaces". By which it means don't do this sort of thing: foo = 1; foobar = 2; bar = 3; Or this: if ( test_one ) return 1; else if ( longer_test ) return 2; else if ( shorter ) return 3; else return 4; Or this: thing foo_table[] = { { "aaaaa", 0 }, { "aa", 1 }, // ... } The justification for this is that changes to one line often require every line to be edited. That makes it more effort to change, and harder to understand diffs. I'm torn. On the one hand, lining up like this can make repetitive code much easier to read. On the other hand, it does make diffs harder to read. What's your view on this?
0
[ 2, 1797, 2595, 1203, 45, 25, 13, 8930, 71, 835, 1560, 5854, 60, 800, 3726, 3726, 31, 1989, 1848, 30, 318, 237, 63, 21, 309, 16, 13, 15458, 12629, 13, 5, 1822, 43, 817, 229, 19, 21, 4492, 1097, 329, 113, 90, 53, 92, 477, 32, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 tool to generate random CSV data === I've been Googling fpr a product, but have yet to find something that I like for generating random/semi-random Data. Ideally, I'd be able to use some of my own input lists, combined with email generation, phone number, etc... to be able to generate test CSV files with multiple records. Also, open source is best. What tools do you guys use for this?
0
[ 2, 699, 26, 5607, 20, 7920, 5477, 272, 18, 710, 1054, 800, 3726, 3726, 31, 22, 195, 74, 162, 5598, 802, 398, 4899, 21, 2374, 15, 47, 57, 768, 20, 477, 301, 30, 31, 101, 26, 13500, 5477, 118, 18, 7411, 8, 2195, 5555, 1054, 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 you resolve Linked server references in SQL Database project in VS? === In a Visual Studio SQL Server Database project, how can you resolve the errors associated with linked server references within the project?
0
[ 2, 184, 107, 42, 9854, 4727, 8128, 7231, 19, 4444, 255, 6018, 669, 19, 4611, 60, 800, 3726, 3726, 19, 21, 3458, 1120, 4444, 255, 8128, 6018, 669, 15, 184, 92, 42, 9854, 14, 11908, 1598, 29, 4727, 8128, 7231, 363, 14, 669, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
.Net Assembly Hell === I am Trying to develop a .Net Web Project using NHibernate and Spring.net. But I'm stuck. Spring.net seems to depend on different versions of the NHibernate assemblies (maybe it needs 1.2.1.4000 and my NHibernate version is 1.2.0.4000). I solved some problems with the "bindingRedirect" TAG, but now even that stopped working. My Question is: Is there any way to do this in a simple way to resolve this inter-library relations?
2
[ 2, 13, 9, 2328, 1475, 1094, 800, 3726, 3726, 31, 589, 749, 20, 2803, 21, 13, 9, 2328, 2741, 669, 568, 12109, 15191, 8820, 17, 1573, 9, 2328, 9, 47, 31, 22, 79, 4549, 9, 1573, 9, 2328, 2206, 20, 12547, 27, 421, 3281, 16, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Single most important thing to impart when teaching TDD === I'm collaborating with a group of professionals to put on an event to help teach the practice of TDD to people who are interested, but have no experience (novices). We're trying to come up with labs, workshops, etc and I'm trying to think of the single, biggest thing that we need to impart upon these individuals to help them be successful in practicing TDD going forward. What would you say we should make our priority for learning? Which aspect of teaching TDD is *the* most important. If you have to do two things, that's OK, I won't hold you to the SINGLE part :)
0
[ 2, 345, 127, 681, 584, 20, 24314, 76, 2540, 15596, 43, 800, 3726, 3726, 31, 22, 79, 22768, 29, 21, 214, 16, 9991, 20, 442, 27, 40, 807, 20, 448, 5348, 14, 1345, 16, 15596, 43, 20, 148, 72, 50, 3158, 15, 47, 57, 90, 1496, 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...
What are the other uses of the "make" command ? === A sysadmin teacher told me one day that I should learn to use "make" because I could use it for a lot of other things that just triggering complilations. I never got the chance to talk longer about it. Do you have any good example ? As a bonus, isn't it this tool deprecated, and what are modern alternatives (for the compilation purpose and others) ?
0
[ 2, 98, 50, 14, 89, 2027, 16, 14, 13, 7, 11115, 7, 1202, 13, 60, 800, 3726, 3726, 21, 10315, 18, 1283, 2160, 2197, 470, 55, 53, 208, 30, 31, 378, 2484, 20, 275, 13, 7, 11115, 7, 185, 31, 110, 275, 32, 26, 21, 865, 16, 89, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Intefacing EJB - XML using JAXB interface. === I was trying to add the xml schema to an existing EJB project. JAXB is used to bind the XML-Schema to java class. As we are going to use the search engine to crawl thru DTO when EJB is in session. I could not find any direct approach as to map entity class file to XML-Schema. The only way we could achieve so far is to create the Web Services, generate the WSDL which generates xml-schema(XSD) and then parsing the xsd file thru jaxb(xjc command) to create java class files. Now using mapping-binding.xml file we can map both xml and java class file. But now again the issue is to how map this to entity class. \\ This is what we want to achieve :: XML Data Object with XML Schema, (This is already present in the JAXB specification). - Entity Bean then Extends or has an interface to this JAXB object. - All Persistence functions are managed by the Entity Bean... - The Entity Bean would then contain the XML Marshalling and UnMarshalling features found in JAXB.. - A Value Object could be retrieved in binary or XML form from the Entity Bean Object. - A JSP could easily extract the XML Schema and XML Data from the Value Object and perform operations on it such as XSL transformations. My argument is that the Entity Beans have no standard way for interfacing to JAXB objects. Castor may be the solution, but then again we have to implement web services or using castor JDO’s. I found xstream to be pretty useful as it uses a converter class in which you can call the entity bean class objects and generate a xml file. but i was not preferring to use another class but incorporate the functions in existing bean class. Can you help me in this regard? Thanks in advance -Sid
0
[ 2, 19, 591, 17231, 13, 10022, 220, 13, 8, 23504, 568, 11712, 220, 6573, 9, 800, 3726, 3726, 31, 23, 749, 20, 3547, 14, 23504, 23874, 20, 40, 3149, 13, 10022, 220, 669, 9, 11712, 220, 25, 147, 20, 10193, 14, 23504, 8, 7526, 540, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 start an Java applet with more memory? === The default 64 MB max heap memory can be small for a large Java application. Are there any applet parameter to increment this for a signed applet?
0
[ 2, 184, 92, 31, 799, 40, 8247, 4037, 38, 29, 91, 1912, 60, 800, 3726, 3726, 14, 12838, 4384, 14023, 2049, 15414, 1912, 92, 44, 284, 26, 21, 370, 8247, 3010, 9, 50, 80, 186, 4037, 38, 18906, 20, 13, 28461, 48, 26, 21, 908, 4037...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...