unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Passing data between forms === I have the following scenario I have a main form as MDI parent and MDI child form, the child form shows a new form (I called it mydialog). I want to access specific function in the MDI child form from mydialog so I tried to set the Owner property in the mydialog object but exception o...
0
[ 2, 2848, 1054, 128, 1997, 800, 3726, 3726, 31, 57, 14, 249, 12705, 31, 57, 21, 407, 505, 28, 8138, 49, 4766, 17, 8138, 49, 850, 505, 15, 14, 850, 505, 1285, 21, 78, 505, 13, 5, 49, 227, 32, 51, 4286, 5567, 6, 9, 31, 259, 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...
ASP.NET configuration tool doesn't work in folders with special characters === it seems that I just solved my problem why I couldn't use the ASP.NET Configuration Tool in VS2008. It seems this tool doesn't work when the aps.net solution is located in a folder containing special characters - spaces for example. Actuall...
0
[ 2, 28, 306, 9, 2328, 8091, 5607, 1437, 22, 38, 170, 19, 19294, 18, 29, 621, 1766, 800, 3726, 3726, 32, 2206, 30, 31, 114, 15091, 51, 1448, 483, 31, 711, 22, 38, 275, 14, 28, 306, 9, 2328, 8091, 5607, 19, 4611, 2753, 9, 32, 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...
Python threads stack_size and segfaults === A web crawler script that spawns at most 500 threads and each thread basically requests for certain data served from the remote server, which each server's reply is different in content and size from others. i'm setting stack_size as 756K's for threads threading.st...
0
[ 2, 20059, 20396, 7566, 1, 10454, 17, 1353, 16368, 9708, 18, 800, 3726, 3726, 21, 2741, 12392, 106, 3884, 30, 13, 22860, 18, 35, 127, 3033, 20396, 17, 206, 9322, 11374, 12279, 26, 1200, 1054, 423, 37, 14, 5388, 8128, 15, 56, 206, 8...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Double-checked locking in .net === I came across this [article][1] discussing why the double-check locking paradigm is broken in java. Is the paradigm valid for .net (in particular, C#), if variables are declared volatile? [1]: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
0
[ 2, 1494, 8, 12542, 69, 17538, 19, 13, 9, 2328, 800, 3726, 3726, 31, 281, 464, 48, 636, 20360, 500, 2558, 165, 500, 10988, 483, 14, 1494, 8, 12542, 17538, 20234, 25, 2023, 19, 8247, 9, 25, 14, 20234, 7394, 26, 13, 9, 2328, 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...
How to write an automated test for thread safety === I have a class which is not thread safe: class Foo { /* Abstract base class, code which is not thread safe */ }; Moreover, if you have foo1 and foo2 objects, you cannot call foo1->someFunc() until foo2->anotherFunc() has returned (this can ...
0
[ 2, 184, 20, 2757, 40, 14904, 1289, 26, 9322, 2108, 800, 3726, 3726, 31, 57, 21, 718, 56, 25, 52, 9322, 1834, 45, 718, 4310, 111, 13, 1, 13, 118, 2483, 8502, 1000, 718, 15, 1797, 56, 25, 52, 9322, 1834, 1637, 118, 13, 1, 73, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to determine if a certain key is pressed, knowing only its position on U.S. keyboards? === Consider that, for a Windows video game, I need to determine if the key which generates the ` and ~ characters on the U.S. English keyboard layout (which is usually below the Escape key and left to 1) has been pressed. This ...
0
[ 2, 184, 20, 3746, 100, 21, 1200, 1246, 25, 2931, 15, 2506, 104, 82, 649, 27, 287, 9, 18, 9, 5362, 60, 800, 3726, 3726, 3563, 30, 15, 26, 21, 1936, 763, 250, 15, 31, 376, 20, 3746, 100, 14, 1246, 56, 7920, 18, 14, 13, 1, 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...
Packet data structure? === I'm designing a game server and I have never done anything like this before. I was just wondering what a good structure for a packet would be data-wise? I am using TCP if it matters. Here's an example, and what I was considering using as of now: (each value in brackets is a byte) [...
0
[ 2, 12795, 1054, 1411, 60, 800, 3726, 3726, 31, 22, 79, 15026, 21, 250, 8128, 17, 31, 57, 243, 677, 602, 101, 48, 115, 9, 31, 23, 114, 5712, 98, 21, 254, 1411, 26, 21, 12795, 83, 44, 1054, 8, 10474, 60, 31, 589, 568, 13, 38, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Best way to call an instance method in Expression Trees? === What is the best way to call an instance method within an Expression Tree? My current solution is something like this for an interface method "object GetRowValue(rowIndex)" of the interface IColumn. public static Expression CreateGetRowValueExpression...
0
[ 2, 246, 161, 20, 645, 40, 4851, 2109, 19, 1803, 1913, 60, 800, 3726, 3726, 98, 25, 14, 246, 161, 20, 645, 40, 4851, 2109, 363, 40, 1803, 1541, 60, 51, 866, 4295, 25, 301, 101, 48, 26, 40, 6573, 2109, 13, 7, 23793, 164, 5417, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it possible in .Net to call some code only from debug builds of client assemblies? === I am writing a (very small) framework for checking pre- and postconditions of methods. Entry points are: public static class Ensures { public static Validation That { get { ... } } } ...
0
[ 2, 25, 32, 938, 19, 13, 9, 2328, 20, 645, 109, 1797, 104, 37, 121, 16254, 1895, 18, 16, 6819, 21066, 60, 800, 3726, 3726, 31, 589, 1174, 21, 13, 5, 7864, 284, 6, 6596, 26, 9886, 782, 8, 17, 678, 22141, 18, 16, 3195, 9, 2792,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Flex: How does the compiler know about dependencies? === I'm completely new to Flex and am just having a play with a sample application from the Mate framework. I'm hacking on Linux so I'm using the command prompt and a text editor rather than Flex Builder. The sample app has two folders in its root directory lib &...
0
[ 2, 14409, 45, 184, 630, 14, 21486, 143, 88, 29411, 60, 800, 3726, 3726, 31, 22, 79, 1524, 78, 20, 14409, 17, 589, 114, 452, 21, 418, 29, 21, 5717, 3010, 37, 14, 5252, 6596, 9, 31, 22, 79, 25787, 27, 13024, 86, 31, 22, 79, 56...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Sample Modal in JQuery === I am using SampleModal in JQuery, and I have One Confirm Dialog ,If it is Yes , I have To Call my.php into This Dialog,However I done the code ,I still Searching Ideas, any help? $(document).ready(function () { $('#confirmDialog input.confirm, #confirmDialog a.confirm').c...
0
[ 2, 5717, 13, 20756, 19, 487, 8190, 93, 800, 3726, 3726, 31, 589, 568, 5717, 20756, 19, 487, 8190, 93, 15, 17, 31, 57, 53, 10265, 28223, 13, 15, 821, 32, 25, 1643, 13, 15, 31, 57, 20, 645, 51, 9, 26120, 77, 48, 28223, 15, 253...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 state of the art in RDF libraries and stores? === I am looking for a robust RDF store with the following features: - Named graphs, or some other form of reification. - Version tracking (probably at the named graph level). - Privacy between groups of users, either at named graph or triple level. ...
0
[ 2, 98, 25, 14, 146, 16, 14, 415, 19, 13, 897, 410, 8649, 17, 4134, 60, 800, 3726, 3726, 31, 589, 699, 26, 21, 15313, 13, 897, 410, 1718, 29, 14, 249, 967, 45, 13, 8, 377, 7210, 18, 15, 54, 109, 89, 505, 16, 302, 4634, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you write your own View engine for ASP.NET MVC? === I know that ASP.NET MVC will allow me to swap in various View engines that other people have created, but I am wondering how can I create my own View engine? **More info:** We have our own webforms based CMS and the main selling point about MVC is that it ...
0
[ 2, 184, 107, 42, 2757, 154, 258, 1418, 1406, 26, 28, 306, 9, 2328, 307, 8990, 60, 800, 3726, 3726, 31, 143, 30, 28, 306, 9, 2328, 307, 8990, 129, 1655, 55, 20, 17150, 19, 617, 1418, 4016, 30, 89, 148, 57, 679, 15, 47, 31, 58...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why can Conway’s Game of Life be classified as a universal machine? === I was recently reading about artificial life and came across the statement, "Conway’s Game of Life demonstrates enough complexity to be classified as a universal machine." I only had a rough understanding of what a universal machine is, and wikipe...
0
[ 2, 483, 92, 17413, 1, 18, 250, 16, 201, 44, 5110, 28, 21, 4172, 1940, 60, 800, 3726, 3726, 31, 23, 1989, 1876, 88, 6809, 201, 17, 281, 464, 14, 3331, 15, 13, 7, 1126, 1443, 1, 18, 250, 16, 201, 19466, 511, 12745, 20, 44, 511...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Tab key behavior in browser edit control === Web browsers are good as thin clients for web applications. But if the user has to enter some code (where tabs and formatting are important) in an edit box, inside a web browser, he navigates through the webpage controls every time he hits the "tab" key, instead of pri...
0
[ 2, 6523, 1246, 3257, 19, 16495, 9392, 569, 800, 3726, 3726, 2741, 16495, 18, 50, 254, 28, 2951, 7421, 26, 2741, 3767, 9, 47, 100, 14, 4155, 63, 20, 2830, 109, 1797, 13, 5, 2798, 6523, 18, 17, 2595, 1203, 50, 681, 6, 19, 40, 93...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Download from EXPLOSM.net Comics Script [Python] === So I wrote this short script (correct word?) to download the comic images from explosm.net comics because I somewhat-recently found out about it and I want to...put it on my iPhone...3G. It works fine and all. urllib2 for getting webpage html and urllib for image...
0
[ 2, 7121, 37, 13, 6899, 4341, 79, 9, 2328, 4806, 3884, 636, 6448, 11570, 500, 800, 3726, 3726, 86, 31, 738, 48, 502, 3884, 13, 5, 25345, 833, 60, 6, 20, 7121, 14, 3225, 3502, 37, 13, 6899, 4341, 79, 9, 2328, 4806, 185, 31, 4131...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 practice to run Linux service as a different user === Services default to starting as `root` at boot time on my RHEL box. IIRC, the same is true for other Linux distros which use the init scripts in `/etc/init.d`. What do you think is the best way to instead have the processes run as a (static) user of my choo...
0
[ 2, 246, 1345, 20, 485, 13024, 365, 28, 21, 421, 4155, 800, 3726, 3726, 687, 12838, 20, 1422, 28, 13, 1, 14032, 1, 35, 6801, 85, 27, 51, 9940, 255, 1649, 9, 595, 5453, 15, 14, 205, 25, 1151, 26, 89, 13024, 1460, 3996, 18, 56, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Gridview link button click event - Windows application === How to handle click event of the linkbutton in gridview in vb.net (windows application ) Thanks
0
[ 2, 7354, 4725, 3508, 5167, 10840, 807, 13, 8, 1936, 3010, 800, 3726, 3726, 184, 20, 3053, 10840, 807, 16, 14, 3508, 811, 444, 19, 7354, 4725, 19, 13, 20468, 9, 2328, 13, 5, 27508, 18, 3010, 13, 6, 3669, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Tools to enforce a coding style for Javascript === I need to automatically check the style of javascript sources written by different people. Do you know of a good tool to do it? Integration with emacs would be a plus. Thank you in advance.
0
[ 2, 4672, 20, 16525, 21, 13, 15458, 1034, 26, 8247, 8741, 800, 3726, 3726, 31, 376, 20, 7499, 2631, 14, 1034, 16, 8247, 8741, 2662, 642, 34, 421, 148, 9, 107, 42, 143, 16, 21, 254, 5607, 20, 107, 32, 60, 8078, 29, 13, 62, 6893,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
how to make textarea same width in IE and Firefox? === I want to have a textarea that's 500px, this is the CSS I use for the textarea: width: 498px; padding: 0px; margin: 0px; I noticed IE and Chrome have a 1px border by default, on the other hand FF have a 2px border which results the textarea to be 502px ins...
0
[ 2, 184, 20, 233, 1854, 17760, 205, 9456, 19, 13, 660, 17, 535, 18219, 60, 800, 3726, 3726, 31, 259, 20, 57, 21, 1854, 17760, 30, 22, 18, 3033, 306, 396, 15, 48, 25, 14, 272, 18, 18, 31, 275, 26, 14, 1854, 17760, 45, 9456, 45...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Quick Java question: Casting an array of Object into an array of my intended class === Just for review, can someone quickly explain what prevents this from working: public DataObject[] getDataObjects( ) { return (DataObject[]) Data.toArray(); } ...and what make this the way that DOES work:...
0
[ 2, 2231, 8247, 1301, 45, 9087, 40, 7718, 16, 3095, 77, 40, 7718, 16, 51, 2081, 718, 800, 3726, 3726, 114, 26, 1487, 15, 92, 737, 976, 3271, 98, 2501, 18, 48, 37, 638, 45, 317, 1054, 23793, 2558, 500, 164, 18768, 23793, 18, 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...
Cross-site XMLHttpRequest === I want to provide a piece of Javascript code that will work on any website where it is included, but it always needs to get more data (or even modify data) on the server where the Javascript is hosted. I know that there are security restrictions in place for obvious reasons. Consider i...
0
[ 2, 919, 8, 9097, 23504, 21127, 99, 10351, 800, 3726, 3726, 31, 259, 20, 1181, 21, 1855, 16, 8247, 8741, 1797, 30, 129, 170, 27, 186, 2271, 113, 32, 25, 506, 15, 47, 32, 550, 2274, 20, 164, 91, 1054, 13, 5, 248, 166, 17579, 105...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
templatetags don't refresh === I have two templatetags in my app which contain forms which show entries in db. When I alter data or add new entry to db forms show the old data while in admin panel everything is correct (updated). When I restart the server (I mean manage.py runserver) forms show updated db entries. How...
0
[ 2, 22894, 8628, 18, 221, 22, 38, 24905, 800, 3726, 3726, 31, 57, 81, 22894, 8628, 18, 19, 51, 4865, 56, 3717, 1997, 56, 298, 11399, 19, 13, 9007, 9, 76, 31, 7835, 1054, 54, 3547, 78, 2792, 20, 13, 9007, 1997, 298, 14, 315, 105...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Best way to separate Business from Presentation Logic? === I want to create a game that will work both locally and online. My first thought was to create an interface that would have all the methods that will be needed by the GUI for the business logic and then have a network implementation and a local implementati...
0
[ 2, 246, 161, 20, 1725, 508, 37, 6364, 7085, 60, 800, 3726, 3726, 31, 259, 20, 1600, 21, 250, 30, 129, 170, 156, 6680, 17, 2087, 9, 51, 64, 289, 23, 20, 1600, 40, 6573, 30, 83, 57, 65, 14, 3195, 30, 129, 44, 851, 34, 14, 94...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PHP set_inlude_path and include best practises === Where would set_include_path("../../"); point to? I am trying to run some PHP code on a standard XAMPP server. And put my stuff into the htdocs folder. The includes point to relative paths, But it does not work. Is there any best-practise for includes? Th...
0
[ 2, 13, 26120, 309, 1, 108, 17405, 1, 8353, 17, 468, 246, 27954, 18, 800, 3726, 3726, 113, 83, 309, 1, 22640, 1, 8353, 5, 7, 9, 9, 118, 9, 9, 118, 7, 6, 73, 454, 20, 60, 31, 589, 749, 20, 485, 109, 13, 26120, 1797, 27, 21...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Using knockd to do stuff === I was wondering, whether knockd http://www.zeroflux.org/cgi-bin/cvstrac.cgi/knock/wiki would be a good was to be able to restart apache without logging into ssh. But my programming question was whether there is a way to send tcp/udp packages via PHP so I can knock via a webclient. I am ...
0
[ 2, 568, 5307, 43, 20, 107, 3217, 800, 3726, 3726, 31, 23, 5712, 15, 1472, 5307, 43, 7775, 6903, 6483, 9, 3592, 1041, 9452, 9, 5583, 118, 150, 2234, 8, 4772, 118, 12732, 5253, 150, 9, 150, 2234, 118, 26927, 118, 17375, 83, 44, 21...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Help with recursive query === I've following problem, which I've not been able to do successfully. Your help will be appreciated. I'm using SQL 2005, and trying to do this using CTE. Table has following 2 columns DocNum DocEntry 1 234 2 324 2 746 3 8...
0
[ 2, 448, 29, 302, 24244, 25597, 800, 3726, 3726, 31, 22, 195, 249, 1448, 15, 56, 31, 22, 195, 52, 74, 777, 20, 107, 3673, 9, 154, 448, 129, 44, 13746, 9, 31, 22, 79, 568, 4444, 255, 812, 15, 17, 749, 20, 107, 48, 568, 13, 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...
how to force asp:label inside asp:table to always have the same width? === I don't really FEEL css and it doesn't always work as i think it would. This is one of these situations: i have a simple (2 rows, 2 columns) asp:table generated dynamically. in the right column it contains a combo box (cell (0, 1)) and a labe...
0
[ 2, 184, 20, 558, 28, 306, 45, 21018, 572, 28, 306, 45, 5924, 20, 550, 57, 14, 205, 9456, 60, 800, 3726, 3726, 31, 221, 22, 38, 510, 583, 272, 18, 18, 17, 32, 1437, 22, 38, 550, 170, 28, 31, 277, 32, 83, 9, 48, 25, 53, 16...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to programmatically capture a web page with forced updates. === I need to capture a web site and am looking for an appropriate library or program to do this. The website uses Java Script and pushes updates to the page and I need to capture these as well as the page itself. I am using curl to capture the page itsel...
0
[ 2, 184, 20, 625, 6732, 1326, 3683, 21, 2741, 2478, 29, 1292, 16779, 9, 800, 3726, 3726, 31, 376, 20, 3683, 21, 2741, 689, 17, 589, 699, 26, 40, 4593, 1248, 54, 625, 20, 107, 48, 9, 14, 2271, 2027, 8247, 3884, 17, 16271, 16779, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 benefits does creating an API give to your service? === If I was a webservice, such as Twitter, how does creating an API for people to access my data help me? I can see that they are extending your service to areas that you might not have the resources to expand to (in a way extending your own service), but is it...
0
[ 2, 98, 5800, 630, 2936, 40, 21, 2159, 590, 20, 154, 365, 60, 800, 3726, 3726, 100, 31, 23, 21, 2741, 11449, 15, 145, 28, 10623, 15, 184, 630, 2936, 40, 21, 2159, 26, 148, 20, 1381, 51, 1054, 448, 55, 60, 31, 92, 196, 30, 59,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Save entire desktop state? === I'd love to have a utility that would save and restore my current desktop state, much like sessions in Firefox. At best, it would freeze every application's state, open window positions, etc. and provide a scriptable interface to restore them at any time, just as you'd left them. Mor...
0
[ 2, 2079, 1078, 17404, 146, 60, 800, 3726, 3726, 31, 22, 43, 339, 20, 57, 21, 10082, 30, 83, 2079, 17, 8454, 51, 866, 17404, 146, 15, 212, 101, 5763, 19, 535, 18219, 9, 35, 246, 15, 32, 83, 11551, 352, 3010, 22, 18, 146, 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...
Vim syntax coloring: How do I highlight long lines only? === I would like vim to color "long" lines for me. Using 80 columns as an example, I would like to highlight lines that exceed that length. Here is roughly what I think the .vimrc file should contain, although it (1) doesn't work, and (2) uses Perl's regex syn...
0
[ 2, 1790, 79, 22649, 1665, 68, 45, 184, 107, 31, 14373, 175, 1560, 104, 60, 800, 3726, 3726, 31, 83, 101, 1790, 79, 20, 1665, 13, 7, 2701, 7, 1560, 26, 55, 9, 568, 2972, 7498, 28, 40, 823, 15, 31, 83, 101, 20, 14373, 1560, 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...
RAII and smart pointers in C++ === In practice with C++, what is [RAII][1], what are [smart pointers][2], how are these implemented in a program and what are the benefits of using RAII with smart pointers? [1]: http://en.wikipedia.org/wiki/Resource_acquisition_is_initialization [2]: http://en.wikipedia.org/wiki/...
0
[ 2, 6623, 49, 17, 3978, 454, 445, 19, 272, 20512, 800, 3726, 3726, 19, 1345, 29, 272, 20512, 15, 98, 25, 636, 9618, 49, 500, 2558, 165, 500, 15, 98, 50, 636, 18, 9534, 454, 445, 500, 2558, 135, 500, 15, 184, 50, 158, 6807, 19, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What should be considered when deciding between explicit vs implicit paging in a UI? === When a list becomes very large, presenting it in a UI raises a design issue. Should the user get pages of items or should the user get a list control that pages items implicitly as it is scrolled? In google search, paging of r...
0
[ 2, 98, 378, 44, 724, 76, 11211, 128, 14990, 4611, 20290, 19006, 68, 19, 21, 13, 5661, 60, 800, 3726, 3726, 76, 21, 968, 2633, 253, 370, 15, 12310, 32, 19, 21, 13, 5661, 15303, 21, 704, 1513, 9, 378, 14, 4155, 164, 4434, 16, 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...
Switching off optimization for a secific function in gcc 4.2.2 === Is it possible to switch of optimization of a specific function. A friend of mine has the problem that the gcc optimization makes some (unknown to me) µ-controller-code not work. We know which functions it is, but we have no clue of the code itself s...
0
[ 2, 13027, 168, 21597, 26, 21, 9265, 821, 596, 1990, 19, 489, 3384, 268, 9, 135, 9, 135, 800, 3726, 3726, 25, 32, 938, 20, 5521, 16, 21597, 16, 21, 1903, 1990, 9, 21, 860, 16, 1114, 63, 14, 1448, 30, 14, 489, 3384, 21597, 1364,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 perform a background load and scraping of a page with XUL/Firefox Extension === I'm looking for a nice place to learn how I can load a page inside a function called buy the infamous set_timeout() to process a screen-scraping in the background. My idea is to present the results of such scraping in a status ba...
0
[ 2, 184, 20, 2985, 21, 2395, 6305, 17, 25611, 16, 21, 2478, 29, 993, 1287, 118, 5929, 18219, 3896, 800, 3726, 3726, 31, 22, 79, 699, 26, 21, 2210, 209, 20, 2484, 184, 31, 92, 6305, 21, 2478, 572, 21, 1990, 227, 3034, 14, 15865, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Get css top value as number not as string? === In jQuery you can get the top position relative to the parent as a number, but you can not get the css top value as a number if it was set in px. Say I have the following: <pre> #elem{ position:relative; top:10px; } </pre> <pre> &lt;div> Bla text bla t...
0
[ 2, 164, 272, 18, 18, 371, 1923, 28, 234, 52, 28, 3724, 60, 800, 3726, 3726, 19, 487, 8190, 93, 42, 92, 164, 14, 371, 649, 4543, 20, 14, 4766, 28, 21, 234, 15, 47, 42, 92, 52, 164, 14, 272, 18, 18, 371, 1923, 28, 21, 234, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Three Layered Web Application === Is it OK - best practise wise - to use the second layer to redirect the user? For example: public static void ForceLogin() { HttpCookie cookie = HttpContext.Current.Request.Cookies[cookieName]; if (cookie != null) { if (Regex.Is...
0
[ 2, 132, 5385, 69, 2741, 3010, 800, 3726, 3726, 25, 32, 5854, 13, 8, 246, 27954, 6714, 13, 8, 20, 275, 14, 153, 5385, 20, 302, 14706, 14, 4155, 60, 26, 823, 45, 317, 12038, 11364, 558, 5567, 108, 5, 6, 13, 1, 7775, 716, 17391, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Using cmake to generate visual studio C++ project files === I am working on an open source C++ project, for code that compiles on Linux and Windows. I use cmake to build the code on Linux. For ease of dev-setup and political reasons, I must stick to visual studio project files/editor on Windows (I can't switch to Code...
0
[ 2, 568, 272, 11115, 20, 7920, 3458, 1120, 272, 20512, 669, 6488, 800, 3726, 3726, 31, 589, 638, 27, 40, 368, 1267, 272, 20512, 669, 15, 26, 1797, 30, 26561, 18, 27, 13024, 17, 1936, 9, 31, 275, 272, 11115, 20, 1895, 14, 1797, 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...
Difference between .Owner property and ShowDialog(IWin32Window owner) ? === I presume a winform's owner can be set explicitly via the **.Owner** property OR by passing the owner in the overloaded method **ShowDialog(IWin32Window owner)** I am unable to understand why these methods exhibit different behavior when wo...
0
[ 2, 2841, 128, 13, 9, 10705, 1354, 17, 298, 4286, 5567, 5, 49, 4181, 3125, 27508, 2410, 6, 13, 60, 800, 3726, 3726, 31, 29294, 21, 628, 4190, 22, 18, 2410, 92, 44, 309, 13108, 1197, 14, 13, 1409, 9, 10705, 1409, 1354, 54, 34, 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...
WPF: How to layout a dialogs in XAML? === i'm trying to figure out how to layout a simple dialog in WPF. i spent about two hours dimensioning this sample dialog box from Windows Vista with the various dlu measurements. Can someone please give the corresponding XAML markup that generates this dialog box? ![alt t...
0
[ 2, 619, 7721, 45, 184, 20, 9106, 21, 28223, 18, 19, 13, 6791, 8184, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 1465, 70, 184, 20, 9106, 21, 1935, 28223, 19, 619, 7721, 9, 31, 1111, 88, 81, 974, 9547, 68, 48, 5717, 28223, 1649, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Preserving relational integrity with Mnesia === I've been diving into Erlang recently, and I decided to use Mnesia to do my database work given it can store any kind of Erlang data structure without a problem, scale with ease, be used with list comprehensions, etc. Coming from standard SQL databases, most rows can ...
0
[ 2, 17936, 5827, 192, 11961, 29, 307, 2696, 549, 800, 3726, 3726, 31, 22, 195, 74, 9837, 77, 13, 106, 9949, 1989, 15, 17, 31, 868, 20, 275, 307, 2696, 549, 20, 107, 51, 6018, 170, 504, 32, 92, 1718, 186, 825, 16, 13, 106, 9949,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Strategies to Avoid Transaction Escalation in System.Transactions === So, based on the answer to [my previous question][1], transactions _do_ get elevated from the LTM to the DTC if multiple connections are opened during a transaction, even if the connections all have the same connection string. So, my next questio...
0
[ 2, 10272, 20, 2658, 12799, 13, 13944, 10832, 19, 329, 9, 7028, 8645, 18, 800, 3726, 3726, 86, 15, 432, 27, 14, 1623, 20, 636, 915, 1158, 1301, 500, 2558, 165, 500, 15, 13147, 13, 1, 537, 1, 164, 8052, 37, 14, 7137, 79, 20, 14,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Formatting text for a combobox, C# === I have three values I need to align in a dropdown box. How can I do this? I've been trying this: <code> String.Format("{0,-30}{1,-15}{2,-10}{3,-8}", new object[] { cusJob, service, username, time }); </code> But that leaves it uneven because it's not a monospaced font. I don'...
0
[ 2, 2595, 1203, 1854, 26, 21, 22621, 5309, 15, 272, 5910, 800, 3726, 3726, 31, 57, 132, 4070, 31, 376, 20, 23389, 19, 21, 2804, 2968, 1649, 9, 184, 92, 31, 107, 48, 60, 31, 22, 195, 74, 749, 48, 45, 13, 1, 9375, 1, 3724, 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...
lossless video codec playback in Java === I need to encode a sequence of frames with a lossless video codec and play them in a Java app. I don't care about the file size. The output frames should match the input frames exactly. Lossy codecs don't do this even at high bit rates. None of these well-known lossless vid...
0
[ 2, 1526, 923, 763, 1797, 150, 21306, 19, 8247, 800, 3726, 3726, 31, 376, 20, 20523, 21, 4030, 16, 12809, 29, 21, 1526, 923, 763, 1797, 150, 17, 418, 105, 19, 21, 8247, 4865, 9, 31, 221, 22, 38, 781, 88, 14, 3893, 1072, 9, 14, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Configure Emacs FlyMake to use Rakefile as well as Makefile === I have been learning to use Emacs for a little while now. So far liking it a lot. My problem is that for little C codes I prefer using Rake instead of Make. However flymake does not seem to want anything else than Make. As it complains that it can not ...
0
[ 2, 1065, 15951, 13, 62, 6893, 18, 2855, 11115, 20, 275, 21009, 16877, 28, 134, 28, 233, 16877, 800, 3726, 3726, 31, 57, 74, 2477, 20, 275, 13, 62, 6893, 18, 26, 21, 265, 133, 130, 9, 86, 463, 19007, 32, 21, 865, 9, 51, 1448, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Exceptions from DLL/Shared libs === Suppose you are developing a library with classes to be exported through a DLL (on Windows, or similar shared-library like Linux ELF shared libs). Member functions on those classes throw exceptions either from the standard library or library defined exceptions. It is totally safe...
0
[ 2, 13392, 37, 13, 43, 211, 118, 16608, 43, 13, 8326, 18, 800, 3726, 3726, 5787, 42, 50, 3561, 21, 1248, 29, 2684, 20, 44, 18011, 120, 21, 13, 43, 211, 13, 5, 218, 1936, 15, 54, 835, 2592, 8, 1210, 2559, 622, 101, 13024, 15704,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
jQuery UI Datepicker and datejs === I want to have a datepicker where you can also just type basically I want to have the jQuery UI Datepicker and datejs in one. I want to type "tomorrow" and I want it to select the right day. I want to be able to type "saturday" and it actually getting the date right.
0
[ 2, 487, 8190, 93, 13, 5661, 1231, 16855, 106, 17, 1231, 728, 18, 800, 3726, 3726, 31, 259, 20, 57, 21, 1231, 16855, 106, 113, 42, 92, 67, 114, 1001, 11374, 31, 259, 20, 57, 14, 487, 8190, 93, 13, 5661, 1231, 16855, 106, 17, 12...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
We need to lock a .NET Int32 when reading it in a multithreaded code? === I was reading the following article: http://msdn.microsoft.com/en-us/magazine/cc817398.aspx "Solving 11 Likely Problems In Your Multithreaded Code" by Joe Duffy And it raised me a question: "We need to lock a .NET Int32 when reading it in ...
0
[ 2, 95, 376, 20, 3991, 21, 13, 9, 2328, 19, 38, 3125, 76, 1876, 32, 19, 21, 1889, 96, 10647, 69, 1797, 60, 800, 3726, 3726, 31, 23, 1876, 14, 249, 2002, 45, 7775, 6903, 79, 18, 43, 103, 9, 22019, 12980, 9, 960, 118, 219, 8, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Any interesting uses of Makefiles to share? === "make" is not only useful for building your programming project, but it seems to be under-used in other areas. For example, many shell scripts can be rewritten as Makefiles to allow independent parts to run in parallel (with "make -jXX") to keep all your CPU cores bus...
0
[ 2, 186, 4883, 2027, 16, 233, 16877, 18, 20, 1891, 60, 800, 3726, 3726, 13, 7, 11115, 7, 25, 52, 104, 4811, 26, 353, 154, 3143, 669, 15, 47, 32, 2206, 20, 44, 131, 8, 8795, 19, 89, 924, 9, 26, 823, 15, 151, 3593, 17505, 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...
Is it possible to load a Rails helper at run time? === I have a View that can vary significantly, depending on the 'mode' a particular user has chosen. I thought I would extract the different behavior into two different Helpers, and then have code like this in the Controller: class MyController < Application...
0
[ 2, 25, 32, 938, 20, 6305, 21, 2240, 18, 448, 106, 35, 485, 85, 60, 800, 3726, 3726, 31, 57, 21, 1418, 30, 92, 7392, 5085, 15, 4758, 27, 14, 13, 22, 15570, 22, 21, 1498, 4155, 63, 2519, 9, 31, 289, 31, 83, 10962, 14, 421, 3...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Extend System.Windows.Forms.ComboBox === I would like to extend the System.Windows.Forms.ComboBox control with a ReadOnly property, which would display the selected item’s text (similar to a label) when ReadOnly = true. (I do not like the disabled look achieved by setting Enabled=false) How do I do this in winforms...
0
[ 2, 7206, 329, 9, 27508, 18, 9, 4190, 18, 9, 960, 1192, 5309, 800, 3726, 3726, 31, 83, 101, 20, 7206, 14, 329, 9, 27508, 18, 9, 4190, 18, 9, 960, 1192, 5309, 569, 29, 21, 1302, 4965, 1354, 15, 56, 83, 3042, 14, 1704, 9101, 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...
Are there CPAN modules that will help me parse an RSS or ATOM feed in Perl? === I need code in Perl for requesting and parsing ATOM and RSS feeds. Is there a CPAN module(s) for that?
0
[ 2, 50, 80, 272, 3206, 17113, 30, 129, 448, 55, 2017, 870, 40, 13, 1224, 18, 54, 14571, 4063, 19, 416, 255, 60, 800, 3726, 3726, 31, 376, 1797, 19, 416, 255, 26, 20033, 17, 2017, 18, 68, 14571, 17, 13, 1224, 18, 17058, 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, 0, 0, 0, 0, 0, 0...
Examples of usability disasters? === Anybody have good examples of usability disasters? Here's an example. Hector is a manager with a large team. Department admin wants to send Hector a spreadsheet with his team's salaries. She types "Hector" in the Outlook "To:" field. It autocompletes to "Hector's Team" but she d...
0
[ 2, 3770, 16, 182, 4091, 5302, 18, 60, 800, 3726, 3726, 11181, 57, 254, 3770, 16, 182, 4091, 5302, 18, 60, 235, 22, 18, 40, 823, 9, 11316, 25, 21, 1382, 29, 21, 370, 173, 9, 604, 21, 43, 2160, 2846, 20, 2660, 11316, 21, 1789, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Transparent images with C# WinForms === I am working on a Windows Forms application in VS 2008, and I want to display one image over the top of another, with the top image being a gif or something with transparent parts. Basically I have a big image and I want to put a little image on top if it, so that they kinda ...
0
[ 2, 14862, 3502, 29, 272, 5910, 628, 4190, 18, 800, 3726, 3726, 31, 589, 638, 27, 21, 1936, 1997, 3010, 19, 4611, 570, 15, 17, 31, 259, 20, 3042, 53, 1961, 84, 14, 371, 16, 226, 15, 29, 14, 371, 1961, 142, 21, 489, 821, 54, 3...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Generating Code in an MSBuild task === I am creating an MSBuild task that will generate one or more files, I have a Task with an [output] property that is of type ITaskItem[]. My question is, do I need to implement that interface myself or is there a class I can use already? I want them to be Compile task items tha...
2
[ 2, 13500, 1797, 19, 40, 4235, 29361, 3005, 800, 3726, 3726, 31, 589, 2936, 40, 4235, 29361, 3005, 30, 129, 7920, 53, 54, 91, 6488, 15, 31, 57, 21, 3005, 29, 40, 636, 1320, 4881, 500, 1354, 30, 25, 16, 1001, 32, 20310, 2119, 79, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Best Rails HTML Parser === I know that Hpricot is still a standard but I remember hearing about a faster more expressive HTML parser for Ruby. Does anybody know what it's called and if it is worth switching to from Hpricot?? Thanks in advance
0
[ 2, 246, 2240, 18, 13, 15895, 2017, 4104, 800, 3726, 3726, 31, 143, 30, 5301, 21663, 38, 25, 174, 21, 1236, 47, 31, 1518, 3229, 88, 21, 4233, 91, 25093, 13, 15895, 2017, 4104, 26, 10811, 9, 630, 11181, 143, 98, 32, 22, 18, 227, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
jquery equivalent for list.detect in prototype === What would be the jquery equivalent for list.detect in prototype?
0
[ 2, 487, 8190, 93, 4602, 26, 968, 9, 28262, 19, 7063, 800, 3726, 3726, 98, 83, 44, 14, 487, 8190, 93, 4602, 26, 968, 9, 28262, 19, 7063, 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...
[ 1, 1, 1, 1, 1, 1, 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...
Where can I find or donate software of historical interest? === Computer science and programming is a field with a relatively short history but it is developing very rapidly. Is there a repository for existing historical software or somewhere that I could submit software of historical interest? **EDIT**: I've aske...
0
[ 2, 113, 92, 31, 477, 54, 18377, 2306, 16, 1668, 1163, 60, 800, 3726, 3726, 1428, 762, 17, 3143, 25, 21, 575, 29, 21, 3109, 502, 447, 47, 32, 25, 3561, 253, 4805, 9, 25, 80, 21, 24869, 26, 3149, 1668, 2306, 54, 3493, 30, 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...
Obj C - Random @property error === Still new to Objective C, and I'm having some trouble that I just can't seem to figure out on my own. The error occurs twice for each of the first three @properties below, and is: error: "syntax error before ')' token". #import <Foundation/Foundation.h> @inte...
0
[ 2, 5122, 728, 272, 13, 8, 5477, 13, 1, 10890, 106, 1084, 7019, 800, 3726, 3726, 174, 78, 20, 7038, 272, 15, 17, 31, 22, 79, 452, 109, 2572, 30, 31, 114, 92, 22, 38, 2260, 20, 1465, 70, 27, 51, 258, 9, 14, 7019, 3690, 2088, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Trying to design an object model - using enums === I am trying to design an object model (for C#), and can't work out the best way to store the data. I'll try to use a simple example to illustrate this! I have an object "pet", which could be one of, "cat", "dog" etc. So I have created an "pet" class with a "petType...
0
[ 2, 749, 20, 704, 40, 3095, 1061, 13, 8, 568, 1957, 723, 18, 800, 3726, 3726, 31, 589, 749, 20, 704, 40, 3095, 1061, 13, 5, 1106, 272, 5910, 6, 15, 17, 92, 22, 38, 170, 70, 14, 246, 161, 20, 1718, 14, 1054, 9, 31, 22, 211, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
saml identity provider as java servlet filter? === can anyone recommend one? Thanks -Morgan
0
[ 2, 1113, 255, 3270, 11747, 28, 8247, 13, 10321, 1336, 11945, 60, 800, 3726, 3726, 92, 1276, 12360, 53, 60, 3669, 13, 8, 79, 6826, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Ideas on implementing Stack Overflow-style comments === I like the Stack Overflow comment UI a great deal and I'm looking into implementing the same thing on my own website. I looked at the code and it looks like the main tool here is [WMD][1], with the JQuery [TextArea Resizer][2] playing a supporting role. WMD c...
0
[ 2, 3478, 27, 17333, 7566, 20285, 8, 4381, 7534, 800, 3726, 3726, 31, 101, 14, 7566, 20285, 6484, 13, 5661, 21, 374, 1183, 17, 31, 22, 79, 699, 77, 17333, 14, 205, 584, 27, 51, 258, 2271, 9, 31, 292, 35, 14, 1797, 17, 32, 1879,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 anyone out there still programming in ObjectStar (formerly known as Huron) === Huron was a 4GL that originated in the IBM 360 mainframe world in the early 90s, created and sold by the [Amdahl Corporation][1]. It had a proprietary language and database that people either loved or loathed, and its most notable featu...
3
[ 2, 25, 1276, 70, 80, 174, 3143, 19, 3095, 2265, 13, 5, 6092, 167, 28, 23074, 6, 800, 3726, 3726, 23074, 23, 21, 268, 8430, 30, 7449, 19, 14, 10233, 11760, 407, 8361, 126, 19, 14, 274, 3151, 18, 15, 679, 17, 945, 34, 14, 636, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Display stocks data from Google Finance === How can I link up the [Google Finance API][1] to display stock data of a few companies in Flash? I have a website built entirely in Flash, so I'm looking at embedding a chart SWF movie into my website, to integrate it. Possible chart components: - [**amCharts** (f...
0
[ 2, 3042, 2070, 18, 1054, 37, 8144, 3711, 800, 3726, 3726, 184, 92, 31, 3508, 71, 14, 636, 16111, 4875, 3711, 21, 2159, 500, 2558, 165, 500, 20, 3042, 2070, 1054, 16, 21, 310, 1532, 19, 4433, 60, 31, 57, 21, 2271, 392, 2894, 19, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What potential do you see in Silverlight? === Silverlight has been available since quite some time, and Silverlight 2 allows .Net programming on the front-end. I've been thinking about the apps that I can make using Silverlight, but I can't decide if I should go for development in Silverlight because i am still concer...
0
[ 2, 98, 2222, 107, 42, 196, 19, 1172, 3130, 60, 800, 3726, 3726, 1172, 3130, 63, 74, 904, 179, 1450, 109, 85, 15, 17, 1172, 3130, 172, 2965, 13, 9, 2328, 3143, 27, 14, 431, 8, 2451, 9, 31, 22, 195, 74, 1440, 88, 14, 4865, 18,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How can I get the current CodeDomProvider in an MSBuild Task === I have a task and I want to generate some code using the CodeDom. How can I get either the current "language" or the CodeDomProvider for the current project calling my task?
0
[ 2, 184, 92, 31, 164, 14, 866, 1797, 5555, 26735, 139, 19, 40, 4235, 29361, 3005, 800, 3726, 3726, 31, 57, 21, 3005, 17, 31, 259, 20, 7920, 109, 1797, 568, 14, 1797, 5555, 9, 184, 92, 31, 164, 694, 14, 866, 13, 7, 7020, 7, 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, 0, 0, 0...
.NET Reflection - Finding the type that defines a static member === I have a problem with reflection. I need to find the type that instantiates a static member. My code looks like this: private class SimpleTemplate : PageTemplate { internal static readonly IPageProperty NameProperty = ...
0
[ 2, 13, 9, 2328, 9138, 13, 8, 3007, 14, 1001, 30, 13110, 21, 12038, 322, 800, 3726, 3726, 31, 57, 21, 1448, 29, 9138, 9, 31, 376, 20, 477, 14, 1001, 30, 6322, 15882, 18, 21, 12038, 322, 9, 51, 1797, 1879, 101, 48, 45, 932, 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...
Cause of an unexpected behaviour using JUnit 4's expected exception mechanism? === I am trying to test that a particular method throws an expected exception from a method. As per JUnit4 documentation and [this answer][1] I wrote the test as: @Test(expected=CannotUndoException.class) public void testUndoT...
0
[ 2, 1679, 16, 40, 9380, 7727, 568, 7446, 242, 268, 22, 18, 1727, 5391, 6534, 60, 800, 3726, 3726, 31, 589, 749, 20, 1289, 30, 21, 1498, 2109, 13566, 40, 1727, 5391, 37, 21, 2109, 9, 28, 416, 7446, 242, 300, 13945, 17, 636, 1565, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it Possible to Make a Generic Control in .Net 3.5? === I've got a control that's declared thus: public partial class MessageBase<T> : UserControl, IGetTime where T:IGetTime { protected T myEntry; public MessageBase() { InitializeComponent(); ...
0
[ 2, 25, 32, 938, 20, 233, 21, 12733, 569, 19, 13, 9, 2328, 203, 9, 264, 60, 800, 3726, 3726, 31, 22, 195, 330, 21, 569, 30, 22, 18, 2482, 1086, 45, 317, 7284, 718, 2802, 8436, 1, 38, 1, 13, 45, 4155, 12898, 15, 31, 3060, 89...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
HTML frame allocation Problem === I having Trouble in Dividing the HTML frames, I have using following Fields in HTML <table width=900 border="1" cellspacing="10"> <tr> <td width="500" height="170">section1 </td> <td width="400" rowspa...
0
[ 2, 13, 15895, 3523, 16840, 1448, 800, 3726, 3726, 31, 452, 2572, 19, 18542, 14, 13, 15895, 12809, 15, 31, 57, 568, 249, 2861, 19, 13, 15895, 13, 1, 5924, 9456, 3726, 10289, 1862, 3726, 7, 165, 7, 2934, 10055, 68, 3726, 7, 1036, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Looking for Matlab to F#/C# Script Convertor === I have a bunch of <5 matlab scripts. Is there a tool that can spit out F# or c# equivalent from them.
0
[ 2, 699, 26, 4277, 9086, 20, 398, 5910, 118, 150, 5910, 3884, 8406, 248, 800, 3726, 3726, 31, 57, 21, 7653, 16, 13, 1, 264, 4277, 9086, 17505, 9, 25, 80, 21, 5607, 30, 92, 9286, 70, 398, 5910, 54, 272, 5910, 4602, 37, 105, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Can I use a ForeignKey in __unicode__ return? === I have the following classes: Ingredients, Recipe and RecipeContent... class Ingredient(models.Model): name = models.CharField(max_length=30, primary_key=True) qty_on_stock = models.IntegerField() def __unicode__(self): ...
0
[ 2, 92, 31, 275, 21, 1228, 4237, 19, 13, 1, 8843, 9375, 1, 788, 60, 800, 3726, 3726, 31, 57, 14, 249, 2684, 45, 14129, 15, 20510, 17, 20510, 25424, 9, 9, 9, 718, 23933, 5, 13998, 18, 9, 13998, 6, 45, 204, 800, 2761, 9, 5433, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Get Element StyleSheet Style in JavaScript === I've been using John Resig's `getStyle` function from Pro JavaScript Techniques to get the style of elements: function getStyle(elem, name) { // J/S Pro Techniques p136 if (elem.style[name]) { return elem.style[name]; } else ...
0
[ 2, 164, 4520, 1034, 17627, 1034, 19, 8247, 8741, 800, 3726, 3726, 31, 22, 195, 74, 568, 239, 10719, 2816, 22, 18, 13, 1, 3060, 4381, 1, 1990, 37, 895, 8247, 8741, 4212, 20, 164, 14, 1034, 16, 2065, 45, 1990, 164, 4381, 5, 5535, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Using threadpool and func objects === When using a thread pool and its queuecallbackitem, can I not pass in a func object (from the method parameter)? I don't see a func which takes one parameter but returns nothing. There is func<T, TResult> but how can I set TResult to be null (want to indicate "this method retu...
0
[ 2, 568, 9322, 13378, 17, 2414, 150, 3916, 800, 3726, 3726, 76, 568, 21, 9322, 3067, 17, 82, 22521, 9200, 1958, 2119, 79, 15, 92, 31, 52, 1477, 19, 21, 2414, 150, 3095, 13, 5, 2665, 14, 2109, 18906, 6, 60, 31, 221, 22, 38, 196,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Honor a cookie in all open tabs === I have a web app that authenticates against a SQL DB and sets a cookie with credentials, like a "remember me" sort of thing. Part of the app involves using a bookmarklet to add things into your personal slice of another DB. This works fine if you authenticate and, in the SAME TAB, b...
0
[ 2, 1853, 21, 19980, 19, 65, 368, 6523, 18, 800, 3726, 3726, 31, 57, 21, 2741, 4865, 30, 14351, 7759, 149, 21, 4444, 255, 13, 9007, 17, 3415, 21, 19980, 29, 5059, 43, 10107, 18, 15, 101, 21, 13, 7, 18342, 55, 7, 2058, 16, 584, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 PHP *trully* faster on the JVM? === Lately I've been hearing a lot of people evangelizing that PHP with Resin is actually much faster than with mod_php, but I cannot find any bechmark anywhere. Is it truth or vendor BS?
0
[ 2, 25, 13, 26120, 1637, 38, 15831, 102, 2483, 4233, 27, 14, 487, 20147, 60, 800, 3726, 3726, 10434, 31, 22, 195, 74, 3229, 21, 865, 16, 148, 17645, 3335, 30, 13, 26120, 29, 22839, 25, 1121, 212, 4233, 119, 29, 7226, 1, 26120, 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...
What setting might be causing an AMP server to only allow 1 request at a time per browser? === I'm using an AMP server (Apache 1.3, MySQL 5.0, PHP 5.1.5) which I have found to only allow 1 connection/request per browser at one time. The easiest way to reporduce this is to request a large download which is passed throu...
0
[ 2, 98, 2697, 530, 44, 3242, 40, 14308, 8128, 20, 104, 1655, 137, 3772, 35, 21, 85, 416, 16495, 60, 800, 3726, 3726, 31, 22, 79, 568, 40, 14308, 8128, 13, 5, 7738, 2569, 137, 9, 240, 15, 51, 18, 22402, 331, 9, 387, 15, 13, 26...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Problem when retrieving text in JSON format containing line breaks with jQuery === I'm having a strange problem when retrieving JSON formatted text. I use jQuery `post` to send some data (also JSON formatted) to the server (running PHP) which works fine. Then, when I request the same data from the server using jQuery ...
0
[ 2, 1448, 76, 13, 6239, 3272, 8397, 1854, 19, 487, 528, 2595, 3503, 293, 7947, 29, 487, 8190, 93, 800, 3726, 3726, 31, 22, 79, 452, 21, 2578, 1448, 76, 13, 6239, 3272, 8397, 487, 528, 13, 29850, 1854, 9, 31, 275, 487, 8190, 93, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Printing java collections nicely (toString doesn't return pretty output) === I wish to print a stack<Integer> object as nicely as the Eclipse debugger does, ie [1,2,3] etc. printing it like so out = "outout:"+stack doesn't return this nice result. How can get the nice printable version of the stack?
0
[ 2, 7312, 8247, 5721, 24050, 13, 5, 262, 11130, 1437, 22, 38, 788, 1772, 5196, 6, 800, 3726, 3726, 31, 2536, 20, 4793, 21, 7566, 1, 6391, 13699, 1, 3095, 28, 24050, 28, 14, 11652, 121, 2345, 11356, 630, 15, 13, 660, 636, 15793, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I solve this issue with gethostbyname_r and DBI or DBD::MySQL on FreeBSD? === I have some old perl code which recently stopped working on a FreeBSD box. The code which fails looks (in simplest form) like this: #!/usr/local/bin/perl -w use strict; use DBI; my $datasource = "DBI...
0
[ 2, 184, 107, 31, 8402, 48, 1513, 29, 164, 11694, 779, 7259, 1, 139, 17, 13, 43, 2161, 54, 13, 9007, 43, 45, 45, 915, 18, 22402, 27, 551, 4562, 43, 60, 800, 3726, 3726, 31, 57, 109, 315, 416, 255, 1797, 56, 1989, 1175, 638, 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...
Is there open source software available that analyses a string and guesses the gender of the author? === I can't find anything other than closed-source web applications. Are there any active projects? I'd be interested in using the software in something I'm developing and getting involved.
0
[ 2, 25, 80, 368, 1267, 2306, 904, 30, 19758, 21, 3724, 17, 2321, 160, 14, 4552, 16, 14, 1314, 60, 800, 3726, 3726, 31, 92, 22, 38, 477, 602, 89, 119, 827, 8, 12097, 2741, 3767, 9, 50, 80, 186, 1348, 2314, 60, 31, 22, 43, 44, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
Automatically Copying folders until a certain limit is reached === Greetings. 1 - Let's say I have about 500 folders of variable size with a total size of 100 GB. 2 - I want to distribute these folders automatically in other folders until the size of 700 MB is reached with the best optimization of space. E...
0
[ 2, 7499, 4344, 68, 19294, 18, 163, 21, 1200, 4496, 25, 664, 800, 3726, 3726, 13769, 18, 9, 137, 13, 8, 408, 22, 18, 395, 31, 57, 88, 3033, 19294, 18, 16, 7612, 1072, 29, 21, 600, 1072, 16, 808, 14857, 9, 172, 13, 8, 31, 259,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 deal with time slippage in your smaller programming deliverables? === I'm asking this about smaller jobs: I think that with larger jobs you have all kinds of contractual issues to deal with. With larger jobs, if you haven't contemplated schedule slippage, you're basically hosed. With smaller deliverables...
0
[ 2, 184, 107, 42, 1183, 29, 85, 4864, 6486, 19, 154, 2012, 3143, 5879, 579, 18, 60, 800, 3726, 3726, 31, 22, 79, 3379, 48, 88, 2012, 4844, 45, 31, 277, 30, 29, 1662, 4844, 42, 57, 65, 8623, 16, 26880, 1549, 20, 1183, 29, 9, 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...
Threading and Preventing a second thread from running except in a specific case === Okay, I have this program and I don't want more than one instance of it running. So what I have right now is it grabs all instances that match it's name, and if there are more than one it quits and lets the user know it's already runni...
0
[ 2, 9322, 68, 17, 11520, 21, 153, 9322, 37, 946, 1613, 19, 21, 1903, 610, 800, 3726, 3726, 1705, 15, 31, 57, 48, 625, 17, 31, 221, 22, 38, 259, 91, 119, 53, 4851, 16, 32, 946, 9, 86, 98, 31, 57, 193, 130, 25, 32, 15555, 65,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
fluent nHibernate mapping === I am working on a legacy system and have introduced fluent nHibernate but have one last mapping that I can not seem to get working. Code public class Permit { public int PermitId { get; set; } public char Discipline { get; set; } pub...
0
[ 2, 19252, 12109, 15191, 8820, 13305, 800, 3726, 3726, 31, 589, 638, 27, 21, 7780, 329, 17, 57, 1277, 19252, 12109, 15191, 8820, 47, 57, 53, 236, 13305, 30, 31, 92, 52, 2260, 20, 164, 638, 9, 1797, 317, 718, 8992, 13, 1, 317, 19,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
script/generate migration throws error about I18n in Rails 2.2.2 === I have this on line 56 in my environment.rb: I18n.load_path += Dir[ File.join(RAILS_ROOT, 'lib', 'locale', '*.{rb,yml}') ] I can run the app just fine, but when I try to run: script/generate migration I get this error: environment.rb:56: uni...
0
[ 2, 3884, 118, 17083, 1373, 8443, 13566, 7019, 88, 31, 1087, 103, 19, 2240, 18, 172, 9, 135, 9, 135, 800, 3726, 3726, 31, 57, 48, 27, 293, 6171, 19, 51, 2307, 9, 7549, 45, 31, 1087, 103, 9, 8294, 1, 8353, 2754, 3726, 13, 9035, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ensure fast startup times of mnesia === Erlang with mnesia/dets is famous for it slow startup times after a crash. Basically the same issue as with fsck on older filesystems. But I also experience slow startup times after regular shutdowns: about 8 Minutes for 250 MB on-disk data on a beefy machine. So I ...
0
[ 2, 184, 20, 4062, 1512, 20205, 436, 16, 307, 2696, 549, 800, 3726, 3726, 13, 106, 9949, 29, 307, 2696, 549, 118, 43, 6095, 25, 1561, 26, 32, 2276, 20205, 436, 75, 21, 4597, 9, 11374, 14, 205, 1513, 28, 29, 398, 18, 2601, 27, 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...
Blocks to KB/MB/GB from statfs on iPhone === I am using statfs() which gives me the free blocks available to a non-superuser. I am unsure how to convert this into KB/MB/GB. The values that are returned are: fundamental file system block size: 4096 total data blocks in file system: 3805452 free blocks in fs:...
0
[ 2, 5198, 20, 15251, 118, 5024, 118, 11400, 37, 12819, 11754, 27, 21024, 800, 3726, 3726, 31, 589, 568, 12819, 11754, 5, 6, 56, 2352, 55, 14, 551, 5198, 904, 20, 21, 538, 8, 8542, 16704, 9, 31, 589, 13815, 184, 20, 8406, 48, 77, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 download a file over http with authorization in python 3.0, working around bugs? === I have a script that I'd like to continue using, but it looks like I either have to find some workaround for a bug in Python 3, or downgrade back to 2.6, and thus having to downgrade other scripts as well... Hopefully someon...
0
[ 2, 184, 20, 7121, 21, 3893, 84, 7775, 29, 22677, 19, 20059, 203, 9, 387, 15, 638, 140, 13925, 60, 800, 3726, 3726, 31, 57, 21, 3884, 30, 31, 22, 43, 101, 20, 1816, 568, 15, 47, 32, 1879, 101, 31, 694, 57, 20, 477, 109, 170, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to loop thru a checkboxlist and to find what's checked and not checked === i'm trying to loop thru items of a checkbox list. if it's checked, I want to set 1 value. If not, I want to set another value. I was using the below but it only gives me checked items: print(" foreach (DataRowView myRow in clbInclud...
0
[ 2, 184, 20, 5293, 19637, 21, 2631, 5309, 5739, 17, 20, 477, 98, 22, 18, 6505, 17, 52, 6505, 800, 3726, 3726, 31, 22, 79, 749, 20, 5293, 19637, 3755, 16, 21, 2631, 5309, 968, 9, 100, 32, 22, 18, 6505, 15, 31, 259, 20, 309, 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...
How to hack boot.rb to stop annoying warning? Gem::SourceIndex#search support for String patterns is deprecated === Everytime I run rake or most rails commands, I get an annoying warning. I'm still a beginner with Ruby/Rails, and I would like advice on how to hack boot.rb to stop the annoying warning. I'm using Ra...
0
[ 2, 184, 20, 11835, 6801, 9, 7549, 20, 747, 17610, 3590, 60, 8551, 45, 45, 12097, 25671, 5910, 25136, 555, 26, 3724, 6282, 25, 121, 3515, 150, 1669, 800, 3726, 3726, 352, 891, 31, 485, 21009, 54, 127, 2240, 18, 14294, 15, 31, 164, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Java library for automatic language identification? === Which is the best Java library for automatic language identification/classification? Hypothetical syntax: String languageCode = LanguageIdentificationAPI.identifyLanguage("Hello world."); // languageCode would now contain "en" for English. ...
4
[ 2, 246, 8247, 1248, 26, 6715, 816, 8575, 60, 800, 3726, 3726, 56, 25, 14, 246, 8247, 1248, 26, 6715, 816, 8575, 118, 1898, 4634, 60, 26161, 22649, 45, 3724, 816, 9375, 800, 816, 13384, 4634, 2552, 49, 9, 13384, 8612, 7020, 5, 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...
What is the best way to center an html element within its containing element? === Let's say you have the following chunk of code: <div id="container"> <someelement>This is any element.</someelement> </div> What's the best CSS I could use to horizontally center "someelement" within its containing di...
0
[ 2, 98, 25, 14, 246, 161, 20, 459, 40, 13, 15895, 4520, 363, 82, 3503, 4520, 60, 800, 3726, 3726, 408, 22, 18, 395, 42, 57, 14, 249, 15009, 16, 1797, 45, 13, 1, 12916, 4924, 3726, 7, 1126, 5851, 106, 7, 1, 13, 1, 3220, 27567,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there any IDE for fast drag and drop php development? === I am using Eclipse IDE with few plug-ins for PHP dev. I am using PHPEclipse plug-in and I know there are lotsa other plugins like EasyEclipse.But is there an IDE like Visual Studio with cool drag and drop stuff for PHP?
0
[ 2, 25, 80, 186, 13, 3448, 26, 1512, 5501, 17, 2804, 13, 26120, 522, 60, 800, 3726, 3726, 31, 589, 568, 11652, 13, 3448, 29, 310, 10922, 8, 108, 18, 26, 13, 26120, 9664, 9, 31, 589, 568, 4145, 12610, 6013, 870, 10922, 8, 108, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you manage and organize your files? (scripts, repos, downloads, pdf's, etc) === Like many of you, I have to deal with a large amount of files: source code, binary downloads, spreadsheets, pdf's, word docs, images, note files, quick scripts, and more. These files can fall into many categories: * Temporary...
0
[ 2, 184, 107, 42, 4705, 17, 9213, 154, 6488, 60, 13, 5, 8741, 18, 15, 302, 12551, 15, 7121, 18, 15, 13, 11124, 22, 18, 15, 2722, 6, 800, 3726, 3726, 101, 151, 16, 42, 15, 31, 57, 20, 1183, 29, 21, 370, 2006, 16, 6488, 45, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it possible to decrement a variable in MySQL? === I'm wanting to decrement a variable in a MySQL table by one everytime an UPDATE query is ran. What I have is this, which isn't working: <code>UPDATE forum SET replys = reply-- WHERE fid = '$id'</code> Is this possible in any way, or am I going to have to r...
0
[ 2, 25, 32, 938, 20, 6661, 99, 1130, 21, 7612, 19, 51, 18, 22402, 60, 800, 3726, 3726, 31, 22, 79, 4638, 20, 6661, 99, 1130, 21, 7612, 19, 21, 51, 18, 22402, 859, 34, 53, 352, 891, 40, 11100, 25597, 25, 717, 9, 98, 31, 57, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Compression algorithm for JSON encoded packets? === Hi I was just wondering what would be the best compression algorithm to use to compress packets before sending them over the wire? The packets are encoded using JSON. Would LZW be a good one for this or is there something better?
0
[ 2, 14864, 9083, 26, 487, 528, 13665, 12795, 18, 60, 800, 3726, 3726, 4148, 31, 23, 114, 5712, 98, 83, 44, 14, 246, 14864, 9083, 20, 275, 20, 26060, 12795, 18, 115, 4907, 105, 84, 14, 6511, 60, 14, 12795, 18, 50, 13665, 568, 487,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Implementing a self resetting XMLHttpRequest object === I'm trying to implement a comet style, long polling connection using an XMLHttpResponse object. The idea is to maintain an open connection to a server which sends data when it is available (faking push). As soon as the XHR object completes, I need to spawn a new...
0
[ 2, 17333, 21, 1119, 302, 19831, 23504, 21127, 99, 10351, 3095, 800, 3726, 3726, 31, 22, 79, 749, 20, 8713, 21, 15625, 1034, 15, 175, 20734, 2760, 568, 40, 23504, 21127, 99, 18, 8782, 870, 3095, 9, 14, 882, 25, 20, 4027, 40, 368, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 install MySQL and the python MySql package on OSX Leopard? Or how do I learn about being a web developer using OSX? === I'm new to the Mac OS and I'm just about ready to throw my brand new MacBook pro out the window. Every tutorial on setting up a Django development environment on Leopard is insidiously wro...
0
[ 2, 184, 107, 31, 16146, 51, 18, 22402, 17, 14, 20059, 51, 18, 22402, 6030, 27, 13, 759, 396, 15446, 60, 54, 184, 107, 31, 2484, 88, 142, 21, 2741, 10058, 568, 13, 759, 396, 60, 800, 3726, 3726, 31, 22, 79, 78, 20, 14, 1572, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...