unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Can you ever have too many "protected virtual" methods? === Here's a question for those of you with experience in larger projects and API/framework design. I am working on a framework that will be used by many other projects in the future, so I want to make it nice and extensible, but at the same time it needs to b...
0
[ 2, 92, 42, 462, 57, 266, 151, 13, 7, 16265, 69, 6599, 7, 3195, 60, 800, 3726, 3726, 235, 22, 18, 21, 1301, 26, 273, 16, 42, 29, 1496, 19, 1662, 2314, 17, 21, 2159, 118, 8361, 3783, 704, 9, 31, 589, 638, 27, 21, 6596, 30, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
how to convert server time to local time === I have a problem with time My server is in the USA and I'm in Denmark (Europa) and i would like to have my site show the time in my local time how can i do that I try this Datetime localtime = DateTimeOffset.Now.ToOffset(new TimeSpan(1,0,0)).DateTime; and ...
0
[ 2, 184, 20, 8406, 8128, 85, 20, 375, 85, 800, 3726, 3726, 31, 57, 21, 1448, 29, 85, 51, 8128, 25, 19, 14, 2563, 17, 31, 22, 79, 19, 4913, 13, 5, 5630, 11490, 6, 17, 31, 83, 101, 20, 57, 51, 689, 298, 14, 85, 19, 51, 375,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Page Not Found Error on SharePoint Sites in TFS === I'm in big trouble here, today i was asked to add a new user to TFS, the first thing I do is adding it to SharePoint, but now every time I tried to enter the project portal (Team Explorer -> right click on project -> Show project portal) I got an page not found error...
0
[ 2, 2478, 52, 216, 7019, 27, 1891, 3132, 3259, 19, 13, 11720, 18, 800, 3726, 3726, 31, 22, 79, 19, 580, 2572, 235, 15, 786, 31, 23, 411, 20, 3547, 21, 78, 4155, 20, 13, 11720, 18, 15, 14, 64, 584, 31, 107, 25, 4721, 32, 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...
Database consistency with SQL Order By and nulls === I have a column in my database (a flag) with type varchar(1) that is populated either Y or NULL (this is how it is, not in my control). In SQL Server, doing an ascending order by query, NULL is ordered at the top. Should this behaviour be consistent for Oracle an...
0
[ 2, 6018, 22061, 29, 4444, 255, 389, 34, 17, 16203, 18, 800, 3726, 3726, 31, 57, 21, 4698, 19, 51, 6018, 13, 5, 58, 3157, 6, 29, 1001, 4033, 5433, 5, 165, 6, 30, 25, 11111, 694, 13, 93, 54, 16203, 13, 5, 1565, 25, 184, 32, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Windows Server 2003 sp2 kills ASP.NET 1.1 web apps === We recently upgraded our intranet dev server (Windows Server 2003) to the latest and greatest patches, including 2k3 sp2 and the latest for each version of .NET. We have a variety of technologies that we use, including COM+, ASP, ASP.NET 1.1, ASP.NET 2.0, and C...
0
[ 2, 1936, 8128, 973, 3782, 135, 9340, 28, 306, 9, 2328, 137, 9, 165, 2741, 4865, 18, 800, 3726, 3726, 95, 1989, 9958, 318, 14369, 2328, 9664, 8128, 13, 5, 27508, 18, 8128, 973, 6, 20, 14, 5736, 17, 3023, 16359, 15, 215, 172, 197,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Static control with WS_EX_TRANSPARENT style not repainted === I am trying to create a control that implements the per-pixel alpha blend while painting a 32-bit bitmap. I extended a CWnd and use static control in the resource editor. I managed to paint the alpha channel correctly but still the static control keep pa...
0
[ 2, 12038, 569, 29, 619, 18, 1, 1706, 1, 7028, 18908, 1034, 52, 302, 19545, 800, 3726, 3726, 31, 589, 749, 20, 1600, 21, 569, 30, 8713, 18, 14, 416, 8, 18321, 532, 5705, 11138, 133, 2469, 21, 2512, 8, 3326, 1142, 15022, 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...
Possible to modify the C# that Linq To SQL generates? === It would be really handy to be able to somehow say that certain properties in the generated entity classes should, for example, be decorated by (say) validation attributes (as well as Linq To SQL column attributes). Is it a T4 template someplace? Or are the...
0
[ 2, 938, 20, 17579, 14, 272, 5910, 30, 6294, 1251, 20, 4444, 255, 7920, 18, 60, 800, 3726, 3726, 32, 83, 44, 510, 20277, 20, 44, 777, 20, 3625, 395, 30, 1200, 3704, 19, 14, 6756, 9252, 2684, 378, 15, 26, 823, 15, 44, 6933, 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...
Ruthlessly compressing large images for the web === I have a very large background image (about 940x940 pixels) and I'm wondering if anyone has tips for compressing a file this large further than Photoshop can handle? The best compression without serious loss of quality from Photoshop is PNG 8 (250 KB); does anyone k...
0
[ 2, 17634, 102, 26060, 68, 370, 3502, 26, 14, 2741, 800, 3726, 3726, 31, 57, 21, 253, 370, 2395, 1961, 13, 5, 6901, 13, 26784, 396, 26784, 18146, 18, 6, 17, 31, 22, 79, 5712, 100, 1276, 63, 11034, 26, 26060, 68, 21, 3893, 48, 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...
Extract a Byte[] from an XElement with Linq to Xml === I am saving some small images to Xml as a Byte[] via the following XElement construct.. XElement xe = new XElement("Images", from c in qry select new XElement("Image", new XAttribute("Date", c.Date), new ...
0
[ 2, 10962, 21, 34, 591, 2558, 500, 37, 40, 993, 27567, 29, 6294, 1251, 20, 23504, 800, 3726, 3726, 31, 589, 7599, 109, 284, 3502, 20, 23504, 28, 21, 34, 591, 2558, 500, 1197, 14, 249, 993, 27567, 6960, 9, 9, 993, 27567, 13, 13012...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 do <form method="get"> in ASP.Net for a search form? === I have a search form in an app I'm currently developing, and I would like for it to be the equivalent of method="GET". Thus, when clicking the search button, the user goes to search.aspx?q=the+query+he+entered The reason I want this is simply boo...
0
[ 2, 184, 92, 31, 107, 13, 1, 4190, 2109, 3726, 7, 3060, 7, 1, 19, 28, 306, 9, 2328, 26, 21, 2122, 505, 60, 800, 3726, 3726, 31, 57, 21, 2122, 505, 19, 40, 4865, 31, 22, 79, 871, 3561, 15, 17, 31, 83, 101, 26, 32, 20, 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...
ASP.NET - controls generated by xslt transformation === i'm generating controls dynamically on my asp.net page by xslt transformation from an xml file. i will need to reference these controls from code behind later. i would like to add these references to the list/hashtable/whatever during creation (in xslt file i sup...
0
[ 2, 28, 306, 9, 2328, 13, 8, 8671, 6756, 34, 993, 18, 255, 38, 6978, 800, 3726, 3726, 31, 22, 79, 13500, 8671, 7782, 1326, 27, 51, 28, 306, 9, 2328, 2478, 34, 993, 18, 255, 38, 6978, 37, 40, 23504, 3893, 9, 31, 129, 376, 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...
mysqli->error: Is it for the last query only, or for the last error from the query group? === I am new to mysqli, and trying to confirm that if I so something like the below, the errno will be set to the last error, if any, and not the error of the last query. Is this a decent practice or should I be checking for ...
0
[ 2, 51, 18, 1251, 1210, 8, 1, 29992, 45, 25, 32, 26, 14, 236, 25597, 104, 15, 54, 26, 14, 236, 7019, 37, 14, 25597, 214, 60, 800, 3726, 3726, 31, 589, 78, 20, 51, 18, 1251, 1210, 15, 17, 749, 20, 10265, 30, 100, 31, 86, 301...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 implement Case Insensitive String in Python? === What's the best way to do case insensitive string comparison in Python? I would like to encapsulate comparison of a regular strings to a repository string using in a very simple and pythonic way. I also would like to have ability to look up values in a dict h...
0
[ 2, 184, 20, 8713, 610, 19, 19435, 3724, 19, 20059, 60, 800, 3726, 3726, 98, 22, 18, 14, 246, 161, 20, 107, 610, 19, 19435, 3724, 6050, 19, 20059, 60, 31, 83, 101, 20, 1957, 4666, 18, 12383, 6050, 16, 21, 1290, 7887, 20, 21, 24...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
simultaneous updates arcoss two display context, openGL === I have two OpenGL display contexts, each displaying an image. I want to be able to pan both images simultaneously. I can update the image locations easily however, only one of the display contexts seems to be updating. If I add a pause between the refresh cal...
0
[ 2, 4861, 1287, 11613, 1291, 16779, 13, 18247, 18, 18, 81, 3042, 4141, 15, 368, 8430, 800, 3726, 3726, 31, 57, 81, 368, 8430, 3042, 4141, 18, 15, 206, 17418, 40, 1961, 9, 31, 259, 20, 44, 777, 20, 1809, 156, 3502, 6888, 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...
Basic Excel currency format with Apache POI === I'm able to get cells to format as Dates, but I've been unable to get cells to format as currency... Anyone have an example of how to create a style to get this to work? My code below show the styles I'm creating... the styleDateFormat works like a champ while styleCu...
0
[ 2, 2125, 20700, 10507, 2595, 29, 17140, 2353, 49, 800, 3726, 3726, 31, 22, 79, 777, 20, 164, 2934, 20, 2595, 28, 4076, 15, 47, 31, 22, 195, 74, 2343, 20, 164, 2934, 20, 2595, 28, 10507, 9, 9, 9, 1276, 57, 40, 823, 16, 184, 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...
Referencing code in VB.NET === I'm not at all familiar with VB.NET or ASP. I need to create a simple page which makes a call to a remote web service. I used the wsdl utility which comes with the DotNet SDK to generate a service proxy and write it to a VB file. Unfortunately I have no idea how to reference this code in...
0
[ 2, 13, 29254, 1797, 19, 13, 20468, 9, 2328, 800, 3726, 3726, 31, 22, 79, 52, 35, 65, 3694, 29, 13, 20468, 9, 2328, 54, 28, 306, 9, 31, 376, 20, 1600, 21, 1935, 2478, 56, 1364, 21, 645, 20, 21, 5388, 2741, 365, 9, 31, 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...
Generate formatted diff output in Java === Are there any libraries out there for Java that will accept two strings, and return a string with formatted output as per the *nix diff command? e.g. feed in test 1,2,3,4 test 5,6,7,8 test 9,10,11,12 test 13,14,15,16 and test 1,2,3,4 ...
0
[ 2, 7920, 13, 29850, 20811, 5196, 19, 8247, 800, 3726, 3726, 50, 80, 186, 8649, 70, 80, 26, 8247, 30, 129, 3440, 81, 7887, 15, 17, 788, 21, 3724, 29, 13, 29850, 5196, 28, 416, 14, 1637, 14064, 20811, 1202, 60, 13, 62, 9, 263, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I release sql express database? === I have a simple app that uses an SQL Express 2005 database. When the user closes the app, I want to give the option to back up the database by making a copy in another directory. However, when I try to do it, I get "The process cannot access the file '...\Pricing.MDF' becau...
0
[ 2, 184, 107, 31, 830, 4444, 255, 2999, 6018, 60, 800, 3726, 3726, 31, 57, 21, 1935, 4865, 30, 2027, 40, 4444, 255, 2999, 812, 6018, 9, 76, 14, 4155, 543, 18, 14, 4865, 15, 31, 259, 20, 590, 14, 4255, 20, 97, 71, 14, 6018, 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...
Java Concurrency Techniques === Here are two chunks of code that accomplish (what I think is) the same thing. I basically am trying to learn how to use Java 1.5's concurrency to get away from Thread.sleep(long). The first example uses ReentrantLock, and the second example uses CountDownLatch. The jist of what I a...
0
[ 2, 8247, 25547, 4212, 800, 3726, 3726, 235, 50, 81, 15009, 18, 16, 1797, 30, 14570, 13, 5, 608, 31, 277, 25, 6, 14, 205, 584, 9, 31, 11374, 589, 749, 20, 2484, 184, 20, 275, 8247, 137, 9, 264, 22, 18, 25547, 20, 164, 229, 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...
Do you have examples of comments or todos that were difficult to interpret? === I'm writing a chapter of my dissertation that deals with contextual cues and I'm looking for good examples of comments (or todo comments) where it's obvious that whoever wrote them had some knowledge that he didn't bother sharing with fut...
0
[ 2, 107, 42, 57, 3770, 16, 7534, 54, 20, 8609, 30, 46, 1956, 20, 11584, 60, 800, 3726, 3726, 31, 22, 79, 1174, 21, 1260, 16, 51, 16034, 30, 10342, 29, 4141, 6948, 10963, 18, 17, 31, 22, 79, 699, 26, 254, 3770, 16, 7534, 13, 5...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Updating from Java VM 5 to 6 gave a really big increase of memory consumption === I've be working with a Java application run through the command-line. It deals with XML files, specially the dblp.xml database which has more than 400MB. I was using JVM 5 and my app needed sort of 600-700MB of memory to processe the...
0
[ 2, 71, 43, 1880, 37, 8247, 13, 20147, 331, 20, 400, 492, 21, 510, 580, 1839, 16, 1912, 8330, 800, 3726, 3726, 31, 22, 195, 44, 638, 29, 21, 8247, 3010, 485, 120, 14, 1202, 8, 1143, 9, 32, 10342, 29, 23504, 6488, 15, 13444, 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...
TO protect software by accessing harddisk serial no === Want to get the VB.NET or VB codes to access the hard disk serial no when starting the program. It's help me to protect my own software by people who try to pirated copies.
1
[ 2, 20, 2196, 2306, 34, 1381, 68, 552, 2906, 197, 5956, 90, 800, 3726, 3726, 259, 20, 164, 14, 13, 20468, 9, 2328, 54, 13, 20468, 11358, 20, 1381, 14, 552, 8582, 5956, 90, 76, 1422, 14, 625, 9, 32, 22, 18, 448, 55, 20, 2196, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Custom Server Control (GridView), DataBinding, and Control Lifecycle conflict. === I have created a Custom Server Control (Inherited from GridView). On the page, the GridView is DataBound to a DataSet, so I do not know at design time what columns will be present in my GridView. Now, what I want to do is, to add ...
0
[ 2, 5816, 8128, 569, 13, 5, 16375, 4725, 6, 15, 1054, 22260, 15, 17, 569, 201, 12467, 2930, 9, 800, 3726, 3726, 31, 57, 679, 21, 5816, 8128, 569, 13, 5, 108, 1694, 242, 69, 37, 7354, 4725, 6, 9, 27, 14, 2478, 15, 14, 7354, 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...
When not / to write tests before implementation? === Title says it all (mostly). I'm not sure how "tests first" works and I'd like to hear arguments about when and why one would take this approach. I hear that it's often recommended to write tests and mock things before writing a single line of implementation. Howe...
0
[ 2, 76, 52, 13, 118, 20, 2757, 4894, 115, 6123, 60, 800, 3726, 3726, 581, 898, 32, 65, 13, 5, 18397, 6, 9, 31, 22, 79, 52, 562, 184, 13, 7, 10543, 18, 64, 7, 693, 17, 31, 22, 43, 101, 20, 990, 10553, 88, 76, 17, 483, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Difference between winsock and linux sockets === I'm developing an FTP-like program to download a large number of small files onto an Xbox 360 devkit (which uses Winsock), and porting it to Playstation3 (also a devkit, and uses linux AFAIK). The program uses BSD-style sockets (TCP). Both of the programs communicate ...
0
[ 2, 2841, 128, 4041, 5668, 17, 13024, 18482, 18, 800, 3726, 3726, 31, 22, 79, 3561, 40, 1187, 306, 8, 1403, 625, 20, 7121, 21, 370, 234, 16, 284, 6488, 1204, 40, 13800, 11760, 9664, 13703, 13, 5, 2140, 2027, 4041, 5668, 6, 15, 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...
How can I determine whether or not a stored procedure is recompiling every time? === I've got the a SQL Server stored procedure with the following T-SQL code contained within: insert into #results ([ID], [Action], [Success], [StartTime], [EndTime], [Process]) select 'ID' = aa.[ActionID], 'Action' = cast...
0
[ 2, 184, 92, 31, 3746, 1472, 54, 52, 21, 8214, 7004, 25, 302, 11103, 49, 802, 352, 85, 60, 800, 3726, 3726, 31, 22, 195, 330, 14, 21, 4444, 255, 8128, 8214, 7004, 29, 14, 249, 13, 38, 8, 18, 22402, 1797, 3437, 363, 45, 14692, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Algorithm for generating a random number === I'm looking to generate a random number and issue it to a table in a database for a particular user_id. The catch is, the same number can't be used twice. There's a million ways to do this, but I'm hoping someone very keen on algorithms has a clever way of solving the probl...
0
[ 2, 9083, 26, 13500, 21, 5477, 234, 800, 3726, 3726, 31, 22, 79, 699, 20, 7920, 21, 5477, 234, 17, 1513, 32, 20, 21, 859, 19, 21, 6018, 26, 21, 1498, 4155, 1, 1340, 9, 14, 2949, 25, 15, 14, 205, 234, 92, 22, 38, 44, 147, 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...
Ruby on Rails: Why do I get timezones munged when I write a time to the DB, then read it back? === I have config.time_zone in environment.rb set to "UTC", and my mySQL server returns the current time in my local time zone when I issue "select now();" and in utc when I ask for "select utc_timestamp;" I'm running rai...
0
[ 2, 10811, 27, 2240, 18, 45, 483, 107, 31, 164, 85, 11661, 18, 6492, 6430, 76, 31, 2757, 21, 85, 20, 14, 13, 9007, 15, 94, 1302, 32, 97, 60, 800, 3726, 3726, 31, 57, 13, 14093, 2816, 9, 891, 1, 11661, 19, 2307, 9, 7549, 309, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
RESTful Authentication === What does RESTful Authentication mean and how does it work. I can't find a good overview on google. My only understanding is that you pass the session key (remeberal) in the URL, but this could be horribly wrong. Thanks for your input!
0
[ 2, 760, 1566, 27963, 800, 3726, 3726, 98, 630, 760, 1566, 27963, 884, 17, 184, 630, 32, 170, 9, 31, 92, 22, 38, 477, 21, 254, 21598, 27, 8144, 9, 51, 104, 3260, 25, 30, 42, 1477, 14, 3723, 1246, 13, 5, 99, 790, 2102, 192, 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...
Is it possible to "symlink" a function in PHP easily - or alias the name to something else? === For example, I hate typing things like: $x = mysql_escape_string(stripslashes($_GET['x'])); Is there a way to alias those two functions in init.php or something without writing a separate function that takes one a...
0
[ 2, 25, 32, 938, 20, 13, 7, 7261, 6258, 7, 21, 1990, 19, 13, 26120, 2351, 13, 8, 54, 15794, 14, 204, 20, 301, 962, 60, 800, 3726, 3726, 26, 823, 15, 31, 3223, 25266, 564, 101, 45, 5579, 396, 800, 51, 18, 22402, 1, 62, 13109, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Replacing header text with an image === I am working on setting up a Drupal based website and wanted to replace the site title in the header with an image file. I came across this article: ["Revised Image Replacement"][1] summarizing several techniques for doing just that. I was wondering what the current best pra...
0
[ 2, 5496, 157, 106, 1854, 29, 40, 1961, 800, 3726, 3726, 31, 589, 638, 27, 2697, 71, 21, 15708, 6720, 432, 2271, 17, 417, 20, 3934, 14, 689, 581, 19, 14, 157, 106, 29, 40, 1961, 3893, 9, 31, 281, 464, 48, 2002, 45, 636, 7, 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...
Purchase Order System === I hope I don't get flaq for asking this here. Does anyone know of any Purchase Order system written in .net (opensource)? Thanks
0
[ 2, 3301, 389, 329, 800, 3726, 3726, 31, 1376, 31, 221, 22, 38, 164, 8631, 9105, 26, 3379, 48, 235, 9, 630, 1276, 143, 16, 186, 3301, 389, 329, 642, 19, 13, 9, 2328, 13, 5, 10157, 12097, 6, 60, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
C TCP Client === I'm trying to make a TCP Client program in C where the client will start up, connect to a server. Then it will send a little information and then just listen to what it receives and react accordingly. The part that I'm having trouble with is the continuous listening. Here is what I have ... ...
0
[ 2, 272, 13, 38, 7439, 6819, 800, 3726, 3726, 31, 22, 79, 749, 20, 233, 21, 13, 38, 7439, 6819, 625, 19, 272, 113, 14, 6819, 129, 799, 71, 15, 6379, 20, 21, 8128, 9, 94, 32, 129, 2660, 21, 265, 676, 17, 94, 114, 3834, 20, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to programmatically select popup menu item in Windows? === I have an app that I'm writing a little wizard for. It automated a small part of the app by moving the mouse to appropriate buttons, menus and clicking them so the user can watch. So far it moves the mouse to a tree item and sends a right-click. That ...
0
[ 2, 184, 20, 625, 6732, 1326, 5407, 1675, 576, 11379, 9101, 19, 1936, 60, 800, 3726, 3726, 31, 57, 40, 4865, 30, 31, 22, 79, 1174, 21, 265, 10276, 26, 9, 32, 14904, 21, 284, 141, 16, 14, 4865, 34, 1219, 14, 7567, 20, 4593, 1286...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
use SUM() or caching === I don't have much experience with databases, so I don't know which is better for long-term performance, better practice, etc. Here is my (hypothetical) case: imagine you have a database of customer information and history of purchase orders for each. You want to keep track of how much each ...
0
[ 2, 275, 3907, 5, 6, 54, 1658, 7192, 800, 3726, 3726, 31, 221, 22, 38, 57, 212, 1496, 29, 6018, 18, 15, 86, 31, 221, 22, 38, 143, 56, 25, 574, 26, 175, 8, 3964, 956, 15, 574, 1345, 15, 2722, 9, 235, 25, 51, 13, 5, 5608, 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...
Should .NET AnyPC projects bind to Framework or Framework64 DLLs === I have a csproj that has a reference to the Framework64 version of System.Data. When I try to build using MSBUILD/TFS on another machine it fails as the 64-bit DLL doesn't exist. Should I bind to the Framework version, or will this limit me when ru...
0
[ 2, 378, 13, 9, 2328, 186, 5779, 2314, 10193, 20, 6596, 54, 6596, 3470, 13, 43, 211, 18, 800, 3726, 3726, 31, 57, 21, 272, 18, 2740, 728, 30, 63, 21, 2801, 20, 14, 6596, 3470, 615, 16, 329, 9, 18768, 9, 76, 31, 1131, 20, 1895...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Reading non-standard elements in a SyndicationItem with SyndicationFeed === With .net 3.5, there is a SyndicationFeed that will load in a RSS feed and allow you to run LINQ on it. Here is an example of the RSS that I am loading: <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"> <channel>...
0
[ 2, 1876, 538, 8, 15566, 2065, 19, 21, 27370, 2119, 79, 29, 27370, 20954, 800, 3726, 3726, 29, 13, 9, 2328, 203, 9, 264, 15, 80, 25, 21, 27370, 20954, 30, 129, 6305, 19, 21, 13, 1224, 18, 4063, 17, 1655, 42, 20, 485, 6294, 1251...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Calculate a color fade. === Given two colors and *n* steps, how can one calculate n colors including the two given colors that create a fade effect? If possible pseudo-code is preferred but this will probably be implemented in Java. Thanks!
0
[ 2, 18469, 21, 1665, 11381, 9, 800, 3726, 3726, 504, 81, 5268, 17, 1637, 103, 2483, 2382, 15, 184, 92, 53, 18469, 13, 103, 5268, 215, 14, 81, 504, 5268, 30, 1600, 21, 11381, 1590, 60, 100, 938, 8452, 8, 9375, 25, 5981, 47, 48, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
subversion upgrade question - 1.5.3 to 1.5.4 === i have a windows client and i want to upgrade subversion from 1.5.3 to 1.5.4. are there installation steps. . do i just copy the zip and extract and override the existing directoies .. i can't find any clear upgrade instructions . .
0
[ 2, 972, 10898, 9483, 1301, 13, 8, 137, 9, 264, 9, 240, 20, 137, 9, 264, 9, 300, 800, 3726, 3726, 31, 57, 21, 1936, 6819, 17, 31, 259, 20, 9483, 972, 10898, 37, 137, 9, 264, 9, 240, 20, 137, 9, 264, 9, 300, 9, 50, 80, 775...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
LINQ grouping/subquery to fill a hierarchy data strcuture === I have a DataTable that queries out something like below usergroupid...userid......username 1.............1...........John 1.............2...........Lisa 2.............3...........Nathan 3.............4...........Tim What I'm t...
0
[ 2, 6294, 1251, 19288, 118, 7563, 8190, 93, 20, 3509, 21, 14417, 1054, 13, 9729, 4118, 4221, 800, 3726, 3726, 31, 57, 21, 1054, 5924, 30, 9386, 2829, 70, 301, 101, 1021, 4155, 8024, 1340, 9, 9, 9, 3699, 5175, 9, 9, 9, 9, 9, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
DocProject vs Sandcastle Help File Builder GUI === I have several C# projects along with some internal library components that I'm trying to document together. Sandcastle seems to be the place to go to generate documentation from C#. I would like to know which of the two, DocProject or Sandcastle Help File Builder G...
0
[ 2, 9765, 21011, 4611, 1965, 16736, 448, 3893, 14960, 9457, 800, 3726, 3726, 31, 57, 238, 272, 5910, 2314, 303, 29, 109, 3117, 1248, 5090, 30, 31, 22, 79, 749, 20, 4492, 429, 9, 1965, 16736, 2206, 20, 44, 14, 209, 20, 162, 20, 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...
Can you figure out why this program is triggering a IllegalStateException? === nmint@nqmk-mint ~/Cipher/nsdl/crypto $ echo test | ./cryptTest encrypt deadbeefdeadbeefdeadbeefdeadbeef deadbeef Blowfish CBC > test null Exception in thread "main" java.lang.IllegalStateException: cipher is not for encrypting...
0
[ 2, 92, 42, 1465, 70, 483, 48, 625, 25, 7286, 68, 21, 5143, 3859, 10066, 872, 60, 800, 3726, 3726, 9384, 6391, 1, 103, 1251, 79, 197, 8, 2160, 38, 13, 1, 118, 11526, 1694, 118, 2172, 8643, 118, 11435, 111, 5579, 8117, 1289, 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...
Two DB tables vs one DB Table === I have a table of music albums. I have a second table of album art. Unfortunately, not every album has some album art data. As such, i will need to do an OUTER JOIN between music and album art. Assumption: both tables just contain ints and varchars .. no blobs, etc. *Question* ...
0
[ 2, 81, 13, 9007, 7484, 4611, 53, 13, 9007, 859, 800, 3726, 3726, 31, 57, 21, 859, 16, 232, 2675, 9, 31, 57, 21, 153, 859, 16, 244, 415, 9, 6200, 15, 52, 352, 244, 63, 109, 244, 415, 1054, 9, 28, 145, 15, 31, 129, 376, 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...
Novice SQL query question for a movie ratings database === Alright, so I have a database with one table, like so: UserID (int), MovieID (int), Rating (real) The userIDs and movieIDs are large numbers, but my database only has a sample of the many possible values (4000 unique users, and 3000 unique movies) ...
0
[ 2, 21999, 4444, 255, 25597, 1301, 26, 21, 1308, 8786, 6018, 800, 3726, 3726, 11885, 15, 86, 31, 57, 21, 6018, 29, 53, 859, 15, 101, 86, 45, 275, 5175, 13, 5, 6391, 6, 15, 1308, 1340, 13, 5, 6391, 6, 15, 4647, 13, 5, 7467, 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...
A strange problem with C++ exception handler === I used standard exception handling methods in C++. Which is try{} and catch{} block. In my code, func1() would throw an exception, And func2 is like this: bool func2() { try{ func1(); } catch(myException& e) { cerr << "error!"...
0
[ 2, 21, 2578, 1448, 29, 272, 20512, 5391, 24641, 800, 3726, 3726, 31, 147, 1236, 5391, 7988, 3195, 19, 272, 20512, 9, 56, 25, 1131, 1, 17, 2949, 1, 1921, 9, 19, 51, 1797, 15, 2414, 150, 165, 5, 6, 83, 3814, 40, 5391, 15, 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...
GetWindowLong vs GetWindowLongPtr in C# === I was using GetWindowLong like this: [DllImport("user32.dll")] private static extern IntPtr GetWindowLong(IntPtr hWnd, int nIndex); But according to the MSDN docs I am supposed to be using GetWindowLongPtr to be 64bit compatible. [http://msdn.microsoft.com/en...
0
[ 2, 164, 27508, 2701, 4611, 164, 27508, 2701, 4417, 139, 19, 272, 5910, 800, 3726, 3726, 31, 23, 568, 164, 27508, 2701, 101, 48, 45, 636, 8643, 8585, 1993, 5, 7, 16704, 3125, 9, 43, 211, 7, 6, 500, 932, 12038, 1396, 8766, 19, 137...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Postage Calculator for PHP === Could anyone point me in the right direction for a shipping calculator? I would like something simple and I don't want to sign up for too much stuff.
0
[ 2, 25040, 28539, 26, 13, 26120, 800, 3726, 3726, 110, 1276, 454, 55, 19, 14, 193, 1400, 26, 21, 7405, 28539, 60, 31, 83, 101, 301, 1935, 17, 31, 221, 22, 38, 259, 20, 1676, 71, 26, 266, 212, 3217, 9, 3, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Extending enum === public enum myEnum { VAL1(10), VAL2(20), VAL3("hai") { public Object getValue() { return this.strVal; } public String showMsg() { return "This is your msg!"; } }; String strVal; Integer intVal; public Object getValue() { ...
0
[ 2, 8176, 1957, 723, 800, 3726, 3726, 317, 1957, 723, 51, 219, 723, 13, 1, 3347, 165, 5, 1036, 6, 15, 3347, 135, 5, 1323, 6, 15, 3347, 240, 5, 7, 8598, 7, 6, 13, 1, 317, 3095, 164, 15165, 5, 6, 13, 1, 788, 48, 9, 9729, 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...
Ruby on Rails and Active Record standalone scripts disagree on database values for :timestamps === I posted a question earlier today when I'd not zeroed in quite so far on the problem. I'll be able to be more concise here. I'm running RoR 2.1.2, on Windows, with MySQL. The SQL server's native time zone is UTC. M...
0
[ 2, 10811, 27, 2240, 18, 17, 1348, 571, 26986, 17505, 18276, 27, 6018, 4070, 26, 13, 45, 891, 384, 10158, 18, 800, 3726, 3726, 31, 6054, 21, 1301, 1201, 786, 76, 31, 22, 43, 52, 4606, 69, 19, 1450, 86, 463, 27, 14, 1448, 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...
Paging using Lucene.net === I'm working on a .Net application which uses Asp.net 3.5 and Lucene.Net I am showing search results given by Lucene.Net in an asp.net datagrid. I need to implement Paging(10 records on each page) for this aspx page. How do I get this done using Lucene.Net? Thanks in advance...!
0
[ 2, 19006, 68, 568, 18515, 556, 9, 2328, 800, 3726, 3726, 31, 22, 79, 638, 27, 21, 13, 9, 2328, 3010, 56, 2027, 28, 306, 9, 2328, 203, 9, 264, 17, 18515, 556, 9, 2328, 31, 589, 3187, 2122, 1736, 504, 34, 18515, 556, 9, 2328, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Which is your favorite GDB tricks? === Which is your favorite macro/trick in gdb? Have you written any good macros for improving language integration? What's your best way of making the debugging experience inside gdb less painful?
4
[ 2, 56, 25, 154, 3839, 489, 9007, 13747, 60, 800, 3726, 3726, 56, 25, 154, 3839, 9069, 118, 15294, 19, 489, 9007, 60, 57, 42, 642, 186, 254, 9069, 18, 26, 9273, 816, 8078, 60, 98, 22, 18, 154, 246, 161, 16, 544, 14, 121, 16254,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Non-web Javascript frameworks === Are there any good JavaScript frameworks out there which primary audience is not web programming? Especially frameworks/libraries which improves the object orientation?
0
[ 2, 538, 8, 14113, 8247, 8741, 6596, 18, 800, 3726, 3726, 50, 80, 186, 254, 8247, 8741, 6596, 18, 70, 80, 56, 1256, 2663, 25, 52, 2741, 3143, 60, 1118, 6596, 18, 118, 1210, 2559, 2829, 56, 3545, 18, 14, 3095, 10245, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
When do you use the Bridge Pattern? === Has anyone ever used the [Bridge Pattern][1] in a real world application? If so, how did you use it? Is it me, or is it just the Adaptor Pattern with a little dependancy injection thrown into the mix? Does it really deserve its own pattern? [1]: http://www.dofactory.co...
0
[ 2, 76, 107, 42, 275, 14, 955, 3732, 60, 800, 3726, 3726, 63, 1276, 462, 147, 14, 636, 4547, 3732, 500, 2558, 165, 500, 19, 21, 683, 126, 3010, 60, 100, 86, 15, 184, 144, 42, 275, 32, 60, 25, 32, 55, 15, 54, 25, 32, 114, 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...
Escaping Bracket [ in a CONTAINS() clause? === How can I escape a bracket in a full-text SQL Server `contains()` query? I've tried all the following, *none* of which work: CONTAINS(crev.RawText, 'arg[0]') CONTAINS(crev.RawText, 'arg[[0]]') CONTAINS(crev.RawText, 'arg\[0\]') Using double quotes does...
0
[ 2, 14700, 19543, 636, 19, 21, 1588, 5, 6, 9040, 60, 800, 3726, 3726, 184, 92, 31, 2220, 21, 19543, 19, 21, 503, 8, 11969, 4444, 255, 8128, 13, 1, 1126, 5851, 18, 5, 6, 1, 25597, 60, 31, 22, 195, 794, 65, 14, 249, 15, 1637, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Tips / techniques for high-performance C# server sockets === I have a .NET 2.0 server that seems to be running into scaling problems, probably due to poor design of the socket-handling code, and I am looking for guidance on how I might redesign it to improve performance. **Usage scenario:** 50 - 150 clients, high r...
0
[ 2, 11034, 13, 118, 4212, 26, 183, 8, 22528, 272, 5910, 8128, 18482, 18, 800, 3726, 3726, 31, 57, 21, 13, 9, 2328, 172, 9, 387, 8128, 30, 2206, 20, 44, 946, 77, 26829, 1716, 15, 910, 397, 20, 1696, 704, 16, 14, 18482, 8, 3203, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why does this produce a stretched Fractal? === Here is pseudo-code of how I setup an array representing the MandelBrot set, yet it becomes horribly stretched when leaving an aspect ratio of 1:1. xStep = (maxX - minX) / width; yStep = (maxY - minY) / height; for(i = 0; i < width; i++) for(j...
0
[ 2, 483, 630, 48, 2213, 21, 6400, 13, 15891, 3663, 60, 800, 3726, 3726, 235, 25, 8452, 8, 9375, 16, 184, 31, 18161, 40, 7718, 3793, 14, 169, 3436, 5069, 38, 309, 15, 768, 32, 2633, 28441, 6400, 76, 1107, 40, 7289, 4825, 16, 6352,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 & CSS Registration Helper in ASP.NET MVC? === I have tried to use ASP.NET MVC for a while, then I face a problem that I don't want to include all of my js and css in master page. But how can I register it in head of master page from my specific view?
0
[ 2, 3884, 279, 272, 18, 18, 8587, 448, 106, 19, 28, 306, 9, 2328, 307, 8990, 60, 800, 3726, 3726, 31, 57, 794, 20, 275, 28, 306, 9, 2328, 307, 8990, 26, 21, 133, 15, 94, 31, 276, 21, 1448, 30, 31, 221, 22, 38, 259, 20, 468,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 - call function in object with set_error_handler() === I am trying to use this in my page class. I only just started using objects in PHP so I'm still a little clueless (but learning as much as I can). This is in my page() function (so called when there is a new instance of page) set_error_handler('$this->a...
0
[ 2, 13, 26120, 13, 8, 645, 1990, 19, 3095, 29, 309, 1, 29992, 1, 3203, 1252, 5, 6, 800, 3726, 3726, 31, 589, 749, 20, 275, 48, 19, 51, 2478, 718, 9, 31, 104, 114, 373, 568, 3916, 19, 13, 26120, 86, 31, 22, 79, 174, 21, 265,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Recursive Make - friend or foe? === I'm using (GNU) Make in my project. I'm currently putting one makefile per directory and specify the subdirectories using SUBDIRS. It's been suggested to me that this is not the ideal way of using make, that using a one toplevel make file (or several, split up using include). I've ...
0
[ 2, 302, 24244, 233, 13, 8, 860, 54, 16823, 60, 800, 3726, 3726, 31, 22, 79, 568, 13, 5, 263, 4215, 6, 233, 19, 51, 669, 9, 31, 22, 79, 871, 3873, 53, 233, 16877, 416, 16755, 17, 19077, 14, 972, 10197, 1596, 568, 972, 9035, 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...
Accessing inner anonymous class members === Is there any way other than using reflection to access the members of a anonymous inner class?
0
[ 2, 1381, 68, 3754, 10364, 718, 443, 800, 3726, 3726, 25, 80, 186, 161, 89, 119, 568, 9138, 20, 1381, 14, 443, 16, 21, 10364, 3754, 718, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How do detect that transaction has already been started? === I am using Zend_Db to insert some data inside a transaction. My function starts a transaction and then calls another method that also attempts to start a transaction and of course fails(I am using MySQL5). So, the question is - how do I detect that transact...
0
[ 2, 184, 107, 9092, 30, 12799, 63, 614, 74, 373, 60, 800, 3726, 3726, 31, 589, 568, 10526, 43, 1, 9007, 20, 14692, 109, 1054, 572, 21, 12799, 9, 51, 1990, 3244, 21, 12799, 17, 94, 3029, 226, 2109, 30, 67, 3265, 20, 799, 21, 127...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
SQLite C/C++ API unsigned char * === Why does the SQLite C/C++ API return `unsigned char *`s for text values as opposed to the more de-facto `char *` type? This is somewhat related to [the unsigned char][1] question, except that the SQLite API's decision seems opposite of the conventional `char *` advice given for ...
0
[ 2, 4444, 10601, 272, 118, 150, 20512, 21, 2159, 28839, 4892, 1637, 800, 3726, 3726, 483, 630, 14, 4444, 10601, 272, 118, 150, 20512, 21, 2159, 788, 13, 1, 1020, 13472, 4892, 1637, 1, 18, 26, 1854, 4070, 28, 3499, 20, 14, 91, 121, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 translate the SQL code "having" condition into LinqToSQL or LinqToEntites? === Could you tell me how to translate the following SQL code to Linq To SQL or Linq To Entites? The correst SQL code is: > select CollectId,url,userid,pubtime > from Collect group by > url,collectid,userid,pubtime having ...
0
[ 2, 184, 20, 20628, 14, 4444, 255, 1797, 13, 7, 13693, 7, 2874, 77, 6294, 1251, 262, 18, 22402, 54, 6294, 1251, 262, 2291, 6359, 60, 800, 3726, 3726, 110, 42, 494, 55, 184, 20, 20628, 14, 249, 4444, 255, 1797, 20, 6294, 1251, 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...
escaping html inside comment tags === escaping html is fine - it will remove <'s and >'s etc. ive run into a problem where i am outputting a filename inside a comment tag eg. <!-- ${filename} --> of course things can be bad if you dont escape, so it becomes: <!-- <c:out value="${filename}"/> --> the problem...
0
[ 2, 14700, 13, 15895, 572, 6484, 3383, 18, 800, 3726, 3726, 14700, 13, 15895, 25, 1123, 13, 8, 32, 129, 4681, 13, 1, 22, 18, 17, 13, 1, 22, 18, 2722, 9, 5568, 485, 77, 21, 1448, 113, 31, 589, 5196, 1203, 21, 3893, 7259, 572, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Autorun an MSI file on CD === Does anyone have an example AUTORUN.INF which can launch an MSI installer automatically when the user inserts the CD. I'm sure this can be done but I've been Googling around for ages and have not found any working solution.
0
[ 2, 3108, 3169, 40, 4235, 49, 3893, 27, 1745, 800, 3726, 3726, 630, 1276, 57, 40, 823, 3108, 3169, 9, 108, 410, 56, 92, 3394, 40, 4235, 49, 16146, 106, 7499, 76, 14, 4155, 14692, 18, 14, 1745, 9, 31, 22, 79, 562, 48, 92, 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...
Generate random enum in C# 2.0. === Could someone please point me toward a cleaner method to generate a random enum member. This works but seems ugly. Thanks! public T RandomEnum<T>() { string[] items = Enum.GetNames(typeof( T )); Random r = new Random(); string e = items[r.Next(0, ...
0
[ 2, 7920, 5477, 1957, 723, 19, 272, 5910, 172, 9, 387, 9, 800, 3726, 3726, 110, 737, 2247, 454, 55, 729, 21, 19585, 2109, 20, 7920, 21, 5477, 1957, 723, 322, 9, 48, 693, 47, 2206, 9212, 9, 3669, 187, 317, 13, 38, 5477, 219, 723...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
New asp.net charting controls - will they work with MVC (eventually)? === Scott Gu just posted about a new set of charting controls being distributed by the .NET team. They look incredible: http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx The...
0
[ 2, 78, 28, 306, 9, 2328, 22544, 8671, 13, 8, 129, 59, 170, 29, 307, 8990, 13, 5, 4943, 2473, 1326, 6, 60, 800, 3726, 3726, 1824, 4835, 114, 6054, 88, 21, 78, 309, 16, 22544, 8671, 142, 4387, 34, 14, 13, 9, 2328, 173, 9, 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...
How do I effectively find duplicate blob rows in MySQL. === I have a table of the form CREATE TABLE data { pk INT PRIMARY KEY AUTO_INCREMENT, dt BLOB }; It has about 160,000 rows and about 2GB of data in the blob column (avg. 14kb per blob). Another table has foreign keys into this...
0
[ 2, 184, 107, 31, 5463, 477, 19429, 334, 10904, 11295, 19, 51, 18, 22402, 9, 800, 3726, 3726, 31, 57, 21, 859, 16, 14, 505, 1600, 859, 1054, 13, 1, 13, 17244, 19, 38, 1256, 1246, 3108, 1, 28461, 15, 13, 43, 38, 334, 10904, 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...
comparing products of builds in release === I need to compare build outputs of VS2005 in order to be sure I can reproduce the exact same product. when I do two builds one after the other in release and compare the produced files I get different files, doing text comparison it seems that more than just the dateti...
0
[ 2, 15047, 1985, 16, 1895, 18, 19, 830, 800, 3726, 3726, 31, 376, 20, 11590, 1895, 5196, 18, 16, 4611, 2835, 19, 389, 20, 44, 562, 31, 92, 21509, 14, 5340, 205, 2374, 9, 76, 31, 107, 81, 1895, 18, 53, 75, 14, 89, 19, 830, 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...
Is it possible to programmatically add a softkey shortcut to an application in Symbian === Is it possible for a Symbian S60 application to automatically add itself to one of the softkeys. The best would be if it could be done at installation time but if there is some API that can be used to add a shortcut the first ti...
0
[ 2, 25, 32, 938, 20, 625, 6732, 1326, 3547, 21, 1856, 4237, 502, 4118, 20, 40, 3010, 19, 13, 7261, 10035, 800, 3726, 3726, 25, 32, 938, 26, 21, 13, 7261, 10035, 13, 18, 3374, 3010, 20, 7499, 3547, 1145, 20, 53, 16, 14, 1856, 42...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Know of SSO turnkey Appliance with ldap, radius, openid, etc? === I'm helping a typical small company that started with a couple of outsourced systems (google apps, svn/trac). added an internal jabber server (ejabber for mostly iChat clients). subscribes to a couple of webservices (e.g. highrisehq). and has a vpn serv...
0
[ 2, 143, 16, 13, 18, 656, 805, 4237, 18964, 29, 644, 20472, 15, 13288, 15, 368, 1340, 15, 2722, 60, 800, 3726, 3726, 31, 22, 79, 3713, 21, 3874, 284, 237, 30, 373, 29, 21, 1335, 16, 70, 12097, 43, 1242, 13, 5, 16111, 4875, 4865...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 last tag conditional match === i have two stirngs <EM>is <i>love</i></EM>,<PARTITION /> and <EM>is <i>love</i>,<PARTITION /> i want a regex to match the second string completly but should not match the first one plz help...
0
[ 2, 13, 15895, 236, 3383, 21206, 730, 800, 3726, 3726, 31, 57, 81, 13216, 2723, 18, 13, 1, 1503, 1, 403, 13, 1, 49, 1, 4583, 1, 118, 49, 1, 118, 1503, 1, 15, 1, 3091, 9861, 13, 118, 1, 17, 13, 1, 1503, 1, 403, 13, 1, 49, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
popen equivalent in XPCOM? === I'm trying to use XULRunner to add a GUI to a command line based program. One solution would be to use something like popen from the XUL application to interact with the command line program. Does XPCOM have popen? Alternatively, does XPCOM have enough primitives to create popen? Is ther...
0
[ 2, 3075, 103, 4602, 19, 23045, 960, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 275, 993, 1287, 12993, 20, 3547, 21, 9457, 20, 21, 1202, 293, 432, 625, 9, 53, 4295, 83, 44, 20, 275, 301, 101, 3075, 103, 37, 14, 993, 1287, 3010, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 load a page with gravatar and jquery? === I am using gravatar to load avatars for each user that posts a story on a page. I also am using jquery to round the corners of some span elements on the page. Unfortunately, it looks like grabbing the avatars from gravatar occurs before the jquery effects are applied so...
0
[ 2, 184, 20, 6305, 21, 2478, 29, 5120, 8112, 512, 17, 487, 8190, 93, 60, 800, 3726, 3726, 31, 589, 568, 5120, 8112, 512, 20, 6305, 22234, 18, 26, 206, 4155, 30, 9868, 21, 609, 27, 21, 2478, 9, 31, 67, 589, 568, 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...
Simplest solution to replace a tiny file inside an MSI? === Many of our customers have access to InstallShield, WISE or AdminStudio. These aren't a problem. I'm hoping there is some way I can provide our smaller customers **without access to commercial repackaging tools** a freely available set of tools and steps to d...
0
[ 2, 24384, 4295, 20, 3934, 21, 3228, 3893, 572, 40, 4235, 49, 60, 800, 3726, 3726, 151, 16, 318, 5279, 57, 1381, 20, 16146, 29026, 15, 6714, 54, 21, 43, 2160, 21026, 9, 158, 4847, 22, 38, 21, 1448, 9, 31, 22, 79, 3935, 80, 25, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
an email is an attachment of an email. How do I recognise this email in an email it as an attachment? === using jython I have a situation where emails come in with different attachments. Certain file types I process others I ignore and dont write to file. I am caught in a rather nasty situation, because sometimes ...
0
[ 2, 40, 8517, 25, 40, 14575, 16, 40, 8517, 9, 184, 107, 31, 16945, 48, 8517, 19, 40, 8517, 32, 28, 40, 14575, 60, 800, 3726, 3726, 568, 487, 93, 11570, 31, 57, 21, 1858, 113, 8517, 18, 340, 19, 29, 421, 14575, 18, 9, 1200, 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...
How to print the Nth column of a text file with AWK using argv === Suppose I have a text file with data separated by whitespace into columns. I want to write a little shell script which takes as input a filename and a number N and prints out only that column. With awk I can do the following: awk < /tmp/in '{pri...
0
[ 2, 184, 20, 4793, 14, 13, 103, 96, 4698, 16, 21, 1854, 3893, 29, 13, 3885, 197, 568, 13, 10663, 710, 800, 3726, 3726, 5787, 31, 57, 21, 1854, 3893, 29, 1054, 4196, 34, 359, 5582, 77, 7498, 9, 31, 259, 20, 2757, 21, 265, 3593, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 doesn't url rewrite work? === In asp.net 3.5, I'm rewriting the url http://www.abc.com/archive/1108/harpersdecember to the following http://www.abc.com/article.aspx?docId=78 I'm using this code to do it: Context.RewritePath("/article.aspx?docId=78"); It works fine locally bu...
0
[ 2, 483, 1437, 22, 38, 287, 6362, 27891, 170, 60, 800, 3726, 3726, 19, 28, 306, 9, 2328, 203, 9, 264, 15, 31, 22, 79, 302, 12646, 14, 287, 6362, 7775, 6903, 6483, 9, 21880, 9, 960, 118, 23941, 118, 11472, 12530, 2269, 7490, 8707,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 upload a file with django (python) and s3? === I'm looking for a way to upload a file to s3. I am using django. I am currently using amazon's python library for uploading along with the following code: View: def submitpicture(request): fuser = request.session["login"] copied_data = request.POS...
0
[ 2, 184, 20, 71, 8294, 21, 3893, 29, 3857, 14541, 13, 5, 6448, 11570, 6, 17, 13, 18, 240, 60, 800, 3726, 3726, 31, 22, 79, 699, 26, 21, 161, 20, 71, 8294, 21, 3893, 20, 13, 18, 240, 9, 31, 589, 568, 3857, 14541, 9, 31, 589,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 hard wrap and soft wrap? === I am in the process of writing a text editor. After looking at other text editors I have noticed that a number of them refer to a "soft" versus "hard" wrap. What is the difference? I can't seem to find the answer by searching.
0
[ 2, 2841, 128, 552, 8118, 17, 1856, 8118, 60, 800, 3726, 3726, 31, 589, 19, 14, 953, 16, 1174, 21, 1854, 1835, 9, 75, 699, 35, 89, 1854, 12149, 31, 57, 2711, 30, 21, 234, 16, 105, 5017, 20, 21, 13, 7, 12980, 7, 5706, 13, 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...
Connect to database using jsf === How do I connect to the database(MYSQL) in connection bean using JSF to retrieve its contents. Also please let me know how do I configure the web.xml file?
0
[ 2, 6379, 20, 6018, 568, 487, 18, 410, 800, 3726, 3726, 184, 107, 31, 6379, 20, 14, 6018, 5, 915, 18, 22402, 6, 19, 2760, 15322, 568, 487, 18, 410, 20, 11917, 82, 8478, 9, 67, 2247, 408, 55, 143, 184, 107, 31, 1065, 15951, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Problem with ssOption control in VB6: Text background color changes from Win 98 to Win XP === I'm using the ssOption control (Sheridan 3d Option control) in VB6. In Windows 98 the text area background color is the same color as the background color around the Option Circle, and that color is the default form co...
0
[ 2, 1448, 29, 13, 18, 18, 2594, 3309, 569, 19, 13, 20468, 379, 45, 1854, 2395, 1665, 1693, 37, 628, 8737, 20, 628, 23045, 800, 3726, 3726, 31, 22, 79, 568, 14, 13, 18, 18, 2594, 3309, 569, 13, 5, 9161, 49, 2793, 203, 43, 4255, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 deal with overachievers === I'm working on a project that has fairly large scope and a lot of work to be done. One of the members of my team has a great work ethic and is very bright yet a little defensive. The problem is, he takes on too much work and delivers everything late. I need a way to say to him, "st...
0
[ 2, 184, 20, 1183, 29, 84, 58, 15874, 5498, 800, 3726, 3726, 31, 22, 79, 638, 27, 21, 669, 30, 63, 6647, 370, 9914, 17, 21, 865, 16, 170, 20, 44, 677, 9, 53, 16, 14, 443, 16, 51, 173, 63, 21, 374, 170, 29397, 17, 25, 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...
How do I solve the .NET CF exception "Can't find PInvoke DLL"? === This is to all the C# gurus. I have been banging my head on this for some time already, tried all kinds of advice on the net with no avail. The action is happening in Windows Mobile 5.0. I have a DLL named MyDll.dll. In the MyDll.h I have: ex...
0
[ 2, 184, 107, 31, 8402, 14, 13, 9, 2328, 10084, 5391, 13, 7, 1245, 22, 38, 477, 3459, 2625, 1048, 13, 43, 211, 7, 60, 800, 3726, 3726, 48, 25, 20, 65, 14, 272, 5910, 10334, 18, 9, 31, 57, 74, 24472, 51, 157, 27, 48, 26, 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...
which is the best opensource asp.net ecommerce web site? === I want to study the ecommerce source code and need suggestions
4
[ 2, 56, 25, 14, 246, 368, 12097, 28, 306, 9, 2328, 13, 62, 26470, 2741, 689, 60, 800, 3726, 3726, 31, 259, 20, 949, 14, 13, 62, 26470, 1267, 1797, 17, 376, 18389, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How to encourage talking during pair programming? === During pair programming at our company, I'm the one who usually ends up talking the most. I usually think out loud my thought process. My partner sits in front of the computer and does the coding (typing?). I encourage others to think out loud so I won't end up tut...
0
[ 2, 184, 20, 8333, 1582, 112, 2146, 3143, 60, 800, 3726, 3726, 112, 2146, 3143, 35, 318, 237, 15, 31, 22, 79, 14, 53, 72, 951, 3451, 71, 1582, 14, 127, 9, 31, 951, 277, 70, 3414, 51, 289, 953, 9, 51, 2417, 7550, 19, 431, 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 get first N elements of a list in C#? === I'm teaching myself C# and am doing my first project. I would like to use Linq to query a bus schedule, so that at any time I can get the next 5 bus arrival times. How can I limit my query to the first 5 results? More generally, how can I take a slice of a list in C#...
0
[ 2, 184, 20, 164, 64, 13, 103, 2065, 16, 21, 968, 19, 272, 5910, 60, 800, 3726, 3726, 31, 22, 79, 2540, 992, 272, 5910, 17, 589, 845, 51, 64, 669, 9, 31, 83, 101, 20, 275, 6294, 1251, 20, 25597, 21, 1683, 4345, 15, 86, 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...
Database ultra-trigger === I've got a SQLServer Database and an application (.NET) that configures data on that database. On the other hand, I've got an application (VC++) that reads that data from the database and must be 'informed' a soon as possible of any change in the data saved on the database. I would like t...
0
[ 2, 6018, 6885, 8, 3367, 11356, 800, 3726, 3726, 31, 22, 195, 330, 21, 4444, 255, 10321, 106, 6018, 17, 40, 3010, 13, 5, 9, 2328, 6, 30, 1065, 15951, 18, 1054, 27, 30, 6018, 9, 27, 14, 89, 224, 15, 31, 22, 195, 330, 40, 3010,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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#, hexadecimal notation and signed integers === This is a [follow up question][1]. So, Java store's integers in [two's-complements][2] and you can do the following: int ALPHA_MASK = 0xff000000; In c# this requires the use of an unsigned integer, uint, because it interprets this to be 4278190080 instead o...
0
[ 2, 272, 5910, 15, 24, 6791, 9522, 49, 3482, 15591, 17, 908, 13820, 18, 800, 3726, 3726, 48, 25, 21, 636, 19184, 71, 1301, 500, 2558, 165, 500, 9, 86, 15, 8247, 1718, 22, 18, 13820, 18, 19, 636, 3734, 22, 18, 8, 960, 5106, 6601...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 a stackdump from Cygwin executable === So I wrote buggy code that occasionally crash ... and creates a stackdump file. Using addr2line I can figure out how the program got to the crash point by decoding the addresses on by one. Is there an alternative tool that can ease the debug using stack dumps? Is there ...
0
[ 2, 568, 21, 7566, 43, 11134, 37, 6728, 263, 4181, 1396, 17194, 5924, 800, 3726, 3726, 86, 31, 738, 6256, 2687, 1797, 30, 4533, 4597, 13, 9, 9, 9, 17, 9695, 21, 7566, 43, 11134, 3893, 9, 568, 3547, 139, 135, 1143, 31, 92, 1465, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Column names for a table formed by a UNION === Given a couple of simple tables like so: create table R(foo text); create table S(bar text); If I were to union them together in a query, what do I call the column? select T.???? from ( select foo from R union ...
0
[ 2, 4698, 1817, 26, 21, 859, 843, 34, 21, 667, 800, 3726, 3726, 504, 21, 1335, 16, 1935, 7484, 101, 86, 45, 1600, 859, 761, 5, 4120, 111, 1854, 6, 73, 1600, 859, 13, 18, 5, 1850, 1854, 6, 73, 100, 31, 46, 20, 667, 105, 429, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 this an OK Database design concept? === Question: I need to know if the proposed database design is good/bad/lame/etc.. Problem: today i tried to make an *indexed view*, but failed 'cause my tables have outer joins. Sigh. So i was wondering if i can refix this up to be like the following design: - table_A <...
0
[ 2, 25, 48, 40, 5854, 6018, 704, 2420, 60, 800, 3726, 3726, 1301, 45, 31, 376, 20, 143, 100, 14, 2097, 6018, 704, 25, 254, 118, 5989, 118, 4445, 62, 118, 1198, 150, 9, 9, 1448, 45, 786, 31, 794, 20, 233, 40, 1637, 25671, 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...
Can you code a class function outside of a class in PHP? === In C++, I code this way: //foo.h class cBar { void foobar(); } --- //foo.cpp void cBar::foobar() { //Code } I tried to do this on PHP but the parser would complain. PHP's documentation ...
0
[ 2, 92, 42, 1797, 21, 718, 1990, 719, 16, 21, 718, 19, 13, 26120, 60, 800, 3726, 3726, 19, 272, 20512, 15, 31, 1797, 48, 161, 45, 12894, 4120, 111, 9, 252, 718, 272, 1850, 13, 1, 11364, 4310, 111, 1850, 5, 6, 73, 13, 1, 13, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Two-way binding in WPF === I cannot get a two-way bind in WPF to work. I have a string property in my app's main window that is bound to a textbox (I set the mode to "TwoWay"). The only time that the value of the textbox will update is when the window initializes. When I type into the textbox, the underlying string pr...
0
[ 2, 81, 8, 1443, 8728, 19, 619, 7721, 800, 3726, 3726, 31, 1967, 164, 21, 81, 8, 1443, 10193, 19, 619, 7721, 20, 170, 9, 31, 57, 21, 3724, 1354, 19, 51, 4865, 22, 18, 407, 1463, 30, 25, 4138, 20, 21, 1854, 5309, 13, 5, 49, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Gui - Best way to navigate between windows? === I try to build a gui (Swing) for a simple java application. The application should have a start window like a menu. From there I would like to navigate to several other windows. My question is what is the best-practice to achieve such a navigation? Should I build sev...
0
[ 2, 9457, 13, 8, 246, 161, 20, 20782, 128, 1936, 60, 800, 3726, 3726, 31, 1131, 20, 1895, 21, 9457, 13, 5, 18, 3546, 6, 26, 21, 1935, 8247, 3010, 9, 14, 3010, 378, 57, 21, 799, 1463, 101, 21, 11379, 9, 37, 80, 31, 83, 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...
How do i get constraint details from the name in informix? === When programming a large transaction (lots of inserts, deletes, updates) and thereby violating a constraint in Informix (v10, but should apply to other versions too) i get a not very helpful message saying f.ex. i violated constraint r190_710. How can i fi...
0
[ 2, 184, 107, 31, 164, 28804, 3289, 37, 14, 204, 19, 10361, 4028, 60, 800, 3726, 3726, 76, 3143, 21, 370, 12799, 13, 5, 5639, 18, 16, 14692, 18, 15, 27448, 18, 15, 16779, 6, 17, 8535, 23255, 21, 28804, 19, 10361, 4028, 13, 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...
How do you iterate over a tree ? === What is you preferred method of traversing a tree data struture, since recursive method calls are incredibily uneffective, I am simply using a generator like the one above. Do you have any hints to make it faster ? def children(self): stack = [self.entities] ...
0
[ 2, 184, 107, 42, 32, 106, 1373, 84, 21, 1541, 13, 60, 800, 3726, 3726, 98, 25, 42, 5981, 2109, 16, 19501, 68, 21, 1541, 1054, 18316, 4221, 15, 179, 302, 24244, 2109, 3029, 50, 3016, 2095, 16358, 102, 367, 14659, 15, 31, 589, 165...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What conferences have you attended that were the most interesting or most useful for your professional developmente? === I recently attended the QCon 2008 (http://qconsf.com/conference) international software developer conference in San Francisco and was very pleased with the quality of the speakers - and the quality ...
2
[ 2, 98, 10462, 57, 42, 1394, 30, 46, 14, 127, 4883, 54, 127, 4811, 26, 154, 736, 522, 62, 60, 800, 3726, 3726, 31, 1989, 1394, 14, 2593, 1126, 570, 13, 5, 21127, 6903, 1251, 12124, 410, 9, 960, 118, 23670, 6, 294, 2306, 10058, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 run robocopy without copying extended attribute information? === Greetings, I've got a bat script which copies certain information from a computer onto a USB hard drive using Robocopy. The hard drive is FAT formatted and therefore doesn't support directories with extendable attributes. How do I tell robo...
0
[ 2, 184, 107, 31, 485, 3830, 111, 19625, 366, 4344, 68, 1984, 35, 14755, 676, 60, 800, 3726, 3726, 13769, 18, 15, 31, 22, 195, 330, 21, 3570, 3884, 56, 3298, 1200, 676, 37, 21, 1428, 1204, 21, 182, 220, 552, 1493, 568, 3830, 111,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Content type custom document information panel === I have a custom content type with custom fields. I'm trying to create a custom document information panel using infopath. Whenever I try to do that infopath gives me this error propertySchema0.xsd#/schema/element[1][@name = 'properties']/complexType[1]/sequence[1]/...
0
[ 2, 2331, 1001, 5816, 4492, 676, 4113, 800, 3726, 3726, 31, 57, 21, 5816, 2331, 1001, 29, 5816, 2861, 9, 31, 22, 79, 749, 20, 1600, 21, 5816, 4492, 676, 4113, 568, 15404, 8353, 9, 6634, 31, 1131, 20, 107, 30, 15404, 8353, 2352, 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...