unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Can't view full-text catalogs in SQL Server 2008 === I'm using SQL Server 2008 with Advanced Services on my Vista Home Premium. I'd installed Full-text searching during installation, The SQL Full-text Filter Daemon Launcher is running thorough an admin user account. When I go to a database through the SQL Server Management Studio, I don't see the "Storage" option under the database, so I can't create/edit my Full-text catalogs. I was able to create a Full-text catalog through T-SQL, and can run Full-text searches on the columns I've selected in the database. I'm just not able to see the "Storage" option. Any idea what's missing?
0
[ 2, 92, 22, 38, 1418, 503, 8, 11969, 10594, 18, 19, 4444, 255, 8128, 570, 800, 3726, 3726, 31, 22, 79, 568, 4444, 255, 8128, 570, 29, 2255, 687, 27, 51, 13520, 213, 12934, 9, 31, 22, 43, 4066, 503, 8, 11969, 5792, 112, 7758, 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...
How to register file types/extensions with a WiX installer? === I didn't find an explicit answer to this question in the WiX Documentation (or Google, for that matter). Of course I could just write the appropriate registry keys in HKCR, but it makes me feel dirty and I'd expect this to be a standard task which should have a nice default solution. For bonus points, I'd like to know how to make it "safe", i.e. don't overwrite existing registrations for the file type and remove the registration on uninstall only if it has been registered during installation and is unchanged.
0
[ 2, 184, 20, 2243, 3893, 2551, 118, 1706, 25573, 18, 29, 21, 4807, 396, 16146, 106, 60, 800, 3726, 3726, 31, 223, 22, 38, 477, 40, 14990, 1623, 20, 48, 1301, 19, 14, 4807, 396, 13945, 13, 5, 248, 8144, 15, 26, 30, 1161, 6, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can Regex be used for this particular string manipulation? === I need to replace character (say) **x** with character (say) **P** in a string, but only if it is contained in a quoted substring. An example makes it clearer: axbx'cxdxe'fxgh'ixj'k -> axbx'cPdPe'fxgh'iPj'k Let's assume, for the sake of simplicity, that quotes always come in pairs. The obvious way is to just process the string one character at a time (a simple state machine approach); however, I'm wondering if regular expressions can be used to do all the processing in one go. My target language is C#, but I guess my question pertains to any language having builtin or library support for regular expressions.
0
[ 2, 92, 7953, 1706, 44, 147, 26, 48, 1498, 3724, 17561, 60, 800, 3726, 3726, 31, 376, 20, 3934, 925, 13, 5, 6366, 6, 13, 1409, 396, 1409, 29, 925, 13, 5, 6366, 6, 13, 1409, 306, 1409, 19, 21, 3724, 15, 47, 104, 100, 32, 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...
How to convert HTML to XHTML? === I need to convert HTML documents into valid XML, preferably XHTML. What's the best way to do this? Does anybody know a toolkit/library/sample/...whatever that helps me to get that task done?
0
[ 2, 184, 20, 8406, 13, 15895, 20, 993, 15895, 60, 800, 3726, 3726, 31, 376, 20, 8406, 13, 15895, 4374, 77, 7394, 23504, 15, 6369, 4801, 993, 15895, 9, 98, 22, 18, 14, 246, 161, 20, 107, 48, 60, 630, 11181, 143, 21, 5607, 13703, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
vb fft - stuck understanding relationship of results to frequency === Trying to understand an fft routine I'm using (stealing)(recycling) Input is an array of 512 data points which are a sample waveform. Test data is generated into this array. fft transforms this array into frequency domain. Trying to understand relationship between freq, period, sample rate and position in fft array. I'll illustrate with examples: ======================================== Sample rate is 1000 samples/s. Generate a set of samples at 10Hz. Input array has peak values at arr(28), arr(128), arr(228) ... period = 100 sample points peak value in fft array is at index 6 (excluding a huge value at 0) ======================================== Sample rate is 8000 samples/s Generate set of samples at 440Hz Input array peak values include arr(7), arr(25), arr(43), arr(61) ... period = 18 sample points peak value in fft array is at index 29 (excluding a huge value at 0) ======================================== How do I relate the index of the peak in the fft array to frequency ?
0
[ 2, 13, 20468, 13, 2460, 38, 13, 8, 4549, 3260, 1429, 16, 1736, 20, 5328, 800, 3726, 3726, 749, 20, 1369, 40, 13, 2460, 38, 8275, 31, 22, 79, 568, 13, 5, 18, 12265, 802, 6, 5, 99, 10767, 68, 6, 6367, 25, 40, 7718, 16, 331, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 Class Database Connection Scope Issue === For a new project that I'm doing in PHP I've created an SQLMethods class to connect to the database and perform queries. Tonight was the first night that I actually got to test it (I wrote it a week or so ago and forgot about it) and an unexpected error occured: When it was calling my ExecuteQuery() function, it wouldn't use the database I selected in the constructor. The constructor: public function SQLMethods() { $SQLConnection = mysql_connect($SQLDBAddress, $SQLUserName, $SQLPassword); if (!$SQLConnection) { die('Could not connect: ' . mysql_error()); } mysql_select_db($SQLDB, $SQLConnection); } The function in question: public function ExecuteQuery($Query) { mysql_query($Query, $SQLConnection) or die('Could not perform query: ' . mysql_error()); } Does anyone see what the issue might be? Does the connection close after the constructor completes?
0
[ 2, 13, 26120, 718, 6018, 2760, 9914, 1513, 800, 3726, 3726, 26, 21, 78, 669, 30, 31, 22, 79, 845, 19, 13, 26120, 31, 22, 195, 679, 40, 4444, 10363, 6268, 5648, 18, 718, 20, 6379, 20, 14, 6018, 17, 2985, 9386, 2829, 9, 2251, 23...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Compress Script Resources of ASP.Net === How do you compress Script Resources of ASP.Net? I saw a file there reached up to 255 KB! I tried finding solutions, but so far it only talks about scripting dynamic and static files. I checked the compression temp folder of IIS and found no compressed scripted resource there. That led me to the conclusion that these files are transferred over with high bandwidth.
0
[ 2, 26060, 3884, 2566, 16, 28, 306, 9, 2328, 800, 3726, 3726, 184, 107, 42, 26060, 3884, 2566, 16, 28, 306, 9, 2328, 60, 31, 441, 21, 3893, 80, 664, 71, 20, 13, 20038, 15251, 187, 31, 794, 3007, 6776, 15, 47, 86, 463, 32, 104, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 create database tables from XSD files? === I have a set of XSDs from which I generate data access classes, stored procedures and more. What I don't have is a way to generate database table from these - is there a tool that will generate the DML statements for me? This is not the same as [Create DB table from dataset table][1], as I do not have dataset tables, but XSDs. [1]: http://stackoverflow.com/questions/16443/create-db-table-from-dataset-table
0
[ 2, 184, 92, 31, 1600, 6018, 7484, 37, 993, 18, 43, 6488, 60, 800, 3726, 3726, 31, 57, 21, 309, 16, 993, 18, 43, 18, 37, 56, 31, 7920, 1054, 1381, 2684, 15, 8214, 8876, 17, 91, 9, 98, 31, 221, 22, 38, 57, 25, 21, 161, 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...
Saving 'tree /f /a" results to a textfile with unicode support === I'm trying to use the tree command in a windows commandline to generate a text file listing the contents of a directory but when I pipe the output the unicode characters get stuffed up. Here is the command I am using: tree /f /a > output.txt The results in the console window are fine: <pre> \---Erika szobája cover.jpg Erika szobája.m3u Kátai Tamás - 01 Télvíz.ogg Kátai Tamás - 02 Zölderdõ.ogg Kátai Tamás - 03 Renoir kertje.ogg Kátai Tamás - 04 Esõben szaladtál.ogg Kátai Tamás - 05 Ázik az út.ogg Kátai Tamás - 06 Sûrû völgyek takaród.ogg Kátai Tamás - 07 Õszhozó.ogg Kátai Tamás - 08 Mécsvilág.ogg Kátai Tamás - 09 Zúzmara.ogg </pre> But the text file is no good: <pre> \---Erika szob ja cover.jpg Erika szob ja.m3u K tai Tam s - 01 T‚lv¡z.ogg K tai Tam s - 02 Z”lderdä.ogg K tai Tam s - 03 Renoir kertje.ogg K tai Tam s - 04 Esäben szaladt l.ogg K tai Tam s - 05 µzik az £t.ogg K tai Tam s - 06 S–r– v”lgyek takar¢d.ogg K tai Tam s - 07 åszhoz¢.ogg K tai Tam s - 08 M‚csvil g.ogg K tai Tam s - 09 Z£zmara.ogg </pre> How can I fix this? Ideally the text file would be exactly the same as the output in the console window.
0
[ 2, 7599, 13, 22, 8101, 13, 118, 410, 13, 118, 58, 7, 1736, 20, 21, 1854, 16877, 29, 28010, 555, 800, 3726, 3726, 31, 22, 79, 749, 20, 275, 14, 1541, 1202, 19, 21, 1936, 1202, 1143, 20, 7920, 21, 1854, 3893, 9554, 14, 8478, 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...
Initializing a static std::map<int, int> in C++ === What is the right way of initializing a static map? Do we need a static function that will initialize it?
0
[ 2, 2104, 3335, 21, 12038, 354, 43, 45, 45, 15022, 1, 6391, 15, 19, 38, 1, 19, 272, 20512, 800, 3726, 3726, 98, 25, 14, 193, 161, 16, 2104, 3335, 21, 12038, 2942, 60, 107, 95, 376, 21, 12038, 1990, 30, 129, 2104, 2952, 32, 60, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Simple ColdFusion script works in IE but not Firefox? === I have a very simple bit of script that changes the status of an item in a MySql database - it works fine in IE7, but if I try it in Firefox, it looks like it's worked, but hasn't... Which is extremely odd. The code is very simple - first I get the details of the record I'm looking for: <cfscript> // Get the Product Attribute details Arguments.qGetProductAttribute = Application.cfcProducts.getProductAttributes(Arguments.iProductAttributeID); </cfscript> This is working fine, if I dump the results, it's just the content of the record as expected. So then I use an if statement to change the 'active' field from one to zero or vice versa. <!--- If Product Attribute is active, mark as inactive ---> <cfif Arguments.qGetProductAttribute.bActive EQ 0> <cfquery name="qChangeStatus" datasource="#Request.sDSN#"> UPDATE tblProductAttributes SET bActive = <cfqueryparam value="1" cfsqltype="CF_SQL_INTEGER" maxlength="1" /> WHERE iProductAttributeID = <cfqueryparam value="#Arguments.iProductAttributeID#" cfsqltype="CF_SQL_INTEGER" />; </cfquery> <!--- Else if Product Attribute is inactive, mark as active ---> <cfelseif Arguments.qGetProductAttribute.bActive EQ 1> <cfquery name="qChangeStatus" datasource="#Request.sDSN#"> UPDATE tblProductAttributes SET bActive = <cfqueryparam value="0" cfsqltype="CF_SQL_INTEGER" maxlength="1" /> WHERE iProductAttributeID = <cfqueryparam value="#Arguments.iProductAttributeID#" cfsqltype="CF_SQL_INTEGER" />; </cfquery> </cfif> I can't see any reason whatsoever for this not to work... and indeed, in IE7 it works perfectly... What happens is after this script is run, the browser goes back to the page that displays all of these records. For each record if the 'bActive' field is set to '1', it will display the word 'Active' and if it's set to 'zero', it will display 'Disabled'. Simple enough. If I run the script to disable a record, Firefox actually displays the word 'disabled' as expected, but the database record doesn't change! I'm at a loss... how can server-side code work fine in one browser and not in another?!
0
[ 2, 1935, 1191, 9818, 3884, 693, 19, 13, 660, 47, 52, 535, 18219, 60, 800, 3726, 3726, 31, 57, 21, 253, 1935, 1142, 16, 3884, 30, 1693, 14, 1782, 16, 40, 9101, 19, 21, 51, 18, 22402, 6018, 13, 8, 32, 693, 1123, 19, 13, 660, 4...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Sql Server 2005 === Are there good effciency savings using Sql Server 2005 over Sql Server 2000? Or does it just have more services etc Has anyone seen their system work any quicker after making the upgrade?
0
[ 2, 4444, 255, 8128, 812, 800, 3726, 3726, 50, 80, 254, 13, 9039, 1892, 8883, 12135, 568, 4444, 255, 8128, 812, 84, 4444, 255, 8128, 824, 60, 54, 630, 32, 114, 57, 91, 687, 2722, 63, 1276, 541, 66, 329, 170, 186, 21927, 75, 544, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
How to enumerate all top windows and add custom item to system menu [C++] === I need to enumerate all running applications. In particular, all top windows. And for every window I need to add my custom item to the system menu of that window. How can I accomplish that in C++?
0
[ 2, 184, 20, 26940, 62, 65, 371, 1936, 17, 3547, 5816, 9101, 20, 329, 11379, 636, 150, 20512, 500, 800, 3726, 3726, 31, 376, 20, 26940, 62, 65, 946, 3767, 9, 19, 1498, 15, 65, 371, 1936, 9, 17, 26, 352, 1463, 31, 376, 20, 3547,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 create a GET request with parameters, using JSF and navigation-rules? === Is there a way to create an html link using h:outputLink, other JSF tag or code to create a non faces request (HTTP GET) with request parameters? For example I have the following navigation-rule <navigation-rule> <navigation-case> <from-outcome>showMessage</from-outcome> <to-view-id>/showMessage.jsf</to-view-id> <redirect/> </navigation-case> </navigation-rule> In my page I would like to output the following html code: <a href="/showMessage.jsf?msg=23">click to see the message</a> I could just write the html code in the page, but I want to use the navigation rule in order to have all the urls defined in a single configurable file.
0
[ 2, 184, 20, 1600, 21, 164, 3772, 29, 12905, 15, 568, 487, 18, 410, 17, 8368, 8, 16154, 18, 60, 800, 3726, 3726, 25, 80, 21, 161, 20, 1600, 40, 13, 15895, 3508, 568, 746, 45, 1320, 4881, 6258, 15, 89, 487, 18, 410, 3383, 54, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 Version control for lone developer === I'm a lone developer at the moment; please share you experiences on what is a good VC setup for a lone developer. My constraints are; - I work on multiple machines and need to keep them synced up - Sometimes I work offline I'm currently using Subversion(just the client to a remote server), and that is working ok. I'm interested in mecurial and git DVCS, but none of their use-cases make sense to my situation.
4
[ 2, 246, 615, 569, 26, 10295, 10058, 800, 3726, 3726, 31, 22, 79, 21, 10295, 10058, 35, 14, 688, 73, 2247, 1891, 42, 5513, 27, 98, 25, 21, 254, 13, 8990, 18161, 26, 21, 10295, 10058, 9, 51, 16747, 50, 73, 13, 8, 31, 170, 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...
LabVIEW Objects === I have a base class object array into which I have typecasted many different child class objects and am passing it to a sub vi. Is there any way by which I can find out the original type of the object of each individual elements in the array? Thanks ...
0
[ 2, 4343, 4725, 3916, 800, 3726, 3726, 31, 57, 21, 1000, 718, 3095, 7718, 77, 56, 31, 57, 1001, 6146, 69, 151, 421, 850, 718, 3916, 17, 589, 2848, 32, 20, 21, 972, 1790, 9, 25, 80, 186, 161, 34, 56, 31, 92, 477, 70, 14, 501, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Hibernate global filtration creteria === Is there a way to add a single criteria on a session factory(configuration) level wich will apply to *all* entites retreived with a Session ? We have a requirement to not delete any rows from our database but "mark" deleted entities as such so that they will not participate in any further operations. I know that we can just retrive all entites through a common interface (e.g. a common base Dao object), but the approach with global filtering would be less error-prone as it doesn't require the knowledge of using this common interface.
0
[ 2, 4148, 2102, 8820, 2062, 13, 21845, 21079, 2548, 800, 3726, 3726, 25, 80, 21, 161, 20, 3547, 21, 345, 9157, 27, 21, 3723, 3129, 5, 1126, 13549, 857, 6, 662, 13, 13583, 129, 5645, 20, 1637, 1233, 2483, 13, 2291, 6359, 13, 6239, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
can I expose a class from another .net namespace as a class in my namespace? === Can I expose a class from another .net namespace as a class in my namespace? I use a class - antlr.collections.AST - as the return type for a function belonging to a class in my namespace; as a result, the user has to have using antlr.collections; using myNamespace; at the top of their files in order to use my function. Can I make myNamespace.AST an alias for antlr.collections.AST, such that the user only has to have using myNamespace; at the top of their files?
0
[ 2, 92, 31, 13833, 21, 718, 37, 226, 13, 9, 2328, 204, 5582, 28, 21, 718, 19, 51, 204, 5582, 60, 800, 3726, 3726, 92, 31, 13833, 21, 718, 37, 226, 13, 9, 2328, 204, 5582, 28, 21, 718, 19, 51, 204, 5582, 60, 31, 275, 21, 718...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Feature branches in CVS? === I'm duty-bound by policy to use CVS in this certain project, so even though I'd really to switch to something else, like Git, I cannot. So, my real question goes like this: We have a convention that we create a new branch in CVS every time we make a release (we also tag, but that is besides the point). We call these version-branches, and they allow us to easily check out a specific version and make hot-fix changes to it - this is what our minor-releases are. But now I have some large-ish, risk-ridden changes coming up and if I was working in Git, I'd be creating a feature-branch in the blink of an eye. However, working in CVS, I tried creating feature branches in another project and found that things quickly turned out messy. I ended up with lots of branches and I lost track of which branches were synched, which needed merging and which were no longer in use. So, inching closer to the question mark, is it feasible to use feature-branches in CVS? Are they too much trouble to be worth it or will I eventually end up being sorry for not using them? Should I bite the bullet and just start coding in HEAD but bend my cpding process to introduce the changes in the most unobtrusive way possible?
0
[ 2, 1580, 4395, 19, 13, 12732, 18, 60, 800, 3726, 3726, 31, 22, 79, 3174, 8, 7410, 34, 1486, 20, 275, 13, 12732, 18, 19, 48, 1200, 669, 15, 86, 166, 362, 31, 22, 43, 510, 20, 5521, 20, 301, 962, 15, 101, 13, 10404, 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...
How do I redirect a page after successful validation with form_remote_for()? === I'm using form\_remote\_for() to do validation on a form's data so that my rails app can show the user errors without reloading the page. I'm having troubles redirecting the page if there are no errors. Here is my code: def create # Validate the data if error_count > 0 render :update do |page| page.replace_html(div_id, error_text) end else # Save the data redirect_to(page_to_go_to) end end Everything in this method works fine except the redirect. The server claims it does a successful redirect and I believe it's the AJAX call that's being redirected. What I want to happen is have the page that contains the form to redirect. Is that possible?
0
[ 2, 184, 107, 31, 302, 14706, 21, 2478, 75, 1300, 27999, 29, 505, 1, 99, 20209, 1, 1106, 5, 6, 60, 800, 3726, 3726, 31, 22, 79, 568, 505, 1, 99, 20209, 1, 1106, 5, 6, 20, 107, 27999, 27, 21, 505, 22, 18, 1054, 86, 30, 51, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 check in javascript if a variable or function is defined in a page? === How can i check in javascript if a variable is defined in a page? Suppose I want to check if a variable named "x" is defined in a page, if I do "if(x != null)", it gives me an error.
0
[ 2, 184, 92, 31, 2631, 19, 8247, 8741, 100, 21, 7612, 54, 1990, 25, 2811, 19, 21, 2478, 60, 800, 3726, 3726, 184, 92, 31, 2631, 19, 8247, 8741, 100, 21, 7612, 25, 2811, 19, 21, 2478, 60, 5787, 31, 259, 20, 2631, 100, 21, 7612, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 unique is the php session id === How unique is the php session id? I got the impression from various things that I've read that I should not rely on two users never getting the same sessionid. Isn't it a GUID?
0
[ 2, 184, 2619, 25, 14, 13, 26120, 3723, 4924, 800, 3726, 3726, 184, 2619, 25, 14, 13, 26120, 3723, 4924, 60, 31, 330, 14, 6394, 37, 617, 564, 30, 31, 22, 195, 1302, 30, 31, 378, 52, 12139, 27, 81, 3878, 243, 1017, 14, 205, 3723...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Vim extension (via Python)? === is it possible to extend vim functionality via custom extension (preferably, written in Python)?
0
[ 2, 1790, 79, 3896, 13, 5, 5034, 20059, 6, 60, 800, 3726, 3726, 25, 32, 938, 20, 7206, 1790, 79, 18548, 1197, 5816, 3896, 13, 5, 3515, 2407, 4801, 15, 642, 19, 20059, 6, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Is there a way to have managed processes in Perl (i.e. a threads replacement that actually works)? === I have a multithreded application in perl for which I have to rely on several non-thread safe modules, so I have been using `fork()`ed processes with `kill()` signals as a message passing interface. The problem is that the signal handlers are a bit erratic (to say the least) and often end up with processes that get killed in inapropriate states. Is there a better way to do this?
0
[ 2, 25, 80, 21, 161, 20, 57, 1471, 5102, 19, 416, 255, 13, 5, 49, 9, 62, 9, 21, 20396, 4610, 30, 1121, 693, 6, 60, 800, 3726, 3726, 31, 57, 21, 1889, 96, 2095, 69, 3010, 19, 416, 255, 26, 56, 31, 57, 20, 12139, 27, 238, 5...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Any way to automatically wrap comments at column 80 in Visual Studio 2008? ..or display where column 80 is? === Is there any way to automatically wrap comments at the 80-column boundary as you type them? ..or failing that, any way to display a faint line at the coulmn 80 boundary to make wrapping them manually a little easier? Several other IDEs I use have one or other of those functions and it makes writing comments that wrap in sensible places much easier/quicker.
0
[ 2, 186, 161, 20, 7499, 8118, 7534, 35, 4698, 2972, 19, 3458, 1120, 570, 60, 13, 9, 9, 248, 3042, 113, 4698, 2972, 25, 60, 800, 3726, 3726, 25, 80, 186, 161, 20, 7499, 8118, 7534, 35, 14, 2972, 8, 716, 4404, 103, 5067, 28, 42, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Security implications of disabling the Common Name check for HTTPS === I'm going over some client code I've inherited for doing secure communication over HTTPS, and it seems that it's not checking the common name in the server certificate (eg. 'CN = "example.com"' against the actual URL that's being requested. This is probably deliberate, since our client app is required to talk to various environments, so after contacting an initial portal (eg. example.com/main) and the user choosing an environment the app gets redirected to a specific IP, so all future requests look something like "http://127.0.0.1/page". However being an SSL newbie, I'm unsure of the implications of disabling this check. My first reaction would be that it'd be easier to perform some kind of man-in-the-middle attack, since someone else could just copy our certificate and pretend to be one of our servers. But if we were doing common name checking you'd be able to do the same thing with custom DNS settings anyway, so it doesn't seem to actually gain us anything. Are there other attacks that this leaves us open to which we wouldn't be otherwise? Thanks
0
[ 2, 1221, 14747, 16, 1460, 58, 8599, 14, 757, 204, 2631, 26, 7775, 18, 800, 3726, 3726, 31, 22, 79, 228, 84, 109, 6819, 1797, 31, 22, 195, 7179, 26, 845, 4315, 3291, 84, 7775, 18, 15, 17, 32, 2206, 30, 32, 22, 18, 52, 9886, 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...
Debugging with Oracle's utl_smtp === A client of mine uses Oracle 9i's utl_smtp to send mails out notifications to managers when their employees have made travel requests and they woul like quite a few changes made to the mailouts done. We're having a lot of problems getting utl_smtp to talk to any smtp server on our network. We've even tried installing free smtp server on the oracle box but it will not spot the mail server running on port 25. The error code is ORA-29278. So two questions really. 1. Does anyone have any experience setting up email using Oracle's utl_smtp utility and have any suggestions as to where we might be going wrong. 2. Does anyone know if it is possible to get utl_smtp to dump text emails to a directory much as you can do if you're using system.net.mail's specifiedpickupdirectory config setting. This would be by far the preferable option. Thanks, Dan
0
[ 2, 121, 16254, 2762, 29, 15759, 22, 18, 287, 7786, 1, 18, 79, 13726, 800, 3726, 3726, 21, 6819, 16, 1114, 2027, 15759, 561, 49, 22, 18, 287, 7786, 1, 18, 79, 13726, 20, 2660, 4216, 18, 70, 52, 4634, 18, 20, 12657, 76, 66, 3716...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Web Applications & Desktop Applications === I am a programmer who writes a lot of code for desktop applications, now started considering cross-platform apps as an issue but at work I write C# apps and I come from C++ and CS background and of course, I wrote several things in QT/C++. But now I am kinda confused about web applications, I have done some work on PHP and I know how things go there, I was a gmail and google docs user for a lot of time and I have seen how much web applications were improved with new web 2.0 technology including Ajax, XML so on. And my confusion is that should I start looking forward for web application development? and continue exploring the power of web 2.0 or I have to just stick with my old world where I feel very comfortable on parallelism and other stuff? Because believe me I had too many offers to work as a web application developer but I didn't realize this opportunity and now I am kinda confused whether I must start writing web apps. Have you been writing desktop applications and switched to web? or have somebody experience in this scenario? Thank you.
0
[ 2, 2741, 3767, 279, 17404, 3767, 800, 3726, 3726, 31, 589, 21, 17968, 72, 6215, 21, 865, 16, 1797, 26, 17404, 3767, 15, 130, 373, 5154, 919, 8, 27035, 4865, 18, 28, 40, 1513, 47, 35, 170, 31, 2757, 272, 5910, 4865, 18, 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...
Ruby Regex problem text.gsub[^\W-], '') fails === I'm trying to learn Regex in Ruby, based on what I'm reading in "The Rails Way". But, even this simple example is stumping me. I can't tell if it is a typo or not... text.gsub(/\s/, "-").gsub([^\W-], '').downcase It seems to me that this would replace all spaces with -, then anywhere a string starts with a non letter or number followed by a dash, replace that with ''. But, using irb, it fails first on ^ "syntax error, unexpected '^', expecting ']'", and if I take out the ^, it fails again on the W. I'm pretty confused here.
0
[ 2, 10811, 7953, 1706, 1448, 1854, 9, 263, 7563, 2558, 1, 499, 8, 500, 15, 13, 7, 6, 13614, 800, 3726, 3726, 31, 22, 79, 749, 20, 2484, 7953, 1706, 19, 10811, 15, 432, 27, 98, 31, 22, 79, 1876, 19, 13, 7, 124, 2240, 18, 161, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
AS3 - Silent sound recording length is different to audio recording === I'm experiencing a strange issue and wondered if anyone had an idea on what's happening. With ActionScript 3 I'm using the mic to record a 13 second sound clip. I have the mic.setSilenceLevel set to 0 so data is being sampled all the time. Click start to start a timer and write byte data from the mic. 13 seconds later the timer stops and I write the data to a byteArray which is then encoded to mp3. If I record 13 seconds of no sound the mp3 file is 12.251 seconds long. If I record 13 seconds of sound the mp3 file is 12.512 seconds long. Any ideas why?
0
[ 2, 28, 240, 13, 8, 2690, 646, 1576, 1476, 25, 421, 20, 4023, 1576, 800, 3726, 3726, 31, 22, 79, 15138, 21, 2578, 1513, 17, 3519, 100, 1276, 41, 40, 882, 27, 98, 22, 18, 4942, 9, 29, 1028, 8741, 203, 31, 22, 79, 568, 14, 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...
Time and Weather Update Widget === I followed this [tutorial][1] to make http connection and fetching data for Widget using Service and Alarmmanager. In my test app i am just trying to access google weather api, which returns xml file and i just simply parse and show temperature on widget. I am calling service every 1 hour. Now along with weather update i also want to display current time. Now here i am having hard time to achieve this. DO i have to create two separate service and two separate alarmmanager to update time and weather respectively on their scheduled time. Pleas i just need an idea on how to approach. Thanks. [1]: http://buildmobile.com/performing-network-updates/
0
[ 2, 85, 17, 2580, 11100, 4807, 43, 3060, 800, 3726, 3726, 31, 709, 48, 636, 2473, 9819, 192, 500, 2558, 165, 500, 20, 233, 7775, 2760, 17, 18312, 68, 1054, 26, 4807, 43, 3060, 568, 365, 17, 6490, 22256, 9, 19, 51, 1289, 4865, 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...
Building a search module UI in Java using swings which is similar to SO tagging === <br> Im building on top of an existing UI which is in Swings. I need to add a search module wherein the user can enter search terms which should be autocomplete'd. <br> Im considering building a UI very similar to Stackoverflow's 'tagging a question' feature. So in my use case each 'tag' would be a search term.<br> Im completely new to Swings or UIs in general and have very little clue on how to start.<br> Any advice/pointers on how and where to start would be of great value to me.<br> <br>Thanks<br> p1ng
0
[ 2, 353, 21, 2122, 12613, 13, 5661, 19, 8247, 568, 5587, 18, 56, 25, 835, 20, 86, 3383, 2762, 800, 3726, 3726, 13, 1, 5145, 1, 797, 353, 27, 371, 16, 40, 3149, 13, 5661, 56, 25, 19, 5587, 18, 9, 31, 376, 20, 3547, 21, 2122, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 data retrieval from database and display === How do I Limit some information displayed from the database and add a link eg "More" to enable read all information in a drop down using PHP. such as what is on facebook (Read more...). I am dealing with a lot of content and I dont want it all displayed at once. Here is part of the code echo "<p>".$row['Firstname']." ".$row['Lastname']."</p>"; echo "<p>".$row["Course"]." | ".$row["RegID"]."</p>"; echo "<p>".$row["Email"]."</p>"; echo "<p>"."Tel:".$row["Telephone"]."</p>"; echo "<p>".$row["info"]."</p>"; The code is running well only that I want to limit the information(echo "<p>".$row["info"]."</p>";) so that not all is displayed Thanks
0
[ 2, 13, 26120, 1054, 28419, 37, 6018, 17, 3042, 800, 3726, 3726, 184, 107, 31, 4496, 109, 676, 6115, 37, 14, 6018, 17, 3547, 21, 3508, 12369, 13, 7, 1995, 7, 20, 9240, 1302, 65, 676, 19, 21, 2804, 125, 568, 13, 26120, 9, 145, 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...
Background image of a li under the background image of the ul === How can you do this in css? I want the background image of the li's to slide under the background image of the ul where they are in. I tried to do it with z-index but it didn't work. li{ list-style:none; background-image:url("2.png"); z-index:-10; position:relative; } ul{ background-image:url("1.png"); background-repeat: no-repeat; z-index:100; position:relative; } Is this possible? And how is it done if it is.
0
[ 2, 2395, 1961, 16, 21, 2093, 131, 14, 2395, 1961, 16, 14, 13, 1287, 800, 3726, 3726, 184, 92, 42, 107, 48, 19, 272, 18, 18, 60, 31, 259, 14, 2395, 1961, 16, 14, 2093, 22, 18, 20, 6464, 131, 14, 2395, 1961, 16, 14, 13, 1287, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Copy table from postgres to local === I want to copy table from postgis database to the PC hard drive (format can be .txt .xls .csv or whatever). How it can be done?
0
[ 2, 4344, 859, 37, 678, 6879, 18, 20, 375, 800, 3726, 3726, 31, 259, 20, 4344, 859, 37, 678, 12469, 6018, 20, 14, 5168, 552, 1493, 13, 5, 23588, 92, 44, 13, 9, 38, 396, 38, 13, 9, 396, 7532, 13, 9, 6824, 710, 54, 2099, 6, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Google Cloud Storage in an android app === i´m new to this, so I´m sorry if it is a stupid question. I´m trying to put a text document with highscores inside a bucket on the google cloud storage. So far, so good. Now I want my app to open this textfile in the bucket, check if there is a new highscore, adapt the file and write it back into the bucket. I´m trying to find example code, since that makes more sense to me for understanding than the apis, but I´m not able to find it. The anwers I get are all, it´s just simple get and put callbacks, but since it ain´t simple for me, I was hoping somebody has a link to an example for an android app using google cloud storage and reading and writing online. Can somebody please help! Thanks a lot..
0
[ 2, 8144, 4005, 4326, 19, 40, 13005, 4865, 800, 3726, 3726, 31, 307, 78, 20, 48, 15, 86, 31, 307, 1875, 100, 32, 25, 21, 3553, 1301, 9, 31, 307, 749, 20, 442, 21, 1854, 4492, 29, 183, 15077, 18, 572, 21, 12433, 27, 14, 8144, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Generate XML mapping of a recursive directory search === I am reading a list that has a large number of archives under certain component. e.g. component1:filelocation1/a11.ear component1:filelocation1/a12.ear component2:filelocation2/a2.ear component3:filelocation3/a3.ear component4:filelocation3/basefile.properties I need to unzip each archive recursively till the last level of data and generate an XML mapping file capturing the correct mapping from the component to the last element in the archive. The xml document structure of which would be like: <my-app> <mapping> <toplevel loc="filelocation1" filename="a11.ear" component="component1"> <childlevel loc="." filename="x1.war"> <childlevel loc="WEB-INF/classes" filename="abc1.class"/> <childlevel loc="WEB-INF/classes" filename="abc2.class"/> </childlevel> </toplevel> <toplevel loc="filelocation1" filename="a12.ear" component="component1"> <childlevel loc="." filename="x2.jar"> <childlevel loc="org/test" filename="abc1.class"/> <childlevel loc="org/test" filename="abc2.class"/> </childlevel> <childlevel loc="." filename="x3.war"> <childlevel loc="WEB-INF/lib" filename="web1.jar"> <childlevel loc="org/test" filename="abc1.class"/> </childlevel> <childlevel loc="WEB-INF/classes" filename="abc2.class"/> </childlevel> </toplevel> </mapping> </my-app> What is the best appraoch to do that? I am considering using a DOM parser to generate the XML.
0
[ 2, 7920, 23504, 13305, 16, 21, 302, 24244, 16755, 2122, 800, 3726, 3726, 31, 589, 1876, 21, 968, 30, 63, 21, 370, 234, 16, 8111, 131, 1200, 5912, 9, 13, 62, 9, 263, 9, 5912, 165, 45, 16877, 19032, 8197, 58, 1306, 9, 10717, 5912,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I add a separator to a JComboBox in Java? === I have a *JComboBox* and would like to have a separator in the list of elements. Is this possible at all in Java? A sample scenario where this would come in handy is when making a combobox for font-family-selection; similar to the font-family-selection-control in Word and Excel. In this case I would like to show the most-used-fonts at the top, then a separator and finally all font-families below the separator in alphabetical order. Can anyone help me with how to do this or is this not possible in Java?
0
[ 2, 184, 107, 31, 3547, 21, 1353, 3574, 3457, 20, 21, 487, 960, 1192, 5309, 19, 8247, 60, 800, 3726, 3726, 31, 57, 21, 1637, 728, 960, 1192, 5309, 2483, 17, 83, 101, 20, 57, 21, 1353, 3574, 3457, 19, 14, 968, 16, 2065, 9, 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...
batch find file extension === If I am iterating over each file using : <code> @echo off FOR %%f IN (*\*.\**) DO ( echo %%f ) </code> how could I print the extension of each file? I tried assigning %%f to a temporary variable , and then using the code : <code> echo "%t:~-3%" </code> but with no success .
0
[ 2, 13064, 477, 3893, 3896, 800, 3726, 3726, 100, 31, 589, 32, 106, 1880, 84, 206, 3893, 568, 13, 45, 13, 1, 9375, 1, 13, 1, 62, 2613, 168, 26, 13, 11881, 11881, 410, 19, 13, 5, 2483, 1, 2483, 9, 1, 1409, 6, 107, 13, 5, 811...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 write a cross-platform program? === Greetings, I want to write a small cross-platform utility program with GUI in it. What language/GUI-library should I stick to? Is it possible whatsoever? This is gonna be a small program, so I don't want to make people download JVM or .NET Framework. Is it possible to develop it natively?
0
[ 2, 184, 20, 2757, 21, 919, 8, 27035, 625, 60, 800, 3726, 3726, 13769, 18, 15, 31, 259, 20, 2757, 21, 284, 919, 8, 27035, 10082, 625, 29, 9457, 19, 32, 9, 98, 816, 118, 7215, 8, 1210, 2559, 622, 378, 31, 5258, 20, 60, 25, 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...
How do you parse a HTML string for image tags to get at the SRC information? === Possibly a lame question. But I've yet to find an answer to it. Currently I use .Net WebBrowser.Document.Images() to do this. It requires the Webrowser to load the document. Its messy and takes up resources. According to this [Question][1] Xpath is better than a regex at this. Anyone know how to do this in C#? Thanks [1]: http://stackoverflow.com/questions/138313/how-to-extract-img-src-title-and-alt-from-html-using-php
0
[ 2, 184, 107, 42, 2017, 870, 21, 13, 15895, 3724, 26, 1961, 3383, 18, 20, 164, 35, 14, 13, 18, 5453, 676, 60, 800, 3726, 3726, 2879, 21, 17182, 1301, 9, 47, 31, 22, 195, 768, 20, 477, 40, 1623, 20, 32, 9, 871, 31, 275, 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...
testing a django database schema === I want to write tests that can show whether or not the database is in sync with my models.py file. Actually I have already written them, only to find out that django creates a new database each time the tests are run based on the models.py file. Is there any way I can make the **models.py test** use the existing database schema? The one that's in mysql/postgresql, and not the one that's in /myapp/models.py ? I don't care about the data that's in the database, I only care about it's **schema** i.e. I want my tests to notice if a table in the database has less fields than the schema in my models.py file. I'm using the unittest framework (actually the django extension to it) if this has any relevance. thanks
0
[ 2, 4431, 21, 3857, 14541, 6018, 23874, 800, 3726, 3726, 31, 259, 20, 2757, 4894, 30, 92, 298, 1472, 54, 52, 14, 6018, 25, 19, 6063, 150, 29, 51, 2761, 9, 6448, 3893, 9, 1121, 31, 57, 614, 642, 105, 15, 104, 20, 477, 70, 30, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Webservice toolkits in Java that can interface with WCF === We've got some problems with an external company trying in integrate into a WCF service we expose and they are a Java shop. I was wondering if there are more than one toolkit that they can try to solve their issues and would like a list to suggest to them but I'm not familiar with the Java world at all. Essentially they've got some memory leak (apparently!) but they are very sketchy in the details.
0
[ 2, 2741, 11449, 5607, 13703, 18, 19, 8247, 30, 92, 6573, 29, 11801, 410, 800, 3726, 3726, 95, 22, 195, 330, 109, 1716, 29, 40, 4886, 237, 749, 19, 18399, 77, 21, 11801, 410, 365, 95, 13833, 17, 59, 50, 21, 8247, 2546, 9, 31, 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...
IE6 freezes due to *server* configuration === Our web site (running Rails) freezes IE6 nearly every time. The same code, deployed on a different server, does not freeze IE6. Where and how should we start tracking this down?
0
[ 2, 13, 660, 379, 11551, 18, 397, 20, 1637, 10321, 106, 2483, 8091, 800, 3726, 3726, 318, 2741, 689, 13, 5, 11325, 2240, 18, 6, 11551, 18, 13, 660, 379, 1212, 352, 85, 9, 14, 205, 1797, 15, 6698, 27, 21, 421, 8128, 15, 630, 52,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Inline vs. External Javascript === I would like to know when I should include external scripts or write them inline with the html code, in terms of performance and ease of maintenance. What is the general practice for this? Real-world-scenario - I have several html pages that need client-side form validation. For this I use a jQuery plugin that I include on all these pages. But the question is, do I: - write the bits of code that configure this script inline? - include all bits in one file that's share among all these html pages? - include each bit in a separate external file, one for each html page? Thanks.
0
[ 2, 19, 1143, 4611, 9, 4886, 8247, 8741, 800, 3726, 3726, 31, 83, 101, 20, 143, 76, 31, 378, 468, 4886, 17505, 54, 2757, 105, 19, 1143, 29, 14, 13, 15895, 1797, 15, 19, 1663, 16, 956, 17, 6378, 16, 5010, 9, 98, 25, 14, 297, 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...
Visual Studio debugger slows down in in-line code === Since I upgraded to Visual Studio 2008 from vs2005, I have found a very annoying behaviour when debugging large projects. If I attempt to step into inline code, the debugger appears to lock up for tens of seconds. Each time that I step inside such a function, there is a similar pause. Has anyone experienced this and is anyone aware of a work around?
0
[ 2, 3458, 1120, 121, 2345, 11356, 2276, 18, 125, 19, 19, 8, 1143, 1797, 800, 3726, 3726, 179, 31, 9958, 20, 3458, 1120, 570, 37, 4611, 2835, 15, 31, 57, 216, 21, 253, 17610, 7727, 76, 121, 16254, 2762, 370, 2314, 9, 100, 31, 1735...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
" SEO Vs SEM ?" === Could you any one of help me what is main different between SEO and SEM?
2
[ 2, 13, 7, 13, 18, 3894, 4611, 12829, 13, 60, 7, 800, 3726, 3726, 110, 42, 186, 53, 16, 448, 55, 98, 25, 407, 421, 128, 13, 18, 3894, 17, 12829, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
REST API: CSV and/or JSON and/or XML and/or ??? output === We're currently trying to plan a new developer API for our application and debating the various data formats we should use for interchange. We're also going to be using this API for our official desktop application so we're going to have a working implementation before it goes public. There's a fairly intense discussion going on about the relative merits of CSV vs JSON vs XML. Basically, the crux of the argument is whether we should support CSV at all because of the lack of recursion (i.e. having a document which has multiple authors and multiple references would require multiple API calls to obtain all the information). I'm in the experiences you may have had when working with information from Web APIs and things we can do to make the lives easier for the developers working with our API.
0
[ 2, 760, 21, 2159, 45, 272, 18, 710, 17, 118, 248, 487, 528, 17, 118, 248, 23504, 17, 118, 248, 13, 60, 60, 60, 5196, 800, 3726, 3726, 95, 22, 99, 871, 749, 20, 944, 21, 78, 10058, 21, 2159, 26, 318, 3010, 17, 23086, 14, 617,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
CPU cycle count === In Win32, is there any way to get a unique cpu cycle count or something similar that would be uniform for multiple processes/languages/systems/etc. I'm creating some log files, but have to produce multiple logfiles because we're hosting the .NET runtime, and I'd like to avoid calling from one to the other to log. As such, I was thinking I'd just produce two files, combine them, and then sort them, to get a coherent timeline involving cross-world calls. However, GetTickCount does not increase for every call, so that's not reliable. Is there a better number, so that I get the calls in the right order when sorting?
0
[ 2, 17578, 4150, 2468, 800, 3726, 3726, 19, 628, 3125, 15, 25, 80, 186, 161, 20, 164, 21, 2619, 17578, 4150, 2468, 54, 301, 835, 30, 83, 44, 4347, 26, 1886, 5102, 118, 7020, 18, 118, 10724, 18, 118, 1198, 150, 9, 31, 22, 79, 29...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 get UTF-8 working in java webapps? === I need to get UTF-8 working in my Java webapp (servlets + JSP, no framework used) to support äöå etc. for regular Finnish text and Cyrillic alphabets like ЦжФ for special cases. My setup is the following: <ul> <li>Development encironment: Windows XP</li> <li>Production encironment: Debian</li> </ul> Database used: MySQL 5.x Users mainly use Firefox2 but also Opera 9.x, FF3, IE7 and Google Chrome are used to access the site. How to achieve this?
0
[ 2, 184, 20, 164, 287, 11720, 8, 457, 638, 19, 8247, 2741, 7753, 18, 60, 800, 3726, 3726, 31, 376, 20, 164, 287, 11720, 8, 457, 638, 19, 51, 8247, 2741, 7753, 13, 5, 10321, 11045, 2754, 487, 3401, 15, 90, 6596, 147, 6, 20, 555,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Are there implementation Delphi:TClientDataSet in c++ for MVS? === I wanna migrate from Embarcadero Delphi to Visual Studio, but with out TClientDataset class it's very difficult. This class represents an in-memory dataset. [http://docs.codegear.com/docs/radstudio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/delphivclwin32/DBClient_TClientDataSet.html] I can't find out any class like TClientDataset. :((( Thanks.
0
[ 2, 50, 80, 6123, 23030, 45, 6668, 18513, 38, 18768, 3554, 19, 272, 20512, 26, 17967, 18, 60, 800, 3726, 3726, 31, 11024, 22985, 37, 3579, 1850, 7257, 661, 23030, 20, 3458, 1120, 15, 47, 29, 70, 13, 6668, 18513, 38, 18768, 3554, 71...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 I save the .htm or .html file which one is correct and what is different?" === *** > "When I save the .htm or .html file > which one is correct and what is > different?" ***
0
[ 2, 13, 7, 3185, 31, 2079, 14, 13, 9, 9020, 79, 54, 13, 9, 15895, 3893, 56, 53, 25, 4456, 17, 98, 25, 421, 60, 7, 800, 3726, 3726, 8980, 13, 1, 13, 7, 3185, 31, 2079, 14, 13, 9, 9020, 79, 54, 13, 9, 15895, 3893, 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, 0...
Is there a performance difference between inc(i) and i := i + 1 in Delphi? === I have a procedure with a lot of i := i +1; in it and I think inc(i); looks a lot better. Is there a performance difference or does the function call just get inlined by the compiler? I know this probably doesn't matter at all to my app, I'm just curious.
0
[ 2, 25, 80, 21, 956, 2841, 128, 3016, 5, 49, 6, 17, 31, 13, 45, 3726, 31, 2754, 137, 19, 23030, 60, 800, 3726, 3726, 31, 57, 21, 7004, 29, 21, 865, 16, 31, 13, 45, 3726, 31, 13, 16628, 73, 19, 32, 17, 31, 277, 3016, 5, 49...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 output HTML from JSP <%! ... %> block? === I just started learning JSP technology, and came across a wall. *How do you output HTML from a method in <%! ... %> JSP declaration block?* This doesn't work: <%! void someOutput() { out.println("Some Output"); } %> ... <% someOutput(); %> Server says there's no &ldquo;out&rdquo;.
0
[ 2, 184, 20, 5196, 13, 15895, 37, 487, 3401, 13, 1, 11881, 187, 13, 9, 9, 9, 13, 11881, 1, 1921, 60, 800, 3726, 3726, 31, 114, 373, 2477, 487, 3401, 1099, 15, 17, 281, 464, 21, 769, 9, 1637, 1544, 107, 42, 5196, 13, 15895, 37...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PyQt - QScrollBar === Dear Stacktoverflow, can you show me an example of how to use a QScrollBar? Thanks.
0
[ 2, 7103, 1251, 38, 13, 8, 2593, 3862, 8694, 1850, 800, 3726, 3726, 4483, 7566, 38, 2549, 9990, 15, 92, 42, 298, 55, 40, 823, 16, 184, 20, 275, 21, 2593, 3862, 8694, 1850, 60, 3669, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 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 to program a full-screen mode in Java? === I'd like my application to have a full-screen mode. What is the easiest way to do this, do I need a third party library for this or is there something in the JDK that already offers this?
0
[ 2, 184, 20, 625, 21, 503, 8, 7187, 3740, 19, 8247, 60, 800, 3726, 3726, 31, 22, 43, 101, 51, 3010, 20, 57, 21, 503, 8, 7187, 3740, 9, 98, 25, 14, 27237, 161, 20, 107, 48, 15, 107, 31, 376, 21, 422, 346, 1248, 26, 48, 54, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 do I configure mongrels return mime types === How do I configure the content-types returned from mongrel. Speficially I want it to return some javascripts files as application/x-javascript to try and reproducse a bug I am seeing on a remote server
0
[ 2, 184, 107, 31, 1065, 15951, 21028, 7256, 18, 788, 26193, 2551, 800, 3726, 3726, 184, 107, 31, 1065, 15951, 14, 2331, 8, 4474, 18, 587, 37, 21028, 7256, 9, 9882, 15261, 49, 1326, 31, 259, 32, 20, 788, 109, 8247, 8741, 18, 6488, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Manager classes === In a recent project I have nearly completed we used an architecture that as its top layer of interaction from the web/services layers uses XXXManager classes. For example, there is a windows services that runs on a scheduled basis that imports data from several diverse data sources into our system. Within this service several "Manager" classes are called i.e. CPImportScheduleManager, CPImportProcessManager etc.. Now these Manager classes do a lot more than just pass method up the chain for use in the web/service layers. For example my UserManager.Register() method doesn't just persist the user via lower level assemblies but it also send a WAP push to the user and determines the mobile handset used etc. It has been suggested to me that this type of architecture I a common means of trying to get OOP to fit into a procedural model. I can see their point here, but what I am wondering is with this top level set of classes any web/service layer can simply call the same common method without having to rewrite code. Thus if I wanted to write a web service that at some point registered a user I could again just call the UserManager.Register() method without having to rewrite all the logic again. I never have been the best person to explain myself, but if my ramblings make sense please feel free to advise on your alternatives. Cheers, Chris.
0
[ 2, 1382, 2684, 800, 3726, 3726, 19, 21, 1764, 669, 31, 57, 1212, 1066, 95, 147, 40, 2607, 30, 28, 82, 371, 5385, 16, 7754, 37, 14, 2741, 118, 11449, 18, 9124, 2027, 13, 13290, 22256, 2684, 9, 26, 823, 15, 80, 25, 21, 1936, 687...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Easiest way to decrypt PGP-encrypted files from VBA (MS Access) === I need to write code that picks up PGP-encrypted files from an FTP location and processes them. The files will be encrypted with my public key (not that I have one yet). Obviously, I need a PGP library that I can use from within Microsoft Access. Can you recommend one that is easy to use? I'm looking for something that doesn't require a huge amount of PKI knowledge. Ideally, something that will easily generate the one-off private/public key pair, and then have a simple routine for decryption.
0
[ 2, 27237, 161, 20, 121, 11435, 351, 13321, 8, 219, 11435, 69, 6488, 37, 566, 969, 13, 5, 79, 18, 1381, 6, 800, 3726, 3726, 31, 376, 20, 2757, 1797, 30, 13267, 71, 351, 13321, 8, 219, 11435, 69, 6488, 37, 40, 1187, 306, 1474, 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...
Securing an assembly so that it can't be used by a third party. === I have written an assembly I don't want other people to be able to use. My assembly is signed with a strong name key file, but how do I secure the code so that only my other assemblies signed with the same key can call the members in this assembly?
0
[ 2, 13498, 40, 1475, 86, 30, 32, 92, 22, 38, 44, 147, 34, 21, 422, 346, 9, 800, 3726, 3726, 31, 57, 642, 40, 1475, 31, 221, 22, 38, 259, 89, 148, 20, 44, 777, 20, 275, 9, 51, 1475, 25, 908, 29, 21, 966, 204, 1246, 3893, 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...
Subversive connectors not working with newest Ganymede update === I'm using Subversive plugin in Ganymede, but after today's update it stopped working - it just doesn't see any valid svn connectors (I've already been using 1.2.0 dev version of SVNKit, instead of a stable one, because Subversive / Ganymede could not handle it; now it can't handle even the dev one). Any ideas how to make it work? Are subversive guys releasing a new version of their plugin / connectors soon?
0
[ 2, 972, 5498, 1284, 17991, 18, 52, 638, 29, 17175, 7890, 93, 4688, 62, 11100, 800, 3726, 3726, 31, 22, 79, 568, 972, 5498, 1284, 10922, 108, 19, 7890, 93, 4688, 62, 15, 47, 75, 786, 22, 18, 11100, 32, 1175, 638, 13, 8, 32, 114...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 pretty print xml from Java === I have a Java String that contains XML, with no line feeds and indentations. I would like to turn in into a String with nicely formatted XML. How do I do this? String unformattedXml = "<tag><nested>hello</nested></tag>"; String formattedXml = new [UnknownClass]().format(unformattedXml);
0
[ 2, 184, 20, 1772, 4793, 23504, 37, 8247, 800, 3726, 3726, 31, 57, 21, 8247, 3724, 30, 1588, 23504, 15, 29, 90, 293, 17058, 17, 19, 817, 8593, 18, 9, 31, 83, 101, 20, 805, 19, 77, 21, 3724, 29, 24050, 13, 29850, 23504, 9, 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, 1, 1...
JFrame.setDefaultLookAndFeelDecorated(true); === when i use setDefaultLookAndFeelDecorated(true) method in Java why is the Frame appear FullScreen when i maximize the Frame ? and how can i disaple the FullScreen mode in this method ?
0
[ 2, 487, 8361, 9, 3554, 13862, 9708, 5810, 290, 16963, 546, 716, 7432, 5, 13398, 6, 73, 800, 3726, 3726, 76, 31, 275, 309, 13862, 9708, 5810, 290, 16963, 546, 716, 7432, 5, 13398, 6, 2109, 19, 8247, 483, 25, 14, 3523, 1893, 503, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 retrieve latest from database using NHibernate after an update? === Here is the scenario: I have a winforms application using NHibernate. When launched, I populate a DataGridView with the results of a NHibernate query. This part works fine. If I update a record in that list and flush the session, the update takes in the database. Upon closing the form after the update, I call a method to retrieve a list of objects to populate the DataGridView again to pick up the change and also get any other changes that may have occurred by somebody else. The problem is that the record that got updated, NHibernate doesn't reflect the change in the list it gives me. When I insert or delete a record, everything works fine. It is just when I update, that I get this behavior. I narrowed it down to NHibernate with their caching mechanism. I cannot figure out a way to make NHibernate retrieve from the database instead of using the cache after an update occurs. I posted on the NHibernate forums, but the suggestions they gave me didn't work. I stated this and nobody replied back. I am not going to state what I have tried in case I didn't do it right. If you answer with something that I tried exactly, I will state it in the comments of your answer. This is the code that I use to retrieve the list: public IList<WorkOrder> FindBy(string fromDate, string toDate) { IQuery query = _currentSession.CreateQuery("from WorkOrder wo where wo.Date >= ? and wo.Date <= ?"); query.SetParameter(0, fromDate); query.SetParameter(1, toDate); return query.List<WorkOrder>(); } The session is passed to the class when it is constructed. I can post my mapping file also, but I am not sure if there is anything wrong with it, since everything else works. Anybody seen this before? This is the first project that I have used NHibernate, thanks for the help.
0
[ 2, 184, 92, 31, 11917, 5736, 37, 6018, 568, 12109, 15191, 8820, 75, 40, 11100, 60, 800, 3726, 3726, 235, 25, 14, 12705, 45, 31, 57, 21, 628, 4190, 18, 3010, 568, 12109, 15191, 8820, 9, 76, 1601, 15, 31, 1675, 12383, 21, 1054, 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...
Experiences with OpenLaszlo? === In a [related question][1], I asked about Web Development. I came across something called [OpenLaszlo][2] yesterday and thought it looked interesting for doing some website development. The site has a bunch of good information on it and they've got some nice tutorials and such, but being a noob (as far as web development goes), I'm wondering whether anyone here would recommend this. As I stated in my other question, this is a new world for me and there are a lot of directions I could go. Can you compare/contrast this and other web development you've done? Obviously, this is somewhat subjective, but I haven't heard much about it on SO and I'm hoping to get some opinions on this. [1]: http://stackoverflow.com/questions/112351/recommendations-for-starting-web-programming [2]: http://www.openlaszlo.org/
0
[ 2, 5513, 29, 368, 4830, 380, 1415, 60, 800, 3726, 3726, 19, 21, 636, 6203, 1301, 500, 2558, 165, 500, 15, 31, 411, 88, 2741, 522, 9, 31, 281, 464, 301, 227, 636, 10157, 4830, 380, 1415, 500, 2558, 135, 500, 7124, 17, 289, 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...
What is the best way to prevent highlighting of text when clicking on its containing div in javascript? === I am building a menu in HTML/CSS/JS and I need a way to prevent the text in the menu from being highlighted when double-clicked on. I need a way to pass the id's of several divs into a function and have highlighting turned off within them. So when the user accidentally (or on purpose) double clicks on the menu, the menu shows its sub-elements but it's text does not highlight. There are a number of scripts out there floating around on the web, but many seem outdated. What's the best way?
0
[ 2, 98, 25, 14, 246, 161, 20, 2501, 23102, 16, 1854, 76, 25590, 27, 82, 3503, 13, 12916, 19, 8247, 8741, 60, 800, 3726, 3726, 31, 589, 353, 21, 11379, 19, 13, 15895, 118, 6824, 18, 118, 728, 18, 17, 31, 376, 21, 161, 20, 2501, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
listing all functions in a python module === I'm not a pythonista, so I'm not sure if this is really obvious or not. I have a python module installed on my system and I'd like to be able to see what functions/classes/methods are available in it so I can call the doc function on each one. In ruby I can do something like ClassName.methods to get a list of all the methods available on that class. Is there something similar in python? eg. something like: from somemodule import foo print foo.methods # or whatever is the correct method to call
0
[ 2, 9554, 65, 3719, 19, 21, 20059, 12613, 800, 3726, 3726, 31, 22, 79, 52, 21, 20059, 9626, 15, 86, 31, 22, 79, 52, 562, 100, 48, 25, 510, 4674, 54, 52, 9, 31, 57, 21, 20059, 12613, 4066, 27, 51, 329, 17, 31, 22, 43, 101, 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...
Can I protect against SQL Injection by escaping single-quote and surrounding user input with single-quotes? === I realize that parameterized SQL queries is the optimal way to sanitize user input when building queries that contain user input, but I'm wondering what is wrong with taking user input and escaping any single quotes and surrounding the whole string with single quotes. Here's the code: sSanitizedInput = "'" & Replace(sInput, "'", "''") & "'" Any single-quote the user enters is replaced with double single-quotes, which eliminates the users ability to end the string, so anything else they may type, such as semicolons, percent signs, etc, will all be part of the string and not actually executed as part of the command. We are using Microsoft SQL Server 2000, for which I believe the single-quote is the only string delimiter and the only way to escape the string delimiter, so there is no way to execute anything the user types in. I don't see any way to launch an SQL injection attack against this, but I realize that if this were as bulletproof as it seems to me someone else would have thought of it already and it would be common practice. My question is this: what's wrong with this code? Does anybody know a way to get an SQL injection attack past this sanitization technique? Sample user input that exploits this technique would be very helpful. Thanks in advance.
0
[ 2, 92, 31, 2196, 149, 4444, 255, 13646, 34, 14700, 345, 8, 8970, 591, 17, 2470, 4155, 6367, 29, 345, 8, 8970, 3231, 60, 800, 3726, 3726, 31, 4007, 30, 18906, 1333, 4444, 255, 9386, 2829, 25, 14, 17586, 161, 20, 523, 242, 2952, 4...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Repeater, ListView, DataList, DataGrid, GridView ... Which to choose? === So many different controls to choose from! What are best practices for determining which control to use for displaying data in ASP.NET?
0
[ 2, 6830, 106, 15, 968, 4725, 15, 1054, 5739, 15, 1054, 16375, 15, 7354, 4725, 13, 9, 9, 9, 56, 20, 3538, 60, 800, 3726, 3726, 86, 151, 421, 8671, 20, 3538, 37, 187, 98, 50, 246, 5242, 26, 13521, 56, 569, 20, 275, 26, 17418, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Do you databind your object fields to your form controls? === Or do you populate your form controls manually by a method? Is either considered a best practice?
0
[ 2, 107, 42, 1054, 4772, 43, 154, 3095, 2861, 20, 154, 505, 8671, 60, 800, 3726, 3726, 54, 107, 42, 1675, 12383, 154, 505, 8671, 23671, 34, 21, 2109, 60, 25, 694, 724, 21, 246, 1345, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Adding Cookie to ZSI Posts === I've added cookie support to SOAPpy by overriding HTTPTransport. I need functionality beyond that of SOAPpy, so I was planning on moving to ZSI, but I can't figure out how to put the Cookies on the ZSI posts made to the service. Without these cookies, the server will think it is an unauthorized request and it will fail. How can I add cookies from a Python CookieJar to ZSI requests?
0
[ 2, 4721, 19980, 20, 2052, 18, 49, 9868, 800, 3726, 3726, 31, 22, 195, 905, 19980, 555, 20, 6447, 6448, 34, 84, 5175, 68, 7775, 7028, 1993, 9, 31, 376, 18548, 1701, 30, 16, 6447, 6448, 15, 86, 31, 23, 2334, 27, 1219, 20, 2052, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Redundant code constructs === The most egregiously redundant code construct I often see involves using the code sequence if (condition) return true; else return false; instead of simply writing return (condition); I've seen this beginner error in all sorts of languages: from Pascal and C to PHP and Java. What other such constructs would you flag in a code review?
0
[ 2, 24295, 1797, 6960, 18, 800, 3726, 3726, 14, 127, 13, 62, 17565, 18190, 24295, 1797, 6960, 31, 478, 196, 6569, 568, 14, 1797, 4030, 100, 13, 5, 22141, 6, 788, 1151, 73, 962, 788, 4997, 73, 700, 16, 1659, 1174, 788, 13, 5, 2214...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Developers that do not test there code === One of developers is continually writing code & putting it into the version control without testing it. The quality of our code is suffering as a result. Beside getting rid of the developer how can I solve this problem ?
0
[ 2, 10168, 30, 107, 52, 1289, 80, 1797, 800, 3726, 3726, 53, 16, 10168, 25, 16609, 1174, 1797, 279, 3873, 32, 77, 14, 615, 569, 366, 4431, 32, 9, 14, 2190, 16, 318, 1797, 25, 4957, 28, 21, 829, 9, 2113, 1017, 6681, 16, 14, 1005...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
What is your favorite first exercise === When you are learning a new language, what is your favorite first (or close to first) exercise that you do to get the hang of it?
0
[ 2, 98, 25, 154, 3839, 64, 5935, 800, 3726, 3726, 76, 42, 50, 2477, 21, 78, 816, 15, 98, 25, 154, 3839, 64, 13, 5, 248, 543, 20, 64, 6, 5935, 30, 42, 107, 20, 164, 14, 4546, 16, 32, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Relative path in t sql? === How to get the relative path in t sql? Take for example a .sql file is located in the folder D:\temp, I want to get path of the file hello.txt in the folder D:\temp\App_Data. How to use the relative path reference?
0
[ 2, 4543, 2013, 19, 13, 38, 4444, 255, 60, 800, 3726, 3726, 184, 20, 164, 14, 4543, 2013, 19, 13, 38, 4444, 255, 60, 247, 26, 823, 21, 13, 9, 18, 22402, 3893, 25, 335, 19, 14, 19294, 13, 43, 45, 1, 9577, 15, 31, 259, 20, 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...
Writing XML files using XmlTextWriter with ISO-8859-1 encoding (C#) === I'm having a problem writing Norwegian characters into an XML file using C#. I have a string variable containing some Norwegian text (with letters like æøå). I'm writing the XML using an XmlTextWriter, writing the contents to a MemoryStream like this: MemoryStream stream = new MemoryStream(); XmlTextWriter xmlTextWriter = new XmlTextWriter(stream, Encoding.GetEncoding("ISO-8859-1")); xmlTextWriter.Formatting = Formatting.Indented; xmlTextWriter.WriteStartDocument(); //Start doc Then I add my Norwegian text like this: xmlTextWriter.WriteCData(myNorwegianText); Then I write the file to disk like this: FileStream myFile = new FileStream(myPath, FileMode.Create); StreamWriter sw = new StreamWriter(myFile); stream.Position = 0; StreamReader sr = new StreamReader(stream); string content = sr.ReadToEnd(); sw.Write(content); sw.Flush(); myFile.Flush(); myFile.Close(); Now the problem is that in the file on this, all the Norwegian characters look funny. I'm probably doing the above in some stupid way. Any suggestions on how to fix it?
0
[ 2, 1174, 23504, 6488, 568, 23504, 11969, 9657, 29, 11899, 8, 3020, 3902, 8, 165, 19608, 13, 5, 150, 5910, 6, 800, 3726, 3726, 31, 22, 79, 452, 21, 1448, 1174, 3780, 1766, 77, 40, 23504, 3893, 568, 272, 5910, 9, 31, 57, 21, 3724,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 create a file with a given size in Linux? === For testing purposes I have to generate a file of a certain size (to test an upload limit). What is a command to create a file of a certain size on Linux?
0
[ 2, 184, 20, 1600, 21, 3893, 29, 21, 504, 1072, 19, 13024, 60, 800, 3726, 3726, 26, 4431, 4612, 31, 57, 20, 7920, 21, 3893, 16, 21, 1200, 1072, 13, 5, 262, 1289, 40, 71, 8294, 4496, 6, 9, 98, 25, 21, 1202, 20, 1600, 21, 3893,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Get the time of tomorrow xx:xx === what is an efficient way to get a certain time for the next day in Java? Let's say I want the long for tomorrow 03:30:00. Setting Calendar fields and Date formatting are obvious. Better or smarter ideas, thanks for sharing them! Okami
0
[ 2, 164, 14, 85, 16, 3450, 13, 8962, 45, 8962, 800, 3726, 3726, 98, 25, 40, 8243, 161, 20, 164, 21, 1200, 85, 26, 14, 328, 208, 19, 8247, 60, 408, 22, 18, 395, 31, 259, 14, 175, 26, 3450, 713, 25948, 45, 2032, 9, 2697, 7036, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can i run a script when i commit to subversion? === I'd like to run a script that builds the documentation for my php project. It is basically just using wget to run phpdoc.
0
[ 2, 92, 31, 485, 21, 3884, 76, 31, 9686, 20, 972, 10898, 60, 800, 3726, 3726, 31, 22, 43, 101, 20, 485, 21, 3884, 30, 1895, 18, 14, 13945, 26, 51, 13, 26120, 669, 9, 32, 25, 11374, 114, 568, 619, 3060, 20, 485, 13, 26120, 137...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Setting all values in a std::map === I'd like to set all the values in a std::map to the same value. Is there a method for this or do I have to iterate through the map and set them one by one?
0
[ 2, 2697, 65, 4070, 19, 21, 354, 43, 45, 45, 15022, 800, 3726, 3726, 31, 22, 43, 101, 20, 309, 65, 14, 4070, 19, 21, 354, 43, 45, 45, 15022, 20, 14, 205, 1923, 9, 25, 80, 21, 2109, 26, 48, 54, 107, 31, 57, 20, 32, 106, 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, 0, 0, 0, 0...
Can I create a BIDS project in VS2008 with SQL 2005? === From what I can find online about using VS2008 to create a integration/reporting services project it appears I need to have SQL 2008. Does anyone know of a work-around that would allow me to use VS2008 with SQL 2005?
0
[ 2, 92, 31, 1600, 21, 4458, 18, 669, 19, 4611, 2753, 29, 4444, 255, 812, 60, 800, 3726, 3726, 37, 98, 31, 92, 477, 2087, 88, 568, 4611, 2753, 20, 1600, 21, 8078, 118, 17437, 68, 687, 669, 32, 1780, 31, 376, 20, 57, 4444, 255, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Including quality into the software development project plan === What practically useful tips, tools, techniques, and general advise could you give to those development managers and contractors that are willing to make sure that the quality component of classic "budget, time, scope, quality equation" gets addressed appropriately as part of the initial project plan? For instance, setting aside some budget and time for delivery of prototypes, proof of concept. Or including automated unit testing coverage of the proposed software as part of the project plan. Many thanks.
4
[ 2, 215, 2190, 77, 14, 2306, 522, 669, 944, 800, 3726, 3726, 98, 7839, 4811, 11034, 15, 4672, 15, 4212, 15, 17, 297, 14640, 110, 42, 590, 20, 273, 522, 12657, 17, 19323, 30, 50, 4452, 20, 233, 562, 30, 14, 2190, 5912, 16, 2732, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Inno Setup: Capture control events in wizard page === In a user defined wizard page, is there a way to capture change or focus events of the controls? I want to provide an immediate feedback on user input in some dropdowns (e.g. a message box)
0
[ 2, 19, 251, 18161, 45, 3683, 569, 963, 19, 10276, 2478, 800, 3726, 3726, 19, 21, 4155, 2811, 10276, 2478, 15, 25, 80, 21, 161, 20, 3683, 753, 54, 1776, 963, 16, 14, 8671, 60, 31, 259, 20, 1181, 40, 5231, 13111, 27, 4155, 6367, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0...
Handling TDD interface changes === I've begun to use TDD. As mentioned in [an earlier question][1] the biggest difficulty is handling interface changes. How do you reduce the impact on your test cases as requirements change? [1]: http://stackoverflow.com/questions/64333/what-is-the-downside-to-test-driven-development#64402
0
[ 2, 7988, 15596, 43, 6573, 1693, 800, 3726, 3726, 31, 22, 195, 4349, 20, 275, 15596, 43, 9, 28, 2211, 19, 636, 210, 1201, 1301, 500, 2558, 165, 500, 14, 3835, 6967, 25, 7988, 6573, 1693, 9, 184, 107, 42, 4136, 14, 2261, 27, 154, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 MalformedURLException thrown in Java === I mean, how does Java decide which protocols are available? I run some code from inside Eclipse, and it works just fine. Then I run the same code from outside Eclipse, and I get "unknown protocol" MalformedURLException. Probably it has to do with the code base, or something? Any hints would be helpful. Thanks!
0
[ 2, 184, 25, 2814, 12609, 911, 255, 10066, 872, 6027, 19, 8247, 800, 3726, 3726, 31, 884, 15, 184, 630, 8247, 4073, 56, 19957, 50, 904, 60, 31, 485, 109, 1797, 37, 572, 11652, 15, 17, 32, 693, 114, 1123, 9, 94, 31, 485, 14, 205...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
#defines in linker scripts === For an embedded system I need to place a few data structures at fixed addresses, so that a separate control CPU can access them at a known location. I'm using linker scripts for the embedded target to accomplish this, plus #defines of those same addresses for the control CPU. It bothers me that these address constants are therefore defined in two places, the linker script and a header file. I'd like to have just one. The best solution I've come up with so far is to have the Makefile run cpp on the linker script, allowing it to #include the same header. Is there a better way to accomplish this? Is there some little-known option to ld or a naming convention for the linker script which will automatically run it through cpp?
0
[ 2, 6926, 13862, 10652, 19, 3508, 106, 17505, 800, 3726, 3726, 26, 40, 12138, 329, 31, 376, 20, 209, 21, 310, 1054, 3815, 35, 3535, 12636, 15, 86, 30, 21, 1725, 569, 17578, 92, 1381, 105, 35, 21, 167, 1474, 9, 31, 22, 79, 568, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Recommend an Open Source .NET Statistics Library === I need to calculate averages, standard deviations, medians etc for a bunch of numerical data. Is there a good open source .NET library I can use? I have found NMath but it is not free and may be overkill for my needs.
4
[ 2, 12360, 40, 368, 1267, 13, 9, 2328, 5818, 1248, 800, 3726, 3726, 31, 376, 20, 18469, 862, 18, 15, 1236, 22325, 18, 15, 2245, 18, 2722, 26, 21, 7653, 16, 16010, 1054, 9, 25, 80, 21, 254, 368, 1267, 13, 9, 2328, 1248, 31, 92, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Least favourite design pattern === OK, I'm not looking for anti-patterns - I'm looking for things that aren't really patterns, or perhaps patterns that have been abused. My personal least favourite is the "Helper" pattern. E.g. I need to create a SQL query, so call SQLQueryHelper. This needs to process some strings, so it in turn calls StringHelper. Etc., etc. See - this isn't really a design pattern at all...
0
[ 2, 639, 7740, 704, 3732, 800, 3726, 3726, 5854, 15, 31, 22, 79, 52, 699, 26, 1082, 8, 5972, 8766, 18, 13, 8, 31, 22, 79, 699, 26, 564, 30, 4847, 22, 38, 510, 6282, 15, 54, 1774, 6282, 30, 57, 74, 20055, 9, 51, 1319, 639, 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...
Do you advice me to use Qt Jambi in Java ? === Do you advice me to use Qt Jambi in Java as a toolkit ? and why ?
0
[ 2, 107, 42, 4978, 55, 20, 275, 2593, 38, 487, 9150, 19, 8247, 13, 60, 800, 3726, 3726, 107, 42, 4978, 55, 20, 275, 2593, 38, 487, 9150, 19, 8247, 28, 21, 5607, 13703, 13, 60, 17, 483, 13, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Best solution? Using WF StateMachine to follow user states on a web application. === I was looking at WF and was wondering if it would be best to use the StateMachine workflow to follow a users state. i.e. user is anonymous, user is known but not authenticated, user is known and authenticated. would this be a good way to go about solving this regular issue?
0
[ 2, 246, 4295, 60, 568, 13, 15263, 146, 20442, 20, 1740, 4155, 202, 27, 21, 2741, 3010, 9, 800, 3726, 3726, 31, 23, 699, 35, 13, 15263, 17, 23, 5712, 100, 32, 83, 44, 246, 20, 275, 14, 146, 20442, 170, 9990, 20, 1740, 21, 3878,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Log Post Parameters sent to a website === Something I have always been interested in out of curiosity, is there a tool or utility that will allow me so log post parameters sent to a website? Not a personal website, any site on the web. Reason for this, is that I want to be able to develop a .NET application without having to add the overhead of creating a WebBrowser object and then using the DOM to automate tasks on a website. I also want to use it to test security of my localhost development server, as I don't have VS Team System.
0
[ 2, 6738, 678, 12905, 795, 20, 21, 2271, 800, 3726, 3726, 301, 31, 57, 550, 74, 3158, 19, 70, 16, 11581, 15, 25, 80, 21, 5607, 54, 10082, 30, 129, 1655, 55, 86, 6738, 678, 12905, 795, 20, 21, 2271, 60, 52, 21, 1319, 2271, 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...
Is a Gannt Chart larger than a single page ever useful? === I've worked on a few projects managed through the use of a Gannt chart. Some of these have has a massive number of tasks and the project manager spends all their time wrestling with MS Project instead of making good choices. I can see the point if there are a number of separate teams working towards something (e.g. legal, IT, marketing) to manage a project overall. Has anyone participated in a software development project that has used a Gannt chart with any success?
0
[ 2, 25, 21, 7890, 2877, 1795, 1662, 119, 21, 345, 2478, 462, 4811, 60, 800, 3726, 3726, 31, 22, 195, 577, 27, 21, 310, 2314, 1471, 120, 14, 275, 16, 21, 7890, 2877, 1795, 9, 109, 16, 158, 57, 63, 21, 3787, 234, 16, 8674, 17, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Sun's code conventions or... === Should I stick with Sun's Java code conventions for PHP code?
0
[ 2, 939, 22, 18, 1797, 15117, 54, 9, 9, 9, 800, 3726, 3726, 378, 31, 5258, 29, 939, 22, 18, 8247, 1797, 15117, 26, 13, 26120, 1797, 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...
Is PHP international? === Can you create websites with Chinese characters in PHP?
0
[ 2, 25, 13, 26120, 294, 60, 800, 3726, 3726, 92, 42, 1600, 13931, 29, 1116, 1766, 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, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How can I capture the result of var_dump to a string? === I'd like to capture the output of [var_dump](http://us3.php.net/manual/en/function.var-dump.php) to a string. The PHP docs say >As with anything that outputs its result directly to the browser, the [output-control functions](http://us3.php.net/manual/en/ref.outcontrol.php) can be used to capture the output of this function, and save it in a string (for example). Can someone give me an example of how that might work?
0
[ 2, 184, 92, 31, 3683, 14, 829, 16, 4033, 1, 43, 11134, 20, 21, 3724, 60, 800, 3726, 3726, 31, 22, 43, 101, 20, 3683, 14, 5196, 16, 636, 3311, 1, 43, 11134, 500, 5, 21127, 6903, 267, 240, 9, 26120, 9, 2328, 118, 177, 6948, 11...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How universally is C99 supported ? === How universally is the C99 standard supported in today's compilers ? I understand that not even GCC fully supports it. Is this right ? Which features of C99 are supported more than others, i.e. which can I use to be quite sure that most compilers will understand me ? Thanks
0
[ 2, 184, 24365, 25, 272, 3483, 1827, 13, 60, 800, 3726, 3726, 184, 24365, 25, 14, 272, 3483, 1236, 1827, 19, 786, 22, 18, 21486, 18, 13, 60, 31, 1369, 30, 52, 166, 489, 3384, 2337, 6747, 32, 9, 25, 48, 193, 13, 60, 56, 967, 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...
What are some good methods to hinder screen scrapers from grabbing specific pieces of content off my site? === Pretty sure this question counts as blasphemy to most web 2.0 proponents, but I do think there are times when you could possibly *not* want pieces of your site being easily ripped off into someone else's arbitrary web aggregator. At least enough so they'd need to be arsed to do it by hand if they really wanted it. My idea was to make a script that positioned text nodes by absolute coordinates manually, but then stored those text nodes in a random, jumbled up order in the DOM. Of course, getting a system like that to work properly (proper text wrap, alignment, styling, etc.) seems almost akin to writing my own document renderer from scratch. I was also thinking of combining that with a CAPTCHA-like thing to muss up the text in subtle ways so as to hinder screen scrapers that could simply look at snapshots and discern letters or whatnot. But that's probably overthinking it. Hmm. Has anyone yet devised any good methods for doing something like this?
0
[ 2, 98, 50, 109, 254, 3195, 20, 19318, 2324, 10241, 445, 37, 9910, 1903, 2491, 16, 2331, 168, 51, 689, 60, 800, 3726, 3726, 1772, 562, 48, 1301, 9927, 28, 4768, 18, 10927, 915, 20, 127, 2741, 172, 9, 387, 15508, 18, 15, 47, 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...
Websphere 6.1 - Configuring Security === When i try to configure security through the admin console of Websphere it just hangs. Its at the last step of the below 4 steps Step 1: Specify extent of protection Step 2: Select user repository Step 3: Configure user repository Step 4: Summary Here are the extracts from my console [26/09/08 13:50:56:539 IST] 0000001f ServletWrappe I SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.security/EnableSecurity.jsp]: Initialization successful. [26/09/08 13:50:58:616 IST] 0000001f ServletWrappe I SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.security/SelectRegistry.jsp]: Initialization successful. [26/09/08 13:51:00:126 IST] 0000001f ServletWrappe I SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.security/ConfigureRegistry.jsp]: Initialization successful. [26/09/08 13:51:00:126 IST] 0000001f ServletWrappe I SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.security/LocalRegistry.jsp]: Initialization successful. [26/09/08 13:51:36:202 IST] 0000001f ServletWrappe I SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.security/ConfirmEnableSecurity.jsp]: Initialization successful. [26/09/08 13:52:20:255 IST] 0000001f UserRegistryI A SECJ0136I: Custom Registry:com.ibm.ws.security.registry.nt.NTLocalDomainRegistryImpl has been initialized [26/09/08 13:52:21:025 IST] 0000001f UserRegistryI A SECJ0136I: Custom Registry:com.ibm.ws.security.registry.nt.NTLocalDomainRegistryImpl has been initialized [26/09/08 14:04:03:127 IST] 00000019 ThreadMonitor W WSVR0605W: Thread "WebContainer : 2" (0000001f) has been active for 746076 milliseconds and may be hung. There is/are 1 thread(s) in total in the server that may be hung. Any idea what could be up here? Thanks Damien
0
[ 2, 2741, 14079, 400, 9, 165, 13, 8, 1065, 13549, 68, 1221, 800, 3726, 3726, 76, 31, 1131, 20, 1065, 15951, 1221, 120, 14, 21, 43, 2160, 8650, 16, 2741, 14079, 32, 114, 4546, 18, 9, 82, 35, 14, 236, 1424, 16, 14, 1021, 268, 238...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
connecting input _and_output between of two commands in shell/bash === I have two (UNIX) programs A and B that read and write from stdin/stdout. My first problem is how to connect the stdout of A to stdin of B _and_ the stdout of B to the stdin of A. I.e., something like A | B but a bidirectional pipe. I suspect I could solve this by [using exec to redirect][1] but I could not get it to work. The programs are interactive so a temporary file would not work. The second problem is that I would like to duplicate each direction and pipe a duplicate via a logging program to stdout so that I can see the (text-line based) traffic that pass between the programs. Here I may get away with tee >(...) if I can solve the first problem. Both these problems seems like they should have well known solutions but I have not be able to find anything. I would prefer a POSIX shell solution, or at least something that works in bash on cygwin. [1]: http://tldp.org/LDP/abs/html/x16834.html
0
[ 2, 6440, 6367, 13, 1, 290, 1, 1320, 4881, 128, 16, 81, 14294, 19, 3593, 118, 969, 1635, 800, 3726, 3726, 31, 57, 81, 13, 5, 1020, 4028, 6, 1726, 21, 17, 334, 30, 1302, 17, 2757, 37, 354, 3653, 118, 384, 43, 1320, 9, 51, 64, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 Themes samples/starter kits === I was wondering if there was somewhere I could get some starter kit / theme sample for ASP.NET. I am not a designer, but I need to build a prototype for a project, and if I do it myself it'll certainly be awful Do you know where I could find that (ASP.NET specific)?
0
[ 2, 28, 306, 9, 2328, 6876, 7855, 118, 2265, 815, 18003, 800, 3726, 3726, 31, 23, 5712, 100, 80, 23, 3493, 31, 110, 164, 109, 11744, 6346, 13, 118, 3184, 5717, 26, 28, 306, 9, 2328, 9, 31, 589, 52, 21, 4742, 15, 47, 31, 376, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...