unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
How to search for language syntax in Google? === My current question is what does the << operator do in Ruby? But my real question is how would I search Google to find the answer?
0
[ 2, 184, 20, 2122, 26, 816, 22649, 19, 8144, 60, 800, 3726, 3726, 51, 866, 1301, 25, 98, 630, 14, 13, 1, 6022, 107, 19, 10811, 60, 47, 51, 683, 1301, 25, 184, 83, 31, 2122, 8144, 20, 477, 14, 1623, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Does Boost::Jam (bjam) have a "question" mode? === I use Code::Blocks with Boost::Jam. A recent update to C::B added some new "custom makefile" commands, one of which is "ask if rebuild is needed". According to [this message][1], it's meant to call `make` in a "question mode": > -q, --question > ‘‘Question mode’...
0
[ 2, 630, 10419, 45, 45, 12976, 13, 5, 220, 12976, 6, 57, 21, 13, 7, 24652, 7, 3740, 60, 800, 3726, 3726, 31, 275, 1797, 45, 45, 12048, 18, 29, 10419, 45, 45, 12976, 9, 21, 1764, 11100, 20, 272, 45, 45, 220, 905, 109, 78, 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...
Possible to extend the String class in .net === How to override or extend .net main classes. for example public class String { public boolean contains(string str,boolean IgnoreCase){...} public string replace(string str,string str2,boolean IgnoreCase){...} } after string ...
0
[ 2, 938, 20, 7206, 14, 3724, 718, 19, 13, 9, 2328, 800, 3726, 3726, 184, 20, 84, 11891, 54, 7206, 13, 9, 2328, 407, 2684, 9, 26, 823, 317, 718, 3724, 13, 1, 317, 9827, 413, 210, 1588, 5, 11130, 13, 9729, 15, 10858, 413, 210, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 we make sure of the behavior of C++ functions? === This is a C++ disaster, check out this code sample: #include <iostream> void func(const int* shouldnotChange) { int* canChange = (int*) shouldnotChange; *canChange += 2; return; } int main() { ...
0
[ 2, 184, 92, 95, 233, 562, 16, 14, 3257, 16, 272, 20512, 3719, 60, 800, 3726, 3726, 48, 25, 21, 272, 20512, 5302, 15, 2631, 70, 48, 1797, 5717, 45, 6926, 22640, 13, 1, 1963, 11260, 1, 11364, 2414, 150, 5, 12124, 38, 19, 38, 248...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 spec out "read-only" behavior of a Model? === For example, let's say I have a `Question` model, that has the boolean fields `answered` and `closed`. How would I test the behavior that a Question `should be read only when marked as answered` using RSpec? This seems like it's the behavior of the model, but ...
0
[ 2, 184, 107, 42, 12737, 70, 13, 7, 10647, 8, 4965, 7, 3257, 16, 21, 1061, 60, 800, 3726, 3726, 26, 823, 15, 408, 22, 18, 395, 31, 57, 21, 13, 1, 24652, 1, 1061, 15, 30, 63, 14, 9827, 413, 210, 2861, 13, 1, 5950, 4662, 69, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Windows System Idle Processes interfering with performance measurement === I am doing some performance measurement of my code on a Windows box and I am finding that I am getting dramatically different results between measurements. A quick bit of ad hoc exploration during a slow one shows in the task manager System Id...
0
[ 2, 1936, 329, 18652, 5102, 26277, 29, 956, 11688, 800, 3726, 3726, 31, 589, 845, 109, 956, 11688, 16, 51, 1797, 27, 21, 1936, 1649, 17, 31, 589, 3007, 30, 31, 589, 1017, 13241, 421, 1736, 128, 12776, 9, 21, 2231, 1142, 16, 21, 4...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can I reference other slots in a defstruct? === In common lisp I've noticed that I can write this: (defun foo (&key (a 1) (b 2) (c (+ a b))) (print (+ a b c))) And when I call `(foo)`, `6` is printed. So the argument `c` can refer to values set for `a` and `b`. But I can't seem to find a way to do somethin...
0
[ 2, 92, 31, 2801, 89, 7958, 18, 19, 21, 6312, 10346, 60, 800, 3726, 3726, 19, 757, 2093, 3401, 31, 22, 195, 2711, 30, 31, 92, 2757, 48, 45, 13, 5, 546, 16638, 4310, 111, 13, 5, 1569, 4237, 13, 5, 58, 137, 6, 13, 5, 220, 172...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
displaying a javascript-generated div in IE7 === The following code shows what I expect in Firefox and Chrome: a small white square in a big green rectangle. I don't see the small square in IE7. How can I make it appear? <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/htm...
0
[ 2, 17418, 21, 8247, 8741, 8, 25314, 13, 12916, 19, 13, 660, 465, 800, 3726, 3726, 14, 249, 1797, 1285, 98, 31, 4186, 19, 535, 18219, 17, 13, 12985, 45, 21, 284, 359, 735, 19, 21, 580, 647, 27181, 9, 31, 221, 22, 38, 196, 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...
Should I use Java applets or Flash to make webpage-embeddable physics simulations? === I want to start working on some simple physics simulations that I can embed onto my website. I have a lot of experience with web programming with languages like PHP and javascript, a fair amount of experience with python and some ex...
0
[ 2, 378, 31, 275, 8247, 4037, 38, 18, 54, 4433, 20, 233, 2741, 6486, 8, 1503, 4283, 43, 579, 4339, 10926, 18, 60, 800, 3726, 3726, 31, 259, 20, 799, 638, 27, 109, 1935, 4339, 10926, 18, 30, 31, 92, 11911, 69, 1204, 51, 2271, 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...
Using Reflector, why can't I see the app.manifest embedded in my .NET app? === I have a WinForms .NET app that, according to the Vista Task Manager with UAC enabled, runs with virtualization "Disabled" even though I do not recall adding a manifest with "asInvoker" to the app. VS.NET (this app has gone through all four...
0
[ 2, 568, 6907, 248, 15, 483, 92, 22, 38, 31, 196, 14, 4865, 9, 8002, 9962, 12138, 19, 51, 13, 9, 2328, 4865, 60, 800, 3726, 3726, 31, 57, 21, 628, 4190, 18, 13, 9, 2328, 4865, 30, 15, 496, 20, 14, 13520, 3005, 1382, 29, 287, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Detecting and restarting my crashed .NET application === How can I detect that my .NET application has crashed, and then restart it?
0
[ 2, 9092, 68, 17, 22767, 68, 51, 7579, 13, 9, 2328, 3010, 800, 3726, 3726, 184, 92, 31, 9092, 30, 51, 13, 9, 2328, 3010, 63, 7579, 15, 17, 94, 22767, 32, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Echo spaces in bash script === How do I echo one or more tab characters using a bash script? When I run this code res=' 'x # res = "\t\tx" echo '['$res']' # expect [\t\tx] I get this res=[ x] # that is [<space>x]
0
[ 2, 8117, 7644, 19, 13158, 3884, 800, 3726, 3726, 184, 107, 31, 8117, 53, 54, 91, 6523, 1766, 568, 21, 13158, 3884, 60, 76, 31, 485, 48, 1797, 10719, 3726, 22, 13, 22, 396, 6926, 10719, 800, 13, 7, 1, 38, 1, 38, 396, 7, 8117, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Deleting Database in Linq === In normal condition, I can add schemas in the dbml file to empty database with code below. But now when I run this code, I take the error "Cannot drop database "test" because it is currently in use." How can I do it? Dim db As New UI_Class.UIData If db.DatabaseExis...
0
[ 2, 121, 1336, 68, 6018, 19, 6294, 1251, 800, 3726, 3726, 19, 1826, 2874, 15, 31, 92, 3547, 23874, 18, 19, 14, 13, 9007, 8184, 3893, 20, 2424, 6018, 29, 1797, 1021, 9, 47, 130, 76, 31, 485, 48, 1797, 15, 31, 247, 14, 7019, 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...
Good MVC projects === I'm thinking of building a small web app using the MVC framework as a way to introduce myself to it. The idea of a project to get myself started is a small gambling monitoring piece of software that I can enter a a list of all my small bets I have along with other friends. Some of the things I ho...
0
[ 2, 254, 307, 8990, 2314, 800, 3726, 3726, 31, 22, 79, 1440, 16, 353, 21, 284, 2741, 4865, 568, 14, 307, 8990, 6596, 28, 21, 161, 20, 8500, 992, 20, 32, 9, 14, 882, 16, 21, 669, 20, 164, 992, 373, 25, 21, 284, 13323, 8984, 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...
Is there any memory restrictions on an ASP.Net application? HttpHandler? === I have an ASP.Net MVC application that allows users to upload images. When I try to upload a really large file (400MB) I get an error. I assumed that my image processing code (home brew) was very inefficient, so I decided I would try using...
0
[ 2, 25, 80, 186, 1912, 9245, 27, 40, 28, 306, 9, 2328, 3010, 60, 7775, 3203, 1252, 60, 800, 3726, 3726, 31, 57, 40, 28, 306, 9, 2328, 307, 8990, 3010, 30, 2965, 3878, 20, 71, 8294, 3502, 9, 76, 31, 1131, 20, 71, 8294, 21, 510...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Visual Studio Tools for Office 2008 - using a ribbon button to interact with active document === I've created my own ribbon toolbar tab with a few buttons. I can add text and similar actions to the document I'm working on. Now I want to add a button that will save the document I'm working on without using the Word sav...
0
[ 2, 3458, 1120, 4672, 26, 488, 570, 13, 8, 568, 21, 9162, 5167, 20, 10001, 29, 1348, 4492, 800, 3726, 3726, 31, 22, 195, 679, 51, 258, 9162, 5607, 1850, 6523, 29, 21, 310, 12861, 9, 31, 92, 3547, 1854, 17, 835, 3078, 20, 14, 44...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to merge the result from database call? === I have a web report needs to return multiple products from different regions. The regions are selected by users from UI. The result is bound to a datagrid. It could be multiple regions. But the result will be look like Region 1, Region 2, Region 3... ...
0
[ 2, 184, 20, 12666, 14, 829, 37, 6018, 645, 60, 800, 3726, 3726, 31, 57, 21, 2741, 1330, 2274, 20, 788, 1886, 1985, 37, 421, 3332, 9, 14, 3332, 50, 1704, 34, 3878, 37, 13, 5661, 9, 14, 829, 25, 4138, 20, 21, 1054, 16375, 9, 3...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Opening a file with std::string === This should be a fairly trivial problem. I'm trying to open an ofstream using a std::string (or std::wstring) and having problems getting this to work without a messy conversion. std::string path = ".../file.txt"; ofstream output; output.open(path); I...
0
[ 2, 1214, 21, 3893, 29, 354, 43, 45, 45, 11130, 800, 3726, 3726, 48, 378, 44, 21, 6647, 13, 19712, 1448, 9, 31, 22, 79, 749, 20, 368, 40, 16, 11260, 568, 21, 354, 43, 45, 45, 11130, 13, 5, 248, 354, 43, 45, 45, 499, 11130, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Window message procedures in Linux vs Windows === In Windows when you create a window, you must define a (c++) LRESULT CALLBACK message_proc(HWND Handle, UINT Message, WPARAM WParam, LPARAM LParam); to handle all the messages sent from the OS to the window, like keypresses and such. Im looking to do some ...
0
[ 2, 1463, 2802, 8876, 19, 13024, 4611, 1936, 800, 3726, 3726, 19, 1936, 76, 42, 1600, 21, 1463, 15, 42, 491, 9267, 21, 13, 5, 150, 20512, 6, 644, 29955, 645, 1958, 2802, 1, 15617, 5, 252, 6156, 43, 3053, 15, 287, 6391, 2802, 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...
dilemma what to use c++ or script for demon process === i need to implement demon that needs to extract data from db load the data to memory and according to this data to perform actions like sending emails or write/update files this action needs to be preformed each 30 min's now i really don't know what to decide o...
0
[ 2, 23314, 98, 20, 275, 272, 20512, 54, 3884, 26, 4178, 953, 800, 3726, 3726, 31, 376, 20, 8713, 4178, 30, 2274, 20, 10962, 1054, 37, 13, 9007, 6305, 14, 1054, 20, 1912, 17, 496, 20, 48, 1054, 20, 2985, 3078, 101, 4907, 8517, 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 scan assembly code to find certain function calls === I am to build a SOA gui framework, and I'd like to autodetect services, and service dependencies from client modules. I have code such as this so far, which works using attributes, placed on class modules: [ServiceProvider(typeof(DemoService3))] ...
0
[ 2, 184, 92, 31, 8313, 1475, 1797, 20, 477, 1200, 1990, 3029, 800, 3726, 3726, 31, 589, 20, 1895, 21, 86, 58, 9457, 6596, 15, 17, 31, 22, 43, 101, 20, 3108, 28262, 687, 15, 17, 365, 29411, 37, 6819, 17113, 9, 31, 57, 1797, 145,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 uninstall Win32 assemblies and cleanup WinSxS? === After a lot of trial and error (mostly due to lack of documentation and examples) I have managed to create MSI installers that install custom DLLs to WinSxS as side-by-side assembly. There is only one problem: Uninstalling leaves all files (DLLs, manifests a...
0
[ 2, 184, 92, 31, 367, 108, 21300, 628, 3125, 21066, 17, 26862, 4041, 396, 18, 60, 800, 3726, 3726, 75, 21, 865, 16, 2178, 17, 7019, 13, 5, 18397, 397, 20, 1792, 16, 13945, 17, 3770, 6, 31, 57, 1471, 20, 1600, 4235, 49, 16146, 4...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Regarding MOSS or WSS 3.0, What parts of the API might have been implemented better? === Such as: - Sealed Methods you might have liked to extend - Exceptions thrown are more vague than is helpful - Elimination of **Connected Content** which was a major feature in **MCMS 2002** - HTML is stripped from fields...
0
[ 2, 3467, 8188, 54, 619, 18, 18, 203, 9, 387, 15, 98, 1341, 16, 14, 21, 2159, 530, 57, 74, 6807, 574, 60, 800, 3726, 3726, 145, 28, 45, 13, 8, 10854, 3195, 42, 530, 57, 3345, 20, 7206, 13, 8, 13392, 6027, 50, 91, 14800, 119, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
adding background in delphi === hey, how can i add a background in my delphi form? i added one in a timage, but the labels arent visible now, and the texts of my clickboxes are in a blue "box" (blue is the background color i chose). this blue doesnt look very good at the wallpaper, and the hidden labels also dont look...
0
[ 2, 4721, 2395, 19, 23030, 800, 3726, 3726, 8409, 15, 184, 92, 31, 3547, 21, 2395, 19, 51, 23030, 505, 60, 31, 905, 53, 19, 21, 2574, 1303, 15, 47, 14, 13173, 14144, 4560, 130, 15, 17, 14, 6381, 16, 51, 10840, 5309, 160, 50, 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...
EBNF to Scala parser combinator === I have the following EBNF that I want to parse: PostfixExp -> PrimaryExp ( "[" Exp "]" | . id "(" ExpList ")" | . length )* And this is what I got: def postfixExp: Parser[Expression] = ...
0
[ 2, 11817, 11408, 20, 25975, 2017, 4104, 12994, 108, 3457, 800, 3726, 3726, 31, 57, 14, 249, 11817, 11408, 30, 31, 259, 20, 2017, 870, 45, 678, 18594, 6899, 13, 8, 1, 1256, 6899, 13, 5, 13, 7, 2558, 7, 13, 6899, 13, 7, 500, 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...
Deserialization validation === I'm working with a list of fonts that I serialize and deserialize using `DataContractSerializer`. In between the two steps, it's conceivable that the user has removed a font from their machine. I'd like to check a font name as it's being deserialized to ensure that it still exists on the...
0
[ 2, 1746, 106, 2815, 1829, 27999, 800, 3726, 3726, 31, 22, 79, 638, 29, 21, 968, 16, 9978, 18, 30, 31, 5956, 2952, 17, 1746, 106, 2815, 2952, 568, 13, 1, 18768, 23311, 4104, 2815, 11907, 1, 9, 19, 128, 14, 81, 2382, 15, 32, 22,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does ASP.NET MVC RC has a strongly typed RedirectToAction method already? === Since I have decided to let RC go while staying with Beta for now, I have no way of knowing whether there has been some progress in this area. Who has tried it, are there strongly typed RedirectToAction and maybe ActionLink in RC? (I know...
0
[ 2, 630, 28, 306, 9, 2328, 307, 8990, 16462, 63, 21, 5020, 1001, 43, 302, 14706, 262, 8645, 2109, 614, 60, 800, 3726, 3726, 179, 31, 57, 868, 20, 408, 16462, 162, 133, 5725, 29, 8434, 26, 130, 15, 31, 57, 90, 161, 16, 2506, 147...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ASP.NET Membership - Redirect user to Login Page (mulitple versions) === Redirect user to Login Page dependent on the Folder they are in. I have a web application with the root directory which is used by all users and the admin site. For people that would require the authenticated functionality of the site, they wo...
0
[ 2, 28, 306, 9, 2328, 4363, 13, 8, 302, 14706, 4155, 20, 6738, 108, 2478, 13, 5, 10965, 242, 5106, 3281, 6, 800, 3726, 3726, 302, 14706, 4155, 20, 6738, 108, 2478, 9063, 27, 14, 19294, 59, 50, 19, 9, 31, 57, 21, 2741, 3010, 29,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
L2E how to create objects? === What is the best way of adding a new object in the entity framework. The designer adds all these create methods, but to me it makes more sense to call new on an object. The generated CreateCustomer method e.g. could be called like this: Customer c = context.CreateCustomer(System.G...
0
[ 2, 644, 135, 62, 184, 20, 1600, 3916, 60, 800, 3726, 3726, 98, 25, 14, 246, 161, 16, 4721, 21, 78, 3095, 19, 14, 9252, 6596, 9, 14, 4742, 10621, 65, 158, 1600, 3195, 15, 47, 20, 55, 32, 1364, 91, 1259, 20, 645, 78, 27, 40, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Resize iframe height according to content height in it === I am opening my blog page in my website, problem is i can give width to iframe but height should be dynamic so that there is no scroll bar in iframe and it looks like a single page... i have tried various javascripts to calculate height of content but all o...
0
[ 2, 302, 10454, 31, 8361, 2947, 496, 20, 2331, 2947, 19, 32, 800, 3726, 3726, 31, 589, 1214, 51, 8146, 2478, 19, 51, 2271, 15, 1448, 25, 31, 92, 590, 9456, 20, 31, 8361, 47, 2947, 378, 44, 7782, 86, 30, 80, 25, 90, 12159, 748, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
SSIS - Data from MySql to MsSql some characters are ? === I just transferred some data from MySql to MsSql (2K5) in a text field, some of my characters, such as apostrophes, are now ? (question mark) to me this indicates some sort of collation or character set error, right? To be honest, I don't know which one shou...
0
[ 2, 13, 18, 4557, 13, 8, 1054, 37, 51, 18, 22402, 20, 4235, 18, 22402, 109, 1766, 50, 13, 60, 800, 3726, 3726, 31, 114, 2288, 109, 1054, 37, 51, 18, 22402, 20, 4235, 18, 22402, 13, 5, 135, 197, 264, 6, 19, 21, 1854, 575, 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...
post forms with yahoo pipes? === is it possible to submit forms with yahoo pipes? i basically need to log in somewhere, and get some stuff from the members area of a website into a feed.
0
[ 2, 678, 1997, 29, 23553, 14104, 60, 800, 3726, 3726, 25, 32, 938, 20, 12298, 1997, 29, 23553, 14104, 60, 31, 11374, 376, 20, 6738, 19, 3493, 15, 17, 164, 109, 3217, 37, 14, 443, 217, 16, 21, 2271, 77, 21, 4063, 9, 3, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Create an URI for an application === I want to have an URI for my app. For example something like this: app name:GetIt uri: getit:// Is there an easy way to create one?
0
[ 2, 1600, 40, 13, 3594, 26, 40, 3010, 800, 3726, 3726, 31, 259, 20, 57, 40, 13, 3594, 26, 51, 4865, 9, 26, 823, 301, 101, 48, 45, 4865, 204, 45, 3060, 242, 13, 3594, 45, 164, 242, 6903, 25, 80, 40, 2010, 161, 20, 1600, 53, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Byte order with a large array of characters in C === Hey guys, question from a C/Networking newbie... I'm doing some socket programming in C and trying to wrestle with byte order problems. My request (send) is fine but when I receive data my bytes are all out of order. I start with something like this... ...
0
[ 2, 34, 591, 389, 29, 21, 370, 7718, 16, 1766, 19, 272, 800, 3726, 3726, 8409, 2776, 15, 1301, 37, 21, 272, 118, 24106, 68, 78, 5893, 9, 9, 9, 31, 22, 79, 845, 109, 18482, 3143, 19, 272, 17, 749, 20, 25992, 29, 34, 591, 389, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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/CSS positioning "float: bottom" === Given the following HTML: <div id="container"> <!-- Other elements here --> <div id="copyright"> Copyright Foo web designs </div> </div> I would like the div with ID 'copyright' to stick to the bottom of the 'container' div, can I ac...
0
[ 2, 13, 15895, 118, 6824, 18, 649, 68, 13, 7, 14712, 721, 45, 2129, 7, 800, 3726, 3726, 504, 14, 249, 13, 15895, 45, 13, 1, 12916, 4924, 3726, 7, 1126, 5851, 106, 7, 1, 13, 1, 187, 8, 8, 89, 2065, 235, 13, 8, 8, 1, 13, 1,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[Java] How to open user system preffered editor for given file? === I'm trying to figure out how to open system preferred editor for given file. Say, we have a file manager, written in Java. User goes to folder and see list of files. And, for example, there are file "Icon.jpg". User double clicks on the filename an...
0
[ 2, 636, 1004, 1385, 500, 184, 20, 368, 4155, 329, 782, 6866, 69, 1835, 26, 504, 3893, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 1465, 70, 184, 20, 368, 329, 5981, 1835, 26, 504, 3893, 9, 395, 15, 95, 57, 21, 3893, 1382, 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...
Receive SMS messages by web application === We are building a web app that should be able to receive SMS messages and store the information contained in it in database. Which methods have you used? Which service providers are out there that can assist?
0
[ 2, 2588, 7613, 18, 7561, 34, 2741, 3010, 800, 3726, 3726, 95, 50, 353, 21, 2741, 4865, 30, 378, 44, 777, 20, 2588, 7613, 18, 7561, 17, 1718, 14, 676, 3437, 19, 32, 19, 6018, 9, 56, 3195, 57, 42, 147, 60, 56, 365, 13488, 50, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
IronPython performance === I'm considering embedding IronPython as a scripting language for an application that I'm writing. So to try it out, I downloaded IronPython 2.0 and fired up the interactive interpreter. Just starting the thing up takes about 5 seconds on my Intel Quad Core with 6 Gigs of memory. I can har...
0
[ 2, 1751, 6448, 11570, 956, 800, 3726, 3726, 31, 22, 79, 5154, 11911, 69, 3258, 1751, 6448, 11570, 28, 21, 3884, 68, 816, 26, 40, 3010, 30, 31, 22, 79, 1174, 9, 86, 20, 1131, 32, 70, 15, 31, 23887, 1751, 6448, 11570, 172, 9, 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...
Android Activty with no GUI === I have created a activity that is only meant to be launched from a link (using a intent filter.) I do not want this activity to have a GUI - I just want it to start a service and put a notification in the bar. I have tried to put the intent filter for the link in my service, but that do...
0
[ 2, 13005, 13, 19516, 1084, 29, 90, 9457, 800, 3726, 3726, 31, 57, 679, 21, 2358, 30, 25, 104, 1380, 20, 44, 1601, 37, 21, 3508, 13, 5, 12655, 21, 6936, 11945, 9, 6, 31, 107, 52, 259, 48, 2358, 20, 57, 21, 9457, 13, 8, 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...
In Scheme, what's the point of "set!" ? === What's the point of using the `set!` assignment operator in scheme? Why not just `rebind` a variable to a new value using `define`? > (define x 100) > (define (value-of-x) x) ;; value-of-x closes over "x" > x 100 > (value-of-x) 100 > (set...
0
[ 2, 19, 4276, 15, 98, 22, 18, 14, 454, 16, 13, 7, 3554, 187, 7, 13, 60, 800, 3726, 3726, 98, 22, 18, 14, 454, 16, 568, 14, 13, 1, 3554, 187, 1, 8427, 6022, 19, 4276, 60, 483, 52, 114, 13, 1, 99, 4772, 43, 1, 21, 7612, 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...
What type of mac should I get for iphone development? === I understand that I need to have a mac for developing iphone applications as indicated here: http://stackoverflow.com/questions/297533/hosted-mac-os-x-iphone-development And in other locations. What I'm not sure of, however, is what kind of mac wou...
0
[ 2, 98, 1001, 16, 1572, 378, 31, 164, 26, 21024, 522, 60, 800, 3726, 3726, 31, 1369, 30, 31, 376, 20, 57, 21, 1572, 26, 3561, 21024, 3767, 28, 4151, 235, 45, 7775, 6903, 25325, 2549, 9990, 9, 960, 118, 24652, 18, 118, 25901, 2644...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
wxGLCanvas exits process === I have a problem with the OpenGL canvas of the wx library. When I use the method `SwapBuffers` of `wxGLCanvas` the whole process will be terminated with exit code `1`. If I remove the method call the program runs on and on. Unfortunately there is no GL drawing as well. I think it is an...
0
[ 2, 619, 396, 8430, 1245, 8471, 4350, 18, 953, 800, 3726, 3726, 31, 57, 21, 1448, 29, 14, 368, 8430, 9696, 16, 14, 619, 396, 1248, 9, 76, 31, 275, 14, 2109, 13, 1, 18, 1608, 13390, 5386, 445, 1, 16, 13, 1, 499, 396, 8430, 124...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Hyperlinks stop working in firefox after redirect? === On a project I'm working on, I am using http-headers to redirect the user to the frontpage after a successful login; (PHP) header("Location: http://example.com/index.php"); exit(0); This works fine in all browsers tested - however, in Firefox 3.0.6, both o...
0
[ 2, 5443, 6258, 18, 747, 638, 19, 535, 18219, 75, 302, 14706, 60, 800, 3726, 3726, 27, 21, 669, 31, 22, 79, 638, 27, 15, 31, 589, 568, 7775, 8, 1743, 445, 20, 302, 14706, 14, 4155, 20, 14, 431, 6486, 75, 21, 1300, 6738, 108, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 access data in a normalized database schema? === I've got a problem that keeps coming up with normalized databases and was looking for the best solution. Suppose I've got an album information database. I want to setup the schema in a normalized fashion, so I setup two tables - albums, which...
0
[ 2, 98, 25, 14, 246, 161, 20, 1381, 1054, 19, 21, 1826, 1333, 6018, 23874, 60, 800, 3726, 3726, 31, 22, 195, 330, 21, 1448, 30, 8968, 880, 71, 29, 1826, 1333, 6018, 18, 17, 23, 699, 26, 14, 246, 4295, 9, 5787, 31, 22, 195, 33...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can't use ImageSnapshot.captureBitmapData with a rotation matrix === Does anyone have an example of using the ImageSnapshot.captureBitmapData function with a rotation matrix? This is the code I'm using: var matrix:Matrix = new Matrix(); matrix.rotate(degreesToRadians(90)); var bitmapData:BitmapData = ...
0
[ 2, 92, 22, 38, 275, 3502, 325, 306, 7868, 9, 4666, 6418, 3326, 15022, 18768, 29, 21, 9431, 8187, 800, 3726, 3726, 630, 1276, 57, 40, 823, 16, 568, 14, 3502, 325, 306, 7868, 9, 4666, 6418, 3326, 15022, 18768, 1990, 29, 21, 9431, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why is python ordering my dictionary like so? === Here is the dictionary I have propertyList = { "id": "int", "name": "char(40)", "team": "int", "realOwner": "int", "x": "int", "y": "int", "description": "char(255)", "port": "bool", "secret": "bool", "dead...
0
[ 2, 483, 25, 20059, 15775, 51, 9186, 101, 86, 60, 800, 3726, 3726, 235, 25, 14, 9186, 31, 57, 1354, 5739, 800, 13, 1, 13, 7, 1340, 7, 45, 13, 7, 6391, 7, 15, 13, 7, 7259, 7, 45, 13, 7, 5433, 5, 2602, 6, 7, 15, 13, 7, 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...
Is there a way to pass a value TO GM_xmlhttprequest? === As indicated here: http://stackoverflow.com/questions/525243/how-can-i-return-a-value-from-gmxmlhttprequest I have a script that is asynchronous. I would like to pass a value INTO this function so that when the onload function is called I can use it t...
0
[ 2, 25, 80, 21, 161, 20, 1477, 21, 1923, 20, 12600, 1, 396, 8184, 21127, 99, 10351, 60, 800, 3726, 3726, 28, 4151, 235, 45, 7775, 6903, 25325, 2549, 9990, 9, 960, 118, 24652, 18, 118, 24371, 21904, 118, 1544, 8, 1245, 8, 49, 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...
Finding processes using ALSA sound fast === Currently the way `/usr/sbin/alsa` in Debian knows the processes using the sound card looks like: echo $( \ lsof +D /dev -F rt \ | awk '/^p/ {pid=$1} /^t/ {type=$1} /^r0x(74|e)..$/ && type == "tCHR" {print pid}' \ | cut -c 2- \ | uniq \ ) Which is rath...
0
[ 2, 3007, 5102, 568, 493, 1229, 646, 1512, 800, 3726, 3726, 871, 14, 161, 13, 1, 118, 267, 139, 118, 18, 4772, 118, 192, 1229, 1, 19, 121, 10035, 3620, 14, 5102, 568, 14, 646, 2056, 1879, 101, 45, 8117, 5579, 5, 13, 1, 644, 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...
Add shortcut methods or follow ActiveRecord semantics? === Yet another argument with a friend of mine. Consider this code: class User < ActiveRecord::Base has_many :groups def in_group?(group) groups.include?(group) end end class Group < ActiveRecord::Base ha...
0
[ 2, 3547, 502, 4118, 3195, 54, 1740, 1348, 14953, 17220, 18, 60, 800, 3726, 3726, 768, 226, 5476, 29, 21, 860, 16, 1114, 9, 3563, 48, 1797, 45, 718, 4155, 13, 1, 1348, 14953, 45, 45, 8436, 63, 1, 14842, 13, 45, 8024, 18, 6312, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Isn't a SQL Server just for reporting an overhead ? === I recently spoke to a user of SQL Server 2005 who said that their database was overly normalized and they replicate data to a report server. Isn't a database supposed to handle both transactions and reporting ? Why would i have to invest in 2 servers and replica...
0
[ 2, 2532, 22, 38, 21, 4444, 255, 8128, 114, 26, 6670, 40, 8860, 13, 60, 800, 3726, 3726, 31, 1989, 1977, 20, 21, 4155, 16, 4444, 255, 8128, 812, 72, 87, 30, 66, 6018, 23, 18234, 1826, 1333, 17, 59, 22156, 1054, 20, 21, 1330, 81...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Chaining IEnumerables in C#? === Is there a simple built-in way to take an ordered list of `IEnumerable`s and return a single `IEnumerable` which yields, in order, all the elements in the first, then the second, and so on. I could certainly write my own, but I wanted to know whether there was already a way to accom...
0
[ 2, 2858, 68, 13, 660, 6336, 106, 579, 18, 19, 272, 5910, 60, 800, 3726, 3726, 25, 80, 21, 1935, 392, 8, 108, 161, 20, 247, 40, 1905, 968, 16, 13, 1, 660, 6336, 106, 579, 1, 18, 17, 788, 21, 345, 13, 1, 660, 6336, 106, 579,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Freeing memory used by unattached DOM nodes in Javascript === As part of my application, I'm putting together a set of small Dom nodes that are not shown all at once. I'm storing them in an internal array. The user can invoke their display in which case I reparent them to the div that is used to display them. That's...
0
[ 2, 551, 68, 1912, 147, 34, 367, 28484, 11859, 16272, 19, 8247, 8741, 800, 3726, 3726, 28, 141, 16, 51, 3010, 15, 31, 22, 79, 3873, 429, 21, 309, 16, 284, 11859, 16272, 30, 50, 52, 1721, 65, 35, 382, 9, 31, 22, 79, 25615, 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...
In Django, how can I find out the request.session sessionid and use it as a variable? === I'm aware that you can get session variables using `request.session['variable_name']`, but there doesn't seem to be a way to grab the sessionid as a variable in a similar way. Is this documented anywhere? I can't find it. Thanks...
0
[ 2, 19, 3857, 14541, 15, 184, 92, 31, 477, 70, 14, 3772, 9, 7202, 5991, 3723, 1340, 17, 275, 32, 28, 21, 7612, 60, 800, 3726, 3726, 31, 22, 79, 3854, 30, 42, 92, 164, 3723, 12157, 568, 13, 1, 99, 10351, 9, 7202, 5991, 2558, 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...
Present tabular data on webpage so the user can directly copy it into Excel. === On my webpage I want to able to present tabular data and give the user the possibility to copy it directly into excel. This however doesn't work, all of the data is pasted in one cell: <table> <tr><td>Column 1</td><td>Column 2...
0
[ 2, 734, 6523, 7451, 1054, 27, 2741, 6486, 86, 14, 4155, 92, 1703, 4344, 32, 77, 20700, 9, 800, 3726, 3726, 27, 51, 2741, 6486, 31, 259, 20, 777, 20, 734, 6523, 7451, 1054, 17, 590, 14, 4155, 14, 4813, 20, 4344, 32, 1703, 77, 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 embed IronPython in a C# application for game scripting? === I'm currently porting a my tiny space game project from Delphi 2007 Win32 to C#(and XNA). In Delphi, i used RemObjects Open Source scripting solution "PascalScript". Now that i continue developing the game with C#, i'd like to use IronPython for s...
0
[ 2, 184, 20, 11911, 69, 1751, 6448, 11570, 19, 21, 272, 5910, 3010, 26, 250, 3884, 68, 60, 800, 3726, 3726, 31, 22, 79, 871, 1295, 68, 21, 51, 3228, 726, 250, 669, 37, 23030, 624, 628, 3125, 20, 272, 5910, 5, 290, 993, 325, 6, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
JRuby/Windows and (native) extensions how do I distinguish them? === I've tried to use EventMachine etc., with JRuby. I get errors about native extensions. I believe this is due to Java limitations. I think the fact that I am on Windows further complicates the issue. Some clarification would be appreciated. What exten...
0
[ 2, 2000, 291, 779, 118, 27508, 18, 17, 13, 5, 21525, 6, 17529, 184, 107, 31, 9705, 105, 60, 800, 3726, 3726, 31, 22, 195, 794, 20, 275, 807, 20442, 2722, 9, 15, 29, 2000, 291, 779, 9, 31, 164, 11908, 88, 1275, 17529, 9, 31, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to unit test F# code in Visual Studio 2008? === I'm new to F# and I intend to create new F# project, and unit test it with F# in Visual Studio 2008, but the Visual Studio 2008 Unit Test Wizard don't have a F# test project option. 1. Is it possible to unit test F#? 2. Is it possible to unit test F# with a F# te...
0
[ 2, 184, 20, 1237, 1289, 398, 5910, 1797, 19, 3458, 1120, 570, 60, 800, 3726, 3726, 31, 22, 79, 78, 20, 398, 5910, 17, 31, 13863, 20, 1600, 78, 398, 5910, 669, 15, 17, 1237, 1289, 32, 29, 398, 5910, 19, 3458, 1120, 570, 15, 47,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Computing the ranges of floating point data types === Is it possible to compute the ranges of float, double and long double data types in a portable way without reading float.h and using ANSI C? By portable, I mean including those cases when the target machine does not adhere to IEEE 754 standard. I'm reading the K...
0
[ 2, 10626, 14, 9230, 16, 8319, 454, 1054, 2551, 800, 3726, 3726, 25, 32, 938, 20, 23909, 14, 9230, 16, 11510, 15, 1494, 17, 175, 1494, 1054, 2551, 19, 21, 13469, 161, 366, 1876, 11510, 9, 252, 17, 568, 40, 18, 49, 272, 60, 34, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Membership - User Times out Earlier than Expected === Is there any other reasoning other than the timeout setting in the web.config not being used? It might be the default timeout of 30 minutes but it is definitely less than 30 minutes. <authentication mode="Forms"> <forms timeout="50000000" l...
0
[ 2, 28, 306, 9, 2328, 4363, 13, 8, 4155, 436, 70, 1201, 119, 1727, 800, 3726, 3726, 25, 80, 186, 89, 15543, 89, 119, 14, 85, 1320, 2697, 19, 14, 2741, 9, 14093, 2816, 52, 142, 147, 60, 32, 530, 44, 14, 12838, 85, 1320, 16, 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...
How to conduct legitimate email campaigns === We are working on a project that requires us to allow users to register to receive email notifications of certain events. There will potentially be tens or hundreds of thousands of email messages based on any one event. I know that this is done every day all over the w...
0
[ 2, 184, 20, 3989, 11912, 8517, 8433, 800, 3726, 3726, 95, 50, 638, 27, 21, 669, 30, 4781, 182, 20, 1655, 3878, 20, 2243, 20, 2588, 8517, 52, 4634, 18, 16, 1200, 963, 9, 80, 129, 9465, 44, 652, 18, 54, 4541, 16, 3805, 16, 8517,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
@@DBTS in MySql === Hey guys, I want to ask if there is an equivalent to the @@DBTS TSQL global variable in MySql (I need to access the timestamp of the last row that has been accessed in the whole database, not just one table). I need this because I'm trying to use Microsoft Sync Framework and MySql for bi-directi...
0
[ 2, 13, 1, 9007, 38, 18, 19, 51, 18, 22402, 800, 3726, 3726, 8409, 2776, 15, 31, 259, 20, 1349, 100, 80, 25, 40, 4602, 20, 14, 13, 1, 9007, 38, 18, 13, 38, 18, 22402, 2062, 7612, 19, 51, 18, 22402, 13, 5, 49, 376, 20, 1381,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, fonts don't look right in IE after fadeIn === When I dynamically load content into a div and fadeIn (or show or slideDown), the fonts don't look very clear in IE. The fonts of the preloaded contents look just fine, however. I hove noticed this happening with scriptaculous in IE also. Does anyone have an...
0
[ 2, 487, 8190, 93, 15, 9978, 18, 221, 22, 38, 361, 193, 19, 13, 660, 75, 11381, 108, 800, 3726, 3726, 76, 31, 7782, 1326, 6305, 2331, 77, 21, 13, 12916, 17, 11381, 108, 13, 5, 248, 298, 54, 6464, 2968, 6, 15, 14, 9978, 18, 22...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to detect if application is memory bound ? === How to detect if an application is memory bound ? Is there some kind of pattern or a tool ? Mostly for C++ and C# applications... I don't think that there is such a tool in Microsoft Visual Studio.
0
[ 2, 184, 20, 9092, 100, 3010, 25, 1912, 4138, 13, 60, 800, 3726, 3726, 184, 20, 9092, 100, 40, 3010, 25, 1912, 4138, 13, 60, 25, 80, 109, 825, 16, 3732, 54, 21, 5607, 13, 60, 1555, 26, 272, 20512, 17, 272, 5910, 3767, 9, 9, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Probability distribution in Python === I have a list of objects that each have an a conviction (certainty) variable. I want to randomly choose one of these objects, yet I want to make it more likely for a less convinced object to be chosen than a more convinced object. I am wondering if you would have any suggestions,...
0
[ 2, 10177, 2523, 19, 20059, 800, 3726, 3726, 31, 57, 21, 968, 16, 3916, 30, 206, 57, 40, 21, 8988, 13, 5, 5482, 5851, 1084, 6, 7612, 9, 31, 259, 20, 21324, 3538, 53, 16, 158, 3916, 15, 768, 31, 259, 20, 233, 32, 91, 1720, 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...
Best Django features that do work on Google App Engine? === I'm in the process of starting a new project on App Engine and [Brandon's advice][1] made me think. Many features of Django don't work on Google App Engine: the admin interface and the modeling framework for example. Considering that App Engine already...
0
[ 2, 246, 3857, 14541, 967, 30, 107, 170, 27, 8144, 4865, 1406, 60, 800, 3726, 3726, 31, 22, 79, 19, 14, 953, 16, 1422, 21, 78, 669, 27, 4865, 1406, 17, 636, 8842, 218, 22, 18, 4978, 500, 2558, 165, 500, 117, 55, 277, 9, 151, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ClickOnce: The required version of the .NET Framework is not installed on this computer === I have been getting the error "The required version of the .NET Framework is not installed on this computer." (Event Id 4096 in Event log) when trying to install a VSTO application from both a ClickOnce deployment and a local c...
0
[ 2, 10840, 13120, 45, 14, 1390, 615, 16, 14, 13, 9, 2328, 6596, 25, 52, 4066, 27, 48, 1428, 800, 3726, 3726, 31, 57, 74, 1017, 14, 7019, 13, 7, 124, 1390, 615, 16, 14, 13, 9, 2328, 6596, 25, 52, 4066, 27, 48, 1428, 9, 7, 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...
Standard behavior of tellp on empty ostringstream === I have a question on the standard behavior of calling `tellp` on an empty `ostringstream`. I have a function foo which calls `tellp` the first thing: void foo(std::ostream& os) { std::ostream::pos_type pos = os.tellp(); // do some stuf...
0
[ 2, 1236, 3257, 16, 494, 306, 27, 2424, 14859, 68, 11260, 800, 3726, 3726, 31, 57, 21, 1301, 27, 14, 1236, 3257, 16, 2555, 13, 1, 4213, 306, 1, 27, 40, 2424, 13, 1, 111, 11130, 11260, 1, 9, 31, 57, 21, 1990, 4310, 111, 56, 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...
What is a root directory? === I know what a root directory is, of course, but I am finding it very difficult to explain to people what it is. I wrote a Nintendo DS application that requires a folder to be copied to the root directory of your memory card, and I often get e-mails from people who copied it to the wrong p...
0
[ 2, 98, 25, 21, 5900, 16755, 60, 800, 3726, 3726, 31, 143, 98, 21, 5900, 16755, 25, 15, 16, 674, 15, 47, 31, 589, 3007, 32, 253, 1956, 20, 3271, 20, 148, 98, 32, 25, 9, 31, 738, 21, 10562, 13, 43, 18, 3010, 30, 4781, 21, 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...
HTML Problem === > Dear all > > My Html code is just dividing the pages into two 65%,35% > respectively. > **In response Tag:I have variable data. > In note Tag:I have fixed data** > Even though two different data, i need set two of Background color > s...
0
[ 2, 13, 15895, 1448, 800, 3726, 3726, 13, 1, 4483, 65, 13, 1, 13, 1, 51, 13, 15895, 1797, 25, 114, 18542, 14, 4434, 77, 81, 400, 1933, 15, 22045, 13, 1, 2820, 9, 13, 1, 13, 1409, 108, 1627, 3383, 45, 49, 57, 7612, 1054, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it Possible to set a Default Order By in Linq Attribute Mappings? === I it was possible to do this in Active Record, but is this feasible with Linq to SQL?
0
[ 2, 25, 32, 938, 20, 309, 21, 12838, 389, 34, 19, 6294, 1251, 35, 14755, 13305, 18, 60, 800, 3726, 3726, 31, 32, 23, 938, 20, 107, 48, 19, 1348, 571, 15, 47, 25, 48, 13, 23707, 29, 6294, 1251, 20, 4444, 255, 60, 3, 0, 0, 0,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
What should I use "final" for? === Is there any particular reason I should declare a class final in day-to-day programming (web or otherwise)?
0
[ 2, 98, 378, 31, 275, 13, 7, 4932, 7, 26, 60, 800, 3726, 3726, 25, 80, 186, 1498, 1215, 31, 378, 10123, 21, 718, 426, 19, 208, 8, 262, 8, 1185, 3143, 13, 5, 14113, 54, 3190, 6, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Software development process and lawyer === On any if you ask a question about licenses, patents or copyright everybody will refer you to the lawyer (see SO’s “ask-a-lawyer” tag). I’m trying to setup a software development process where there will be place for a lawyer. But I cannot find any well known process that in...
0
[ 2, 2306, 522, 953, 17, 3672, 800, 3726, 3726, 27, 186, 100, 42, 1349, 21, 1301, 88, 3962, 18, 15, 16676, 54, 8398, 8903, 129, 5017, 42, 20, 14, 3672, 13, 5, 1798, 86, 1, 18, 13, 1, 20310, 8, 58, 8, 2371, 4366, 1, 3383, 6, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
pycurl cancel a transfer and try & except === How do i cancel a transfer in pycurl? i use to return -1 in libcurl but pycurl doesnt seem to like that ("pycurl.error: invalid return value for write callback -1 17") return 0 doesnt work either, i get "error: (23, 'Failed writing body')" . Also how do i do a try/except w...
0
[ 2, 7103, 4734, 255, 14815, 21, 2617, 17, 1131, 279, 1613, 800, 3726, 3726, 184, 107, 31, 14815, 21, 2617, 19, 7103, 4734, 255, 60, 31, 275, 20, 788, 13, 8, 165, 19, 13, 8326, 4734, 255, 47, 7103, 4734, 255, 5886, 2260, 20, 101, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Possible to abort shutdown on linux? === I'm familiar and use shutdown in linux and typically just do `@> shutdown -h now` But is there a way to stop shutdown from happening say if I aim to shutdown 10 minutes from now and then in 5 minutes time I discover I really don't want to shutdown?
2
[ 2, 938, 20, 21557, 28450, 27, 13024, 60, 800, 3726, 3726, 31, 22, 79, 3694, 17, 275, 28450, 19, 13024, 17, 2442, 114, 107, 13, 1, 28450, 13, 8, 252, 130, 1, 47, 25, 80, 21, 161, 20, 747, 28450, 37, 4942, 395, 100, 31, 5226, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Circles in an Undirected Graph === Given an undirected graph G=(V,E) with n vertices ( |V| = n ), how do you find if it contains a circle in O(n) ?
0
[ 2, 7845, 19, 40, 367, 14147, 7210, 800, 3726, 3726, 504, 40, 367, 14147, 7210, 489, 3726, 5, 710, 15, 62, 6, 29, 13, 103, 21235, 13, 5, 13, 1, 710, 1, 800, 13, 103, 13, 6, 15, 184, 107, 42, 477, 100, 32, 1588, 21, 2775, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Smart tool (addin?) for creating class body from header file === you probably know this -- you're going to create some nice class, you think about it a little, maybe even draw a little UML here and there and then you're ready for implementation. You create header files with member functions, maybe even some member pro...
0
[ 2, 3978, 5607, 13, 5, 14854, 108, 60, 6, 26, 2936, 718, 358, 37, 157, 106, 3893, 800, 3726, 3726, 42, 910, 143, 48, 13, 8, 8, 42, 22, 99, 228, 20, 1600, 109, 2210, 718, 15, 42, 277, 88, 32, 21, 265, 15, 913, 166, 2003, 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...
What software has been written in Scheme? === I loved Scheme in the programming languages concepts class I took several years ago. Ever since reading what Paul Graham has to say about Lisp, I've been intending to go back and pick Scheme up again and see if it'll improve my programming in general. Are there any wel...
0
[ 2, 98, 2306, 63, 74, 642, 19, 4276, 60, 800, 3726, 3726, 31, 2199, 4276, 19, 14, 3143, 2556, 8700, 718, 31, 199, 238, 122, 1464, 9, 462, 179, 1876, 98, 758, 4497, 63, 20, 395, 88, 2093, 3401, 15, 31, 22, 195, 74, 18975, 20, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
CSS / JavaScript - How do you get the rendered height of an element? === How do you get the rendered height of an element? Lets say you have a `<div>` element with some content inside. This content inside is going to stretch the height of the `<div>`. How do you get the "rendered" height when you haven't explicitly...
0
[ 2, 272, 18, 18, 13, 118, 8247, 8741, 13, 8, 184, 107, 42, 164, 14, 10877, 2947, 16, 40, 4520, 60, 800, 3726, 3726, 184, 107, 42, 164, 14, 10877, 2947, 16, 40, 4520, 60, 6884, 395, 42, 57, 21, 13, 1, 12916, 1, 4520, 29, 109, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I unroll (compile) an interpreter loop? === I heard that some languages go from interpreted to compiled by "unrolling the interpreter loop". Let's say I have the following pseudo-c-code interpreter for an ast tree. int interpret(node) { switch(node) { case PLUS: ...
0
[ 2, 184, 107, 31, 367, 8694, 13, 5, 11103, 3599, 6, 40, 19336, 5293, 60, 800, 3726, 3726, 31, 752, 30, 109, 2556, 162, 37, 10394, 20, 9316, 34, 13, 7, 1020, 8694, 68, 14, 19336, 5293, 7, 9, 408, 22, 18, 395, 31, 57, 14, 249, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Explain your job to 5 years old === Sometimes it's difficult to define programming to people. Especially too old or too young people can not understand what I do to earn money. They think that I repair computers or they want to think that I (as an engineer) build computers at work :) It's really hard to tell people th...
4
[ 2, 3271, 154, 1205, 20, 331, 122, 315, 800, 3726, 3726, 1030, 32, 22, 18, 1956, 20, 9267, 3143, 20, 148, 9, 1118, 266, 315, 54, 266, 461, 148, 92, 52, 1369, 98, 31, 107, 20, 6276, 875, 9, 59, 277, 30, 31, 5612, 7774, 54, 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...
output buffer === am writing a php script and somewhere before my header() function i have printed text to the browser hereby causing my header() function give me a well known error: Warning: Cannot modify header information - headers already sent. now my question is, i have the intentions of using ob_start() and o...
0
[ 2, 5196, 17497, 800, 3726, 3726, 589, 1174, 21, 13, 26120, 3884, 17, 3493, 115, 51, 157, 106, 5, 6, 1990, 31, 57, 5317, 1854, 20, 14, 16495, 235, 779, 3242, 51, 157, 106, 5, 6, 1990, 590, 55, 21, 134, 167, 7019, 45, 3590, 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...
Firefox extension database === I currently use a flat-file to store data in a Firefox Extension, but think this is inadequate. **Which lightweight databases are commonly used within Firefox extensions?**
0
[ 2, 535, 18219, 3896, 6018, 800, 3726, 3726, 31, 871, 275, 21, 1844, 8, 16877, 20, 1718, 1054, 19, 21, 535, 18219, 3896, 15, 47, 277, 48, 25, 16296, 9, 13, 1409, 2140, 13613, 6018, 18, 50, 2524, 147, 363, 535, 18219, 17529, 60, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
What is the best way to write a rakefile to run commands in windows? === As an example i want to run the following command under a rake. robocopy C:\Media \\other\Media /mir The rakefile i was able to get working was def sh(str) str.tr!('|', '\\') IO.popen(str) do |pipe| pipe.e...
0
[ 2, 98, 25, 14, 246, 161, 20, 2757, 21, 21009, 16877, 20, 485, 14294, 19, 1936, 60, 800, 3726, 3726, 28, 40, 823, 31, 259, 20, 485, 14, 249, 1202, 131, 21, 21009, 9, 3830, 111, 19625, 272, 45, 1, 8260, 13, 1, 9539, 1, 8260, 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...
Statistics or resources: which gets disabled first (more often than others)? Images or Javascript? === I am creating a new website and this question came up, statistically, including all browsers (phone browsers as well), which gets disabled more often? Images, Javascript, or CSS? Reason Im looking for an answer is to...
0
[ 2, 5818, 54, 2566, 45, 56, 3049, 10154, 64, 13, 5, 1995, 478, 119, 654, 6, 60, 3502, 54, 8247, 8741, 60, 800, 3726, 3726, 31, 589, 2936, 21, 78, 2271, 17, 48, 1301, 281, 71, 15, 6762, 102, 15, 215, 65, 16495, 18, 13, 5, 7709...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Store Files In An EXE C# === Alright, so I'm working on programming my own installer in C#, and what I'd like to do is something along the lines of put the files in the .exe, so I can do File.Copy(file, filedir); Or, if this isn't possible, is there another way of doing what I am attempting to do? Thank...
0
[ 2, 184, 20, 1718, 6488, 19, 40, 1396, 62, 272, 5910, 800, 3726, 3726, 11885, 15, 86, 31, 22, 79, 638, 27, 3143, 51, 258, 16146, 106, 19, 272, 5910, 15, 17, 98, 31, 22, 43, 101, 20, 107, 25, 301, 303, 14, 1560, 16, 442, 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...
Creating a vectorial font. === I've the coordinates of the letters (e.g. using SVG). How could I generate a vectorial font for my computer ?
0
[ 2, 2936, 21, 7497, 2815, 9978, 9, 800, 3726, 3726, 31, 22, 195, 14, 13714, 16, 14, 2516, 13, 5, 62, 9, 263, 9, 568, 13, 18, 22955, 6, 9, 184, 110, 31, 7920, 21, 7497, 2815, 9978, 26, 51, 1428, 13, 60, 3, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
python time to age part 2, timezones === Following on from my previous question: http://stackoverflow.com/questions/508727/python-time-to-age I have now come across a problem regarding the timezone, turns out that its not always going to be "+0200". So when strptime tries to parse it as such, it throws up an excep...
0
[ 2, 20059, 85, 20, 348, 141, 172, 15, 85, 11661, 18, 800, 3726, 3726, 249, 27, 37, 51, 1158, 1301, 45, 7775, 6903, 25325, 2549, 9990, 9, 960, 118, 24652, 18, 18133, 3099, 4009, 9816, 6448, 11570, 8, 891, 8, 262, 8, 1303, 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...
how to represent a call being made in a loop in a sequence diagram? === I'm creating a sequence diagram and one of the classes is being observed by another class. The observed class is calling update in the observer every 5 seconds in a loop. I need to show this in the sequence diagram. Is there a way to show it lo...
0
[ 2, 184, 20, 3501, 21, 645, 142, 117, 19, 21, 5293, 19, 21, 4030, 14161, 60, 800, 3726, 3726, 31, 22, 79, 2936, 21, 4030, 14161, 17, 53, 16, 14, 2684, 25, 142, 3634, 34, 226, 718, 9, 14, 3634, 718, 25, 2555, 11100, 19, 14, 98...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What's the best way to implement a counter field in MySQL === I want to start counting the numbers of times a webpage is viewed and hence need some kind of simple counter. What is the best scalable method of doing this? Suppose I have a table Frobs where each row corresponds to a page - some obvious options are: ...
0
[ 2, 98, 22, 18, 14, 246, 161, 20, 8713, 21, 2105, 575, 19, 51, 18, 22402, 800, 3726, 3726, 31, 259, 20, 799, 11195, 14, 2116, 16, 436, 21, 2741, 6486, 25, 6084, 17, 5796, 376, 109, 825, 16, 1935, 2105, 9, 98, 25, 14, 246, 189...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 - Compatibility Problem with Internet Explorer 7?? === I have this code that dynamically slides up a Div over an image when mouse over it. It works perfectly in Firefox and Google Chrome, but in Internet Explorer 7 everything runs really slow and nothing happen. The jquery code is this: jQuery.fn.mas...
0
[ 2, 487, 8190, 93, 13, 8, 13, 21618, 1448, 29, 2620, 8520, 453, 60, 60, 800, 3726, 3726, 31, 57, 48, 1797, 30, 7782, 1326, 18066, 71, 21, 13, 12916, 84, 40, 1961, 76, 7567, 84, 32, 9, 32, 693, 5759, 19, 535, 18219, 17, 8144, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
C programming: How to program unicode consequently? === What prerequisites are needed to do strict unicode programming? Does this imply not to use char types anywhere in my program and that functions need to be used that can deal with wint_t and wchar_t? And what role play multibyte character sequences in this s...
0
[ 2, 272, 3143, 45, 184, 20, 625, 28010, 8730, 60, 800, 3726, 3726, 98, 782, 99, 16756, 6359, 50, 851, 20, 107, 8170, 28010, 3143, 60, 630, 48, 21679, 52, 20, 275, 4892, 2551, 4922, 19, 51, 625, 17, 30, 3719, 376, 20, 44, 147, 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...
Do you only run htmlspecialchars() on output or is there other functionality you also do? === When outputting user input, do you only use htmlspecialchars() or are there are functions/actions/methods you also run? I'm wondering if I shoudl write a function that escapes user input on output or just use htmlspecialch...
0
[ 2, 107, 42, 104, 485, 13, 15895, 11118, 5433, 18, 5, 6, 27, 5196, 54, 25, 80, 89, 18548, 42, 67, 107, 60, 800, 3726, 3726, 76, 5196, 1203, 4155, 6367, 15, 107, 42, 104, 275, 13, 15895, 11118, 5433, 18, 5, 6, 54, 50, 80, 50, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Globally suppress c# compiler warnings === In my app I have a fair number of entities which have fields which are getting their values set via refletion. (In this case NHibernate is setting them). I'd like to get rid of the "x is never assigned to and will always have its default value 0" warnings, so I can more easil...
0
[ 2, 18861, 12451, 272, 5910, 21486, 3590, 18, 800, 3726, 3726, 19, 51, 4865, 31, 57, 21, 1768, 234, 16, 12549, 56, 57, 2861, 56, 50, 1017, 66, 4070, 309, 1197, 302, 10812, 3309, 9, 13, 5, 108, 48, 610, 12109, 15191, 8820, 25, 269...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Log4Perl rotate & compress - best practices === From what I can tell neither Log4Perl or any of it's related modules in CPAN, does not support rotate & compression of log files. Rotation can be accomplished by using: 1. [Log::Log4perl::Appender::File][1] 2. [Log::Dispatch::FileRotate][2]. But neither modu...
0
[ 2, 6738, 300, 1432, 255, 21448, 279, 26060, 13, 8, 246, 5242, 800, 3726, 3726, 37, 98, 31, 92, 494, 3028, 6738, 300, 1432, 255, 54, 186, 16, 32, 22, 18, 1597, 17113, 19, 272, 3206, 15, 630, 52, 555, 21448, 279, 14864, 16, 6738, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Calling show() on list-item makes it a block element and makes bullet disappear === I am new to JQuery but I've started by making a list creator essentially. I have an empty list and an input field and a link for the user to add elements to the list. When I add something, I would like it to be hidden at first and then...
0
[ 2, 2555, 298, 5, 6, 27, 968, 8, 2119, 79, 1364, 32, 21, 1921, 4520, 17, 1364, 6812, 10866, 800, 3726, 3726, 31, 589, 78, 20, 487, 8190, 93, 47, 31, 22, 195, 373, 34, 544, 21, 968, 9247, 7398, 9, 31, 57, 40, 2424, 968, 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...
WPF DataGrid ContextMenu(s) === how can I define different ContextMenus for each column in the DataGrid (Microsoft's grid)? I found out that the grid provides a ContextMenu attribute, but i want different context menu items for the columns, not the same ContextMenu for the whole grid.. Thanks for any help on this! ...
0
[ 2, 619, 7721, 1054, 16375, 4141, 755, 291, 5, 18, 6, 800, 3726, 3726, 184, 92, 31, 9267, 421, 4141, 755, 267, 26, 206, 4698, 19, 14, 1054, 16375, 13, 5, 22019, 12980, 22, 18, 7354, 6, 60, 31, 216, 70, 30, 14, 7354, 1927, 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...
Django form fails validation on a unique field === I have a simple model that is defined as: class Article(models.Model): slug = models.SlugField(max_length=50, unique=True) title = models.CharField(max_length=100, unique=False) I created a form based on this model. Creating a new entry i...
0
[ 2, 3857, 14541, 505, 13614, 27999, 27, 21, 2619, 575, 800, 3726, 3726, 31, 57, 21, 1935, 1061, 30, 25, 2811, 28, 45, 718, 2002, 5, 13998, 18, 9, 13998, 6, 45, 15850, 800, 2761, 9, 18, 2377, 263, 1109, 5, 8304, 1, 6325, 3726, 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...
Respond to keyboard when not in focus? (C#, Vista) === I'm trying to write an application that responds whenever the Shift key is pressed, no matter what application currently has focus. I tried this with SetKeyboardHookEx() and with GetKeyboardState(), but both of these only work when the application's window has ...
0
[ 2, 4590, 20, 8896, 76, 52, 19, 1776, 60, 13, 5, 150, 5910, 15, 13520, 6, 800, 3726, 3726, 31, 22, 79, 749, 20, 2757, 40, 3010, 30, 4590, 18, 6634, 14, 4471, 1246, 25, 2931, 15, 90, 1161, 98, 3010, 871, 63, 1776, 9, 31, 794, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
AutoIncrement fields on databases without autoincrement field === In MS Sql Server is easy create autoincrement fields. In my systems I stopped to use autoincrement fields for primary keys, and now I use Guid's. It was awesome, I've got a lot of advantages with that change. But in another non-primary key fields, I rea...
0
[ 2, 3108, 28461, 2861, 27, 6018, 18, 366, 3108, 28461, 575, 800, 3726, 3726, 19, 4235, 4444, 255, 8128, 25, 2010, 1600, 3108, 28461, 2861, 9, 19, 51, 1242, 31, 1175, 20, 275, 3108, 28461, 2861, 26, 1256, 5534, 15, 17, 130, 31, 275,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Practical examples of NLTK use === I'm playing about with the [Natural Language Toolkit][1] (NLTK). The documentation ([Book][2] and [HOWTO][3]) and is a little heavy going. Are there any good but basic examples of the use of NLTK? I'm thinking of things like the [NTLK articles][4] on the *Stream Hacker* blog. ...
4
[ 2, 5713, 3770, 16, 13, 10651, 38, 197, 275, 800, 3726, 3726, 31, 22, 79, 791, 88, 29, 14, 636, 17232, 816, 5607, 13703, 500, 2558, 165, 500, 13, 5, 10651, 38, 197, 6, 9, 14, 13945, 13, 5, 2558, 5199, 500, 2558, 135, 500, 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...