unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Consequences of running a Java Class file on different JREs? === What are the consequences of running a Java class file compiled in JDK 1.4.2 on JRE 1.6 or 1.5?
0
[ 2, 8360, 16, 946, 21, 8247, 718, 3893, 27, 421, 2000, 160, 60, 800, 3726, 3726, 98, 50, 14, 8360, 16, 946, 21, 8247, 718, 3893, 9316, 19, 487, 43, 197, 137, 9, 300, 9, 135, 27, 487, 99, 137, 9, 379, 54, 137, 9, 264, 60, 3,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How do you create a custom attribute for MS Test? === If you want to create a custom attribute for MS test (say [Repeat(3)] how would you do that?
0
[ 2, 184, 107, 42, 1600, 21, 5816, 35, 14755, 26, 4235, 1289, 60, 800, 3726, 3726, 100, 42, 259, 20, 1600, 21, 5816, 35, 14755, 26, 4235, 1289, 13, 5, 6366, 636, 99, 7081, 38, 5, 240, 6, 500, 184, 83, 42, 107, 30, 60, 3, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
how do i determine the number of rows in a range in excel using VBA === in my code i know the range name of the start of a list - 1 column wide x rows deep how do i calculate x? there is more data in the column than just this list, however this list is contiguous - there is nothing in any of the cells above or below or either side beside it
0
[ 2, 184, 107, 31, 3746, 14, 234, 16, 11295, 19, 21, 978, 19, 20700, 568, 566, 969, 800, 3726, 3726, 19, 51, 1797, 31, 143, 14, 978, 204, 16, 14, 799, 16, 21, 968, 13, 8, 137, 4698, 1051, 993, 11295, 855, 184, 107, 31, 18469, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 set the background-position to an absolute distance, starting from right? === I want to set a background image for a div, in a way that it is in the upper RIGHT of the div, but with a fixed 10px distance from top and right. Here is how I would do that if wanted it in the upper LEFT of the div: <pre>background: url(images/img06.gif) no-repeat 10px 10px;</pre> Is there anyway to achieve the same result, but showing the background on the upper RIGHT?
0
[ 2, 184, 20, 309, 14, 2395, 8, 9339, 20, 40, 7070, 1583, 15, 1422, 37, 193, 60, 800, 3726, 3726, 31, 259, 20, 309, 21, 2395, 1961, 26, 21, 13, 12916, 15, 19, 21, 161, 30, 32, 25, 19, 14, 1508, 193, 16, 14, 13, 12916, 15, 47...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it posible to send a collection of ID's as a ADO.NET SQL paramter? === Eg. can I write something like this code: public void InactiveCustomers(IEnumerable<Guid> customerIDs) { //... myAdoCommand.CommandText = "UPDATE Customer SET Active = 0 WHERE CustomerID in (@CustomerIDs)"; myAdoCommand.Parameters["@CustomerIDs"].Value = customerIDs; //... } The only way I know is to Join my IEnumerable and then use string concatination to build my SQL string.
0
[ 2, 25, 32, 12928, 3426, 20, 2660, 21, 1206, 16, 4924, 22, 18, 28, 21, 21, 537, 9, 2328, 4444, 255, 2258, 79, 815, 60, 800, 3726, 3726, 12369, 9, 92, 31, 2757, 301, 101, 48, 1797, 45, 317, 11364, 19, 7889, 4636, 6015, 445, 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...
Hide asp.net Gridview row === I am creating a gridview that allows adding of new rows by adding the controls neccessary for the insert into the footertemplate but when the objectdatasource has no records I add a dummy row as the footertemplate is only displayed when there is data. How can I hide this dummy row? I have tried setting e.row.visible = false on row databoung but the row is still visible :-(
0
[ 2, 3077, 28, 306, 9, 2328, 7354, 4725, 3131, 800, 3726, 3726, 31, 589, 2936, 21, 7354, 4725, 30, 2965, 4721, 16, 78, 11295, 34, 4721, 14, 8671, 19724, 5052, 18, 1857, 26, 14, 14692, 77, 14, 1749, 106, 9577, 6554, 47, 76, 14, 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...
The difference between the two functions === A really noob of a question. What's the difference between: function sum(x, y) { return x+y; } // and var sum = function (x, y) { return x+y; } Why is one used over the other?
0
[ 2, 14, 2841, 128, 14, 81, 3719, 800, 3726, 3726, 21, 510, 90, 4995, 16, 21, 1301, 9, 98, 22, 18, 14, 2841, 128, 45, 1990, 3907, 5, 396, 15, 13, 93, 6, 13, 1, 788, 993, 2430, 93, 73, 13, 1, 12894, 17, 4033, 3907, 800, 1990,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 way to have a configuration file in a Windows Forms C# Application === I'm really new to .NET and I still didn't get the hang about how config files work. Every time I search on google about it I get results about web.config, but I'm writing a windows forms application. I figured out that I need to use the System.Configuration namespace but I'm kinda dumb and the documentation isn't helping. How do I define that my config file is XYZ.xml? Or does it have a "default" name for the config file name? I still didn't get that. Also, how do I define a new section, do I really need to create a class which inherits from ConfigurationSection? I would like to just have a config file with some values like this: <MyCustomValue>1</MyCustomValue> <MyCustomPath>C:\Some\Path\Here</MyCustomPath> Is there a simple way to do it? Can you examplain in a simple way how to read and write from/to asimple configuration file?
0
[ 2, 24384, 161, 20, 57, 21, 8091, 3893, 19, 21, 1936, 1997, 272, 5910, 3010, 800, 3726, 3726, 31, 22, 79, 510, 78, 20, 13, 9, 2328, 17, 31, 174, 223, 22, 38, 164, 14, 4546, 88, 184, 13, 14093, 2816, 6488, 170, 9, 352, 85, 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...
Simplest way to have a mail server for my domain === I have a domain name registered and I want to be able to send and receive mail for some mail addresses @ mydomain. I'm talking about a small number of addresses, and small mail volumes (but I would like to be able to scale if needed). I guess there are at least three options: 1. Run a mail gateway myself (which I am well familiar with, but would prefer to avoid the hassle) 2. Paying a web hosting company to run a gateway/host my mail accounts for me. 3. Use a hosted email gateway services like [AuthSMTP][1]. So my question is: what have you found to be the simplest and cheapest option? Are there other options to consider? [1]: http://authsmtp.com/
0
[ 2, 24384, 161, 20, 57, 21, 4216, 8128, 26, 51, 4603, 800, 3726, 3726, 31, 57, 21, 4603, 204, 3801, 17, 31, 259, 20, 44, 777, 20, 2660, 17, 2588, 4216, 26, 109, 4216, 12636, 13, 1, 51, 537, 6232, 9, 31, 22, 79, 1582, 88, 21, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Visually designing a database structure === I am quite happy to code out tables by hand when making a database but it's not the easiest way to convey information about a database to someone else, especially someone that's not so comfortable coding the tables via a script and would instead use something such at phpMyAdmin. Is there thus a free program (for me to use it it'll have to work on a Mac but feel free to suggest PC apps for others with the same Q) or script (preferably in PHP or Python) that allows you to design database structure and will then output either a basic diagram or the code as chosen by the user?
0
[ 2, 20747, 15026, 21, 6018, 1411, 800, 3726, 3726, 31, 589, 1450, 1700, 20, 1797, 70, 7484, 34, 224, 76, 544, 21, 6018, 47, 32, 22, 18, 52, 14, 27237, 161, 20, 11266, 676, 88, 21, 6018, 20, 737, 962, 15, 1118, 737, 30, 22, 18, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I access (listen for) the multimedia keys (play/pause) in Mac OS X? === I want to write a [Songbird][1] extension binds the multimedia keys available on all Apple Mac OS X platforms. Unfortunately this isn't an easy google search and I can't find any docs. Can anyone point me resources on accessing these keys or tell me how to do it? I have extensive programming experience, but this will be my first time coding in both MacOSX and [XUL][2] (Firefox, etc), so any tips on either are welcome. [1]: http://getsongbird.com/ [2]: http://wiki.songbirdnest.com/Developer/Developer_Intro/Extensions
0
[ 2, 184, 107, 31, 1381, 13, 5, 13891, 26, 6, 14, 17090, 5534, 13, 5, 5438, 118, 1060, 3699, 6, 19, 1572, 13, 759, 993, 60, 800, 3726, 3726, 31, 259, 20, 2757, 21, 636, 8149, 8490, 500, 2558, 165, 500, 3896, 10193, 18, 14, 17090...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 center DIV in DIV? === I'd like to ask you if anyone know how to horizontally center DIV in DIV with CSS ( if it's possible at all ). Outer DIV has 100%: <div id="outer" style="width:100%"> <div id="inner">Foo foo</div> </div> I've been searching for the solution for some time but I haven't found it anywhere yet...
0
[ 2, 184, 20, 459, 13, 12916, 19, 13, 12916, 60, 800, 3726, 3726, 31, 22, 43, 101, 20, 1349, 42, 100, 1276, 143, 184, 20, 25658, 459, 13, 12916, 19, 13, 12916, 29, 272, 18, 18, 13, 5, 100, 32, 22, 18, 938, 35, 65, 13, 6, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Setting up Subversion on a Red Hat system === I'm fairly new to the world of versioning but would like to introduce Subversion into our small development team as we're finding that more and more we are working on the same projects/files. We primarily code in PHP on a LAMP environment (Red Hat Enterprise). What I'm looking for are some starting points to get me up and running such as installation/configuration guides for Red Hat. I use Dreamweaver CS3 (I see that Subversion functions will be introduced in CS4) so would be willing to look at other PHP IDEs with Subversion integration, do you have any preferences? I'm open to suggestions.
0
[ 2, 2697, 71, 972, 10898, 27, 21, 402, 2970, 329, 800, 3726, 3726, 31, 22, 79, 6647, 78, 20, 14, 126, 16, 615, 68, 47, 83, 101, 20, 8500, 972, 10898, 77, 318, 284, 522, 173, 28, 95, 22, 99, 3007, 30, 91, 17, 91, 95, 50, 638...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Mac toolbar via WINE / Crossover === Does anyone know if it's possible to get a Win32 application to run under wine / crossover but have the main toolbar appear as a Mac toolbar (i.e. outside the wine / crossover app)?
0
[ 2, 1572, 5607, 1850, 1197, 2667, 13, 118, 17602, 800, 3726, 3726, 630, 1276, 143, 100, 32, 22, 18, 938, 20, 164, 21, 628, 3125, 3010, 20, 485, 131, 2667, 13, 118, 17602, 47, 57, 14, 407, 5607, 1850, 1893, 28, 21, 1572, 5607, 185...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Serializing Date in Java === I'm passing around some objects through web service and some of them contain java.sql.Date. Because Date doesn't have empty constructor it doesn't want to get serialized. First part of a question is easy: what is the best way to pass a date between client and service? Second part is bit trickier: Once I decide how to pass dates around, I can obviously declare date transient and make some wrapper class to pass dates as String or whatever, but how to apply same solution as transparently as possible to several classes that include Date? (I have a hunch that DynamicProxy thingy might be a solution, but reading documentation on Sun's site wasn't very helpful, so if it really is something in that direction, some clarification would be appreciated)
0
[ 2, 5956, 3335, 1231, 19, 8247, 800, 3726, 3726, 31, 22, 79, 2848, 140, 109, 3916, 120, 2741, 365, 17, 109, 16, 105, 3717, 8247, 9, 18, 22402, 9, 8209, 9, 185, 1231, 1437, 22, 38, 57, 2424, 6960, 248, 32, 1437, 22, 38, 259, 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...
How helpful is knowing lambda calculus? === To all the people who know lambda calculus: What benefit has it bought you, regarding programming? Would you recommend that people learn it?
0
[ 2, 184, 15600, 25, 2506, 13, 24187, 23694, 60, 800, 3726, 3726, 20, 65, 14, 148, 72, 143, 13, 24187, 23694, 45, 98, 4234, 63, 32, 2448, 42, 15, 3467, 3143, 60, 83, 42, 12360, 30, 148, 2484, 32, 60, 3, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Simple web "live chat" option that integrates with Jabber/Aim === I've looked for this a few times in the past, to no avail. I would like a simple php/ajax web chat interface, that, and this is the critical part, will interface with my IM client (Pidgin) ... via Jabber or Aim. Plugoo is almost what I want, except it is hosted, and flash based. Flash-based would be OK if not ideal, but hosted isn't. Note that I don't just need notifications, but I want a user of the website who clicks "live chat" to get a chat interface and my IM client allows me to interact with them. This is super handy for those of us that want to provide live support to clients who do not use IM.
0
[ 2, 1935, 2741, 13, 7, 5928, 6615, 7, 4255, 30, 18399, 18, 29, 11284, 2102, 118, 58, 1660, 800, 3726, 3726, 31, 22, 195, 292, 26, 48, 21, 310, 436, 19, 14, 640, 15, 20, 90, 24240, 9, 31, 83, 101, 21, 1935, 13, 26120, 118, 688...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the fastest way to scale and display an image in Python? === I am required to display a two dimensional numpy.array of int16 at 20fps or so. Using Matplotlib's imshow chokes on anything above 10fps. There obviously are some issues with scaling and interpolation. I should add that the dimensions of the array are not known, but will probably be around thirty by four hundred.
0
[ 2, 98, 25, 14, 7518, 161, 20, 3464, 17, 3042, 40, 1961, 19, 20059, 60, 800, 3726, 3726, 31, 589, 1390, 20, 3042, 21, 81, 13, 7865, 13, 6336, 6448, 9, 8576, 93, 16, 19, 38, 1091, 35, 434, 12087, 18, 54, 86, 9, 568, 4277, 1322...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best unicode library for C? === What is the best unicode library for C? Where "best" is defined by cross-platform support, compiler independence, and reasonable performance across a the most common languages in use.
4
[ 2, 98, 25, 14, 246, 28010, 1248, 26, 272, 60, 800, 3726, 3726, 98, 25, 14, 246, 28010, 1248, 26, 272, 60, 113, 13, 7, 4936, 7, 25, 2811, 34, 919, 8, 27035, 555, 15, 21486, 2772, 15, 17, 9954, 956, 464, 21, 14, 127, 757, 2556...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
How copy Delphi TTable including calculated fields === I have defined a Delphi TTable object with calculated fields, and it is used in a grid on a form. I would like to make a copy of the TTable object, including the calculated fields, open that copy, do some changes to the data with the copy, close the copy, and then refresh the original copy and thusly the grid view. Is there an easy way to get a copy of a TTable object to be used in such a way?
0
[ 2, 184, 4344, 23030, 13, 38, 5924, 215, 10785, 2861, 800, 3726, 3726, 31, 57, 2811, 21, 23030, 13, 38, 5924, 3095, 29, 10785, 2861, 15, 17, 32, 25, 147, 19, 21, 7354, 27, 21, 505, 9, 31, 83, 101, 20, 233, 21, 4344, 16, 14, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Any experience with unusual technologies ? === [99 bottles of beers][1] made me realize that ADA, Erlang and Smalltalk were not so odd languages after all. There are plenty of unusual tools and I supposed that a lot of them are even used :-) Have you ever worked with very original technologies ? If yes, let us know in which context, and what did you think about it. Funny snippets strongly expected. [1]: http://99-bottles-of-beer.net/
0
[ 2, 186, 1496, 29, 4706, 5740, 13, 60, 800, 3726, 3726, 636, 3483, 12619, 16, 44, 445, 500, 2558, 165, 500, 117, 55, 4007, 30, 13, 4405, 15, 13, 106, 9949, 17, 284, 9718, 46, 52, 86, 4210, 2556, 75, 65, 9, 80, 50, 7062, 16, 4...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ReportViewer - LocalReport - Merge reports? === I'm using ReportViewer WinForms, and since it is no easy way to create an coversheet, then I wonder, is it possible to render two reports and have them concatenated?, so they appear as one report? If I was to print only, then I could execute two reports after each other, but since the user want to see the report before printing (you know, no environment waste here) then they have to appear in the same viewer. OR, is there other ways of creating coversheets? Today I use an subreport, but there are some issues with margins etc. which is not easy to fix.
0
[ 2, 1330, 4725, 106, 13, 8, 375, 17437, 13, 8, 12666, 2813, 60, 800, 3726, 3726, 31, 22, 79, 568, 1330, 4725, 106, 628, 4190, 18, 15, 17, 179, 32, 25, 90, 2010, 161, 20, 1600, 40, 1227, 17627, 15, 94, 31, 2666, 15, 25, 32, 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...
How do I diff two spreadsheets? === We have a lot of spreadsheets (XLS) in our subversion repository. These are usually edited with gnumeric or openoffice.org, and are mostly used to populate databases for unit testing with [dbUnit][1]. There are no easy ways of doing diffs on XLS files that I know of, and this makes merging extremely tedious and error prone. I've found [Spreadsheet Compare][2], but it requires Excel 2000 or later. I've also tried to convert the spreadsheets to xml and doing a regular diff, but it really feels as a last resort. Are there any (preferably open source) tools for diffing two spreadsheets (xls or ods)? [1]: http://www.dbunit.org/ [2]: http://thefoolonthehill.net/Spreadsheet_Compare.html
0
[ 2, 184, 107, 31, 20811, 81, 1789, 17627, 18, 60, 800, 3726, 3726, 95, 57, 21, 865, 16, 1789, 17627, 18, 13, 5, 396, 7532, 6, 19, 318, 972, 10898, 24869, 9, 158, 50, 951, 4802, 29, 26092, 22199, 54, 368, 17047, 9, 5583, 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...
Editable data grid for C# WinForms === I need to present the user with a matrix of which one column is editable. What is the most appropriate control to use? I can't use a ListView because you can only edit the first column (the label) and that's no good to me. Is the DataGridView the way to go, or are there third party alternative components that do a better job?
0
[ 2, 9392, 579, 1054, 7354, 26, 272, 5910, 628, 4190, 18, 800, 3726, 3726, 31, 376, 20, 734, 14, 4155, 29, 21, 8187, 16, 56, 53, 4698, 25, 9392, 579, 9, 98, 25, 14, 127, 4593, 569, 20, 275, 60, 31, 92, 22, 38, 275, 21, 968, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What are the best resources to get MS developer Certification? === I've just started working on my 2nd job out of university and my new employer has offered to pay for the resources and the tests to get me some certifications. Although most of the companies software is written in Java I'm pretty much the only .Net developer and they mean to keep me as a .Net devloper. I've looked into getting .Net 3.5 certification but it looks like most of the books for it are as yet unavailable. I've skimmed through the .Net fundamentals book, and it's okay but it's not very well written and there are apparently some errors in the code. So far my best resource has been this post by Jorgen Thelin: http://www.thearchitect.co.uk/weblog/archives/2008/08/path_to_net_35_developer_certification.html but it looks like the books he recommends aren't in print yet :(
0
[ 2, 98, 50, 14, 246, 2566, 20, 164, 4235, 10058, 10439, 60, 800, 3726, 3726, 31, 22, 195, 114, 373, 638, 27, 51, 172, 706, 1205, 70, 16, 155, 17, 51, 78, 11726, 63, 1434, 20, 1372, 26, 14, 2566, 17, 14, 4894, 20, 164, 55, 109...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
how to find rowsize in table === One of my DBs have grown closer to permitted size. Inorder to find out the table containing the max data, i used the following query: exec sp_MSforeachtable @command1="print '?' exec sp_spaceused '?'" It returned the culprit table comprising the max data. As a next step, i want to cleanup the rows based on the size. For this, i would like to order the rows based on size. How to achieve this using a query? Are there any tools to do this?
0
[ 2, 184, 20, 477, 3131, 10454, 19, 859, 800, 3726, 3726, 53, 16, 51, 13, 9007, 18, 57, 3651, 1788, 20, 7387, 1072, 9, 19, 7861, 20, 477, 70, 14, 859, 3503, 14, 2049, 1054, 15, 31, 147, 14, 249, 25597, 45, 1396, 3319, 3782, 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...
ReportViewer - modify toolbar? === Do anyone have good ideas of how to modify the toolbar for the WinForms version of the ReportViewer Toolbar? That is, I want to remove some buttons and varius, but it looks like the solution is to create a brand new toolbar instead of modifying the one that is there. Like, I had to remove export to excel, and did it this way: // Disable excel export foreach (RenderingExtension extension in lr.ListRenderingExtensions()) { if (extension.Name == "Excel") { //extension.Visible = false; // Property is readonly... FieldInfo fi = extension.GetType().GetField("m_isVisible", BindingFlags.Instance | BindingFlags.NonPublic); fi.SetValue(extension, false); } } A bit trickysh if you ask me.. For removing toolbarbuttons, an possible way was to iterate through the Control array inside the ReportViewer and change the Visible property for the buttons to hide, but it gets reset all the time, so it is not an good way.. WHEN do MS come with an new version btw?
0
[ 2, 1330, 4725, 106, 13, 8, 17579, 5607, 1850, 60, 800, 3726, 3726, 107, 1276, 57, 254, 3478, 16, 184, 20, 17579, 14, 5607, 1850, 26, 14, 628, 4190, 18, 615, 16, 14, 1330, 4725, 106, 5607, 1850, 60, 30, 25, 15, 31, 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...
Potential other uses of a jabber server === Beside the obvious person to person instant message chat, What else have you used a Jabber server's functionality to enable?
0
[ 2, 2222, 89, 2027, 16, 21, 11284, 2102, 8128, 800, 3726, 3726, 2113, 14, 4674, 840, 20, 840, 6322, 2802, 6615, 15, 98, 962, 57, 42, 147, 21, 11284, 2102, 8128, 22, 18, 18548, 20, 9240, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[Eclipse] Toggling the state of a menu item === I have an Eclipse RCP app I'm working on. It has some view-specific menus and one of the menu items is an item which I would like to display a tick next to when the corresponding functionality is enabled. Similarly, the next time the item is selected, the item should become unticked to reflect that the corresponding functionality is disabled. My question is this: how do I set the toggle state of these menu items? I have an IHandler to deal with the event when the menu item is selected but I'm unsure how to update the GUI element itself. Does the StackOverflow community have any thoughts on how I might solve this?
0
[ 2, 636, 3319, 6013, 870, 500, 20, 4572, 802, 14, 146, 16, 21, 11379, 9101, 800, 3726, 3726, 31, 57, 40, 11652, 761, 7439, 4865, 31, 22, 79, 638, 27, 9, 32, 63, 109, 1418, 8, 9219, 11379, 18, 17, 53, 16, 14, 11379, 3755, 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...
Balancing Altruism and making a Wage === **Making a living by writing open-source software** How can I write freely available open-source software and make a living aswell? How are you doing it if you are already? *By charging for support services?*
4
[ 2, 16416, 6302, 493, 8989, 756, 17, 544, 21, 10667, 800, 3726, 3726, 13, 1409, 5603, 21, 634, 34, 1174, 368, 8, 12097, 2306, 1409, 184, 92, 31, 2757, 11298, 904, 368, 8, 12097, 2306, 17, 233, 21, 634, 28, 854, 60, 184, 50, 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, 0, 0, 0...
Stresstesting ASP.NET/IIS with WCAT === I'm trying to setup a stress/load test using the WCAT toolkit included in the IIS Resources. Using LogParser, I've processed a UBR file with configuration. It looks something like this: [Configuration] NumClientMachines: 1 # number of distinct client machines to use NumClientThreads: 100 # number of threads per machine AsynchronousWait: TRUE # asynchronous wait for think and delay Duration: 5m # length of experiment (m = minutes, s = seconds) MaxRecvBuffer: 8192K # suggested maximum received buffer ThinkTime: 0s # maximum think-time before next request WarmupTime: 5s # time to warm up before taking statistics CooldownTime: 6s # time to cool down at the end of the experiment [Performance] [Script] SET RequestHeader = "Accept: */*\r\n" APP RequestHeader = "Accept-Language: en-us\r\n" APP RequestHeader = "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705)\r\n" APP RequestHeader = "Host: %HOST%\r\n" NEW TRANSACTION classId = 1 NEW REQUEST HTTP ResponseStatusCode = 200 Weight = 45117 verb = "GET" URL = "http://Url1.com" NEW TRANSACTION classId = 3 NEW REQUEST HTTP ResponseStatusCode = 200 Weight = 13662 verb = "GET" URL = "http://Url1.com/test.aspx" Does it look OK? I execute the controller with this command: wcctl -z StressTest.ubr -a localhost The Client(s) is executed like this: wcclient localhost When the client is executed, I get this error: main client thread Connect Attempt 0 Failed. Error = 10061 Has anyone in this world ever used WCAT?
0
[ 2, 5384, 10543, 68, 28, 306, 9, 2328, 118, 2865, 18, 29, 619, 5782, 800, 3726, 3726, 31, 22, 79, 749, 20, 18161, 21, 5384, 118, 8294, 1289, 568, 14, 619, 5782, 5607, 13703, 506, 19, 14, 595, 18, 2566, 9, 568, 6738, 3574, 4104, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 from a promiscuous network device === Does anyone know how to read from a promiscuous (or sniffing) device in C? I know that you need to have root access to do it, but I was wondering if anyone knew what functions were necessary to do this (normal sockets wouldn't seem to make sense here)? I want to write a real-time analysis tool for wireless traffic.
0
[ 2, 1876, 37, 21, 895, 5858, 150, 9627, 982, 3646, 800, 3726, 3726, 630, 1276, 143, 184, 20, 1302, 37, 21, 895, 5858, 150, 9627, 13, 5, 248, 15312, 68, 6, 3646, 19, 272, 60, 31, 143, 30, 42, 376, 20, 57, 5900, 1381, 20, 107, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Should I learn/become proficient in Javascript? === I am a .NET webdev using ASP.NET, C# etc... I "learned" javascript in college 5+ years ago and can do basic jobs with it. But I wonder if it is useful to become proficient in it. Why should I learn Javascript? Is it more advantageous then learning JQuery or a different [library][1]? [1]: http://stackoverflow.com/questions/913/what-javascript-library-would-you-choose-for-a-new-project-and-why
0
[ 2, 378, 31, 2484, 118, 863, 3967, 28140, 19, 8247, 8741, 60, 800, 3726, 3726, 31, 589, 21, 13, 9, 2328, 2741, 14438, 568, 28, 306, 9, 2328, 15, 272, 5910, 2722, 9, 9, 9, 31, 13, 7, 413, 10818, 69, 7, 8247, 8741, 19, 314, 331...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
count (non-blank) lines-of-code in bash === In Bash, how do I count the number of non-blank lines of code in a project?
0
[ 2, 2468, 13, 5, 3951, 8, 10754, 5719, 6, 1560, 8, 1041, 8, 9375, 19, 13158, 800, 3726, 3726, 19, 13158, 15, 184, 107, 31, 2468, 14, 234, 16, 538, 8, 10754, 5719, 1560, 16, 1797, 19, 21, 669, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Send data between two PHP scripts === I want to have a PHP script send a XML formatted string to another PHP script that resides on a different server in a different part of town. Is there any nice, clean way of doing this? (PHP5 and all the latest software available)
0
[ 2, 2660, 1054, 128, 81, 13, 26120, 17505, 800, 3726, 3726, 31, 259, 20, 57, 21, 13, 26120, 3884, 2660, 21, 23504, 13, 29850, 3724, 20, 226, 13, 26120, 3884, 30, 12631, 27, 21, 421, 8128, 19, 21, 421, 141, 16, 286, 9, 25, 80, 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 get a vector<Derived*> into a function that expects a vector<Base*> as argument === Consider these classes, class Base { ... }; class Derived : public Base { ... }; this function void BaseFoo( std::vector<Base*>vec ) { ... } And finally my vector std::vector<Derived*>derived; I want to pass `derived` to function `BaseFoo`, but the compiler doesn't let me. How do I solve this, without copying the whole vector to a `std::vector<Base*>`?
0
[ 2, 184, 164, 21, 7497, 1, 25891, 2483, 1, 77, 21, 1990, 30, 4186, 18, 21, 7497, 1, 8436, 2483, 1, 28, 5476, 800, 3726, 3726, 3563, 158, 2684, 15, 718, 1000, 13, 1, 13, 9, 9, 9, 13, 1, 73, 718, 3981, 13, 45, 317, 1000, 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...
Is a Python dictionary an example of a hashmap? === One of the basic data structures in Python is the dictionary, which allows one to record "keys" for looking up "values" of any type. Is this implemented internally as a hashmap? If not, what is it?
0
[ 2, 25, 21, 20059, 9186, 40, 823, 16, 21, 19170, 15022, 60, 800, 3726, 3726, 53, 16, 14, 2125, 1054, 3815, 19, 20059, 25, 14, 9186, 15, 56, 2965, 53, 20, 571, 13, 7, 4237, 18, 7, 26, 699, 71, 13, 7, 15165, 18, 7, 16, 186, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I bind the result of DataTable.Select() to a ListBox control? === I have the following code: ListBox.DataSource = DataSet.Tables("table_name").Select("some_criteria = match") ListBox.DisplayMember = "name" The [`DataTable.Select()` method][1] returns an array of [`System.Data.DataRow`][2] objects. No matter what I specify in the `ListBox.DisplayMember` property, all I see is the ListBox with the correct number of items all showing as `System.Data.DataRow` instead of the value I want which is in the `"name"` column! Is it possible to bind to the resulting array from `DataTable.Select()`, instead of looping through it and adding each one to the `ListBox`? (I've no problem with looping, but doesn't seem an elegant ending!) [1]: http://msdn.microsoft.com/en-us/library/system.data.datatable.select(VS.80).aspx [2]: http://msdn.microsoft.com/en-us/library/system.data.datarow(VS.80).aspx
0
[ 2, 184, 107, 31, 10193, 14, 829, 16, 1054, 5924, 9, 18, 16964, 5, 6, 20, 21, 968, 5309, 569, 60, 800, 3726, 3726, 31, 57, 14, 249, 1797, 45, 968, 5309, 9, 18768, 12097, 800, 1054, 3554, 9, 5924, 18, 5, 7, 5924, 1, 7259, 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 to prevent creating intermediate objects in cascading operators? === I use a custom Matrix class in my application, and I frequently add multiple matrices: Matrix result = a + b + c + d; // a, b, c and d are also Matrices However, this creates an intermediate matrix for each addition operation. Since this is simple addition, it is possible to avoid the intermediate objects and create the result by adding the elements of all 4 matrices at once. How can I accomplish this? NOTE: I know I can define multiple functions like `Add3Matrices(a, b, c)`, `Add4Matrices(a, b, c, d)`, etc. but I want to keep the elegancy of `result = a + b + c + d`.
0
[ 2, 184, 20, 2501, 2936, 6889, 3916, 19, 7167, 13489, 68, 9475, 60, 800, 3726, 3726, 31, 275, 21, 5816, 8187, 718, 19, 51, 3010, 15, 17, 31, 3086, 3547, 1886, 24849, 45, 8187, 829, 800, 21, 2754, 334, 2754, 272, 2754, 13, 43, 73,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best way to pack javascript without getting perfomance flaws? === I am searching for a way to compress javascript for the iphone but don't want to use a lot of cpu time on the small an rather slow device.
0
[ 2, 98, 25, 14, 246, 161, 20, 3607, 8247, 8741, 366, 1017, 416, 4120, 79, 2416, 398, 2371, 18, 60, 800, 3726, 3726, 31, 589, 5792, 26, 21, 161, 20, 26060, 8247, 8741, 26, 14, 21024, 47, 221, 22, 38, 259, 20, 275, 21, 865, 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, 0, 0, 0, 0, 0, 0, 0...
How expensive are JS function calls (compared to allocating memory for a variable)? === Given some JS code like that one here: for (var i = 0; i < document.getElementsByName('scale_select').length; i++) { document.getElementsByName('scale_select')[i].onclick = vSetScale; } <i>In principle</i>, would the code be faster if we put the result of getElementsByName into a variable before the loop and then use the variable after that? I am fully aware that this is very likely to be a purely academic question in real life, the result from getElementsByName typically having < 10 items. I just really like to understand the underlying mechanics of such things. Also, if there's anything else noteworthy about the two options, please tell me.
0
[ 2, 184, 5381, 50, 487, 18, 1990, 3029, 13, 5, 18415, 2095, 20, 65, 2499, 1880, 1912, 26, 21, 7612, 6, 60, 800, 3726, 3726, 504, 109, 487, 18, 1797, 101, 30, 53, 235, 45, 26, 13, 5, 3311, 31, 800, 713, 73, 31, 13, 1, 4492, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
socket listen backlog parameter, how to determine this value? === How should I determine what to use for a listening socket's backlog parameter? Is it a problem to simply specify a very large number?
0
[ 2, 18482, 3834, 97, 5567, 18906, 15, 184, 20, 3746, 48, 1923, 60, 800, 3726, 3726, 184, 378, 31, 3746, 98, 20, 275, 26, 21, 4948, 18482, 22, 18, 97, 5567, 18906, 60, 25, 32, 21, 1448, 20, 1659, 19077, 21, 253, 370, 234, 60, 3,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Is there a way to install gcc in OSX without installing Xcode? === I've googled the hell out of it, and it seems like there is no way to install gcc on OS X without installing Xcode (which takes at leats 1.5GB of space). All I need is gcc and none of the other junk that comes with Xcode. And at this point, I'll take any other kind of C compiler. I know I could simply install Xcode, but that is beside the point since I neither have my original installation disc nor a quick internet connection. So... does anyone have any suggestions?
0
[ 2, 25, 80, 21, 161, 20, 16146, 489, 3384, 19, 13, 759, 396, 366, 25429, 993, 9375, 60, 800, 3726, 3726, 31, 22, 195, 8144, 43, 14, 1094, 70, 16, 32, 15, 17, 32, 2206, 101, 80, 25, 90, 161, 20, 16146, 489, 3384, 27, 13, 759, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Custom role based Web Service access === Our CMS implements its own role based access control for content management and what not, much like all the other CMSs out there ;) I've recently been playing around with the idea of trying to implement an extension of this access control into our web service api, with the eventual idea of choosing which users have access to what methods. Has anyone implemented something like this, or know of any good resources I might be able to look into to get the ball rolling on it. Our development is done entirely in .NET 2.0, however if a principle exists in another language, I welcome it :)
0
[ 2, 5816, 597, 432, 2741, 365, 1381, 800, 3726, 3726, 318, 2390, 18, 8713, 18, 82, 258, 597, 432, 1381, 569, 26, 2331, 1097, 17, 98, 52, 15, 212, 101, 65, 14, 89, 2390, 18, 18, 70, 80, 13, 73, 6, 31, 22, 195, 1989, 74, 791, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
QTVR-like Panorama in Flash/ActionScript? === It has been a few years since I used Actionscript. Back in the day, I made a project that emulated a QTVR panorama (at the time I was using Flash, you could only embed very basic mov files) by simply moving a very long flattened pano image left or right behind a mask. The effect was okay, but not as nice as a real pano, since the perspective was so warped. So now that a couple iterations of Flash have been developed I am curious... Is there a way now to get a bit closer to a real QTVR? ...or is it now possible to embed a real QTVR?
0
[ 2, 2593, 38, 6938, 8, 1403, 24805, 19, 4433, 118, 8645, 8741, 60, 800, 3726, 3726, 32, 63, 74, 21, 310, 122, 179, 31, 147, 1028, 8741, 9, 97, 19, 14, 208, 15, 31, 117, 21, 669, 30, 23804, 43, 21, 2593, 38, 6938, 24805, 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...
How to pass an array parameter in TOAD === Using toad and an oracle database, how can I call a sp and see the results by passing an array to one of the parameters of the sp?
0
[ 2, 184, 20, 1477, 40, 7718, 18906, 19, 20, 1283, 800, 3726, 3726, 568, 20, 1283, 17, 40, 15759, 6018, 15, 184, 92, 31, 645, 21, 3782, 17, 196, 14, 1736, 34, 2848, 40, 7718, 20, 53, 16, 14, 12905, 16, 14, 3782, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
.Net Process.Start default directory? === I'm firing off a java app from inside of a C# .Net console app. Works fine for the case where the java app doesn't care what the "default" directory is, but fails for a Java app that only searches the current directory for support files. Is there a process parameter that can be set to specify the default directory that a process is started in?
0
[ 2, 13, 9, 2328, 953, 9, 13680, 12838, 16755, 60, 800, 3726, 3726, 31, 22, 79, 7139, 168, 21, 8247, 4865, 37, 572, 16, 21, 272, 5910, 13, 9, 2328, 8650, 4865, 9, 693, 1123, 26, 14, 610, 113, 14, 8247, 4865, 1437, 22, 38, 781, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Adding video to a site === In your opinion, what are the best options for adding video to a website assuming it would be rendered as FLV. What are the key considerations? Would you use a 3rd party service (youtube.com, vimeo.com, etc.) or host yourself? Why? If you used a service, which one? If you hosted yourself is it as simple as using an existing embeddable flash FLV player to access FLV files via HTTP or is there something more you would do in terms of content management, etc.?
0
[ 2, 4721, 763, 20, 21, 689, 800, 3726, 3726, 19, 154, 4052, 15, 98, 50, 14, 246, 6368, 26, 4721, 763, 20, 21, 2271, 11704, 32, 83, 44, 10877, 28, 398, 8916, 9, 98, 50, 14, 1246, 20478, 60, 83, 42, 275, 21, 203, 897, 346, 365,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Vertical Scrolling Marquee for foxpro === Anyone could point me to some code/give me ideas on how to create a smooth scrolling vertical marquee for VFP 8,9 Any help is appreciated. Nelson Marmol
0
[ 2, 7035, 13, 28166, 1423, 2005, 62, 26, 2385, 2740, 800, 3726, 3726, 1276, 110, 454, 55, 20, 109, 1797, 118, 8448, 55, 3478, 27, 184, 20, 1600, 21, 3905, 13, 28166, 7035, 1423, 2005, 62, 26, 566, 12087, 469, 15, 518, 186, 448, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How do you verify the Work and Experience level of Consultants? === So, right now I am hunting for consultants for two technologies I have knowledge about but no experience in. I have put ads on Craigslist as these are two small tasks and most likely the larger firms wont want to be bothered and will charge an arm and a leg. How do I verify that these guys are on the up and up? That the work they are sending me is THEIRS? I mean, I'd love to belive that the guy that didn't sign his email did all the flash work for Guess.com and is trolling craigslist for gigs, I just don't think it's likely. I also don't have much time for this, so anything I can do will have to be fast (thus the reason I am hiring consultants). Thanks!
4
[ 2, 184, 107, 42, 21012, 14, 170, 17, 1496, 662, 16, 7381, 18, 60, 800, 3726, 3726, 86, 15, 193, 130, 31, 589, 5038, 26, 7381, 18, 26, 81, 5740, 31, 57, 1918, 88, 47, 90, 1496, 19, 9, 31, 57, 442, 16236, 27, 5500, 18, 5739, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 trigger Core Animation on an animator proxy during a call to resizeSubviewsWithOldSize? === I have some NSViews that I'm putting in one of two layouts depending on the size of my window. I'm adjusting the layout when the relevant superview receives the resizeSubviewsWithOldSize method. This works, but I'd like to animate the change. So naturally I tried calling the animator proxy when I set the new frames, but the animation won't run while the user is still dragging. If I release the mouse before the animation is scheduled to be done I can see the tail end of the animation, but nothing until then. I tried making sure kCATransactionDisableActions was set to NO, but that didn't help. Is it possible to start a new animation and actually have it run during the resize?
0
[ 2, 184, 92, 31, 7286, 2884, 6236, 27, 40, 14487, 2153, 27188, 112, 21, 645, 20, 302, 10454, 7563, 4725, 18, 1410, 1218, 10454, 60, 800, 3726, 3726, 31, 57, 109, 13, 2172, 4725, 18, 30, 31, 22, 79, 3873, 19, 53, 16, 81, 9106, 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...
In C#, given a DateTime object, how do I get a ISO8601 date in string format? === Given: > DateTime.UtcNow How do I get a string which represents the same value in an ISO8601 compliant format?
0
[ 2, 19, 272, 5910, 15, 504, 21, 1231, 891, 3095, 15, 184, 107, 31, 164, 21, 11899, 3274, 3026, 1231, 19, 3724, 2595, 60, 800, 3726, 3726, 504, 45, 13, 1, 1231, 891, 9, 11440, 1387, 184, 107, 31, 164, 21, 3724, 56, 4719, 14, 205...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
PHP and MS Access === How can we connect a PHP script to MS Access (.mdb) file? I tried by including following PHP code: $db_path = $_SERVER['DOCUMENT_ROOT'] . '\WebUpdate\\' . $file_name . '.mdb'; $cfg_dsn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" . $db_path; $odbcconnect = odbc_connect($cfg_dsn, '', ''); But it failed and I received following error message: Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in C:\web\WebUpdate\index.php on line 41
0
[ 2, 13, 26120, 17, 4235, 1381, 800, 3726, 3726, 184, 92, 95, 6379, 21, 13, 26120, 3884, 20, 4235, 1381, 13, 5, 9, 79, 9007, 6, 3893, 60, 31, 794, 34, 215, 249, 13, 26120, 1797, 45, 5579, 9007, 1, 8353, 800, 5579, 1, 10321, 106,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ganerate "migration" DDL from NHibernate mapping files === I'm using NHibernate 2 and PostgreSQL in my project. SchemaExport class does a great job generating DDL scheme for database, but it's great until the first application. Is there any way to generate "migration" DLL (batch of "ALTER TABLE"'s insted of DROP/CREATE pair) using NHibernate mapping files?
0
[ 2, 184, 92, 31, 7890, 106, 1373, 13, 7, 10183, 5946, 7, 13, 43, 8643, 37, 12109, 15191, 8820, 13305, 6488, 800, 3726, 3726, 31, 22, 79, 568, 12109, 15191, 8820, 172, 17, 678, 6879, 18, 22402, 19, 51, 669, 9, 23874, 1706, 1993, 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 can we print line numbers to the log in java === How to print line numbers to the log. Say when outputting some information to the log, I also want to print the line number where that output is in the source code. As we can see in the stack trace, it displays the line number where the exception has occurred. Stack trace is available on the exception object. Other alternative could be like manually including the line number when printing to the log. Is there any other way?
0
[ 2, 184, 92, 95, 4793, 293, 2116, 20, 14, 6738, 19, 8247, 800, 3726, 3726, 184, 20, 4793, 293, 2116, 20, 14, 6738, 9, 395, 76, 5196, 1203, 109, 676, 20, 14, 6738, 15, 31, 67, 259, 20, 4793, 14, 293, 234, 113, 30, 5196, 25, 19...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Keep sources from external repositories up-to-date === After you start tracking the source of a bunch of open source software, how do you keep your code in sync? Run `svn update` every time you want to look at or play with the code? It strikes me that it would be better to essentially start mirroring the code with (say) a `cron` job every night. Have people set up workflows to do this sort of thing? (With alerts when/if any changes you make to the code end up conflicting with the latest update?) Or am I on my own? (I'm running Mac OS X but interested in general as well as specific solutions.)
0
[ 2, 643, 2662, 37, 4886, 302, 14882, 262, 2829, 71, 8, 262, 8, 8209, 800, 3726, 3726, 75, 42, 799, 10353, 14, 1267, 16, 21, 7653, 16, 368, 1267, 2306, 15, 184, 107, 42, 643, 154, 1797, 19, 6063, 150, 60, 485, 13, 1, 18, 16578, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Problem with converting enumerations in C++\CLI === I have an assembly, written in C++\CLI, which uses some of enumerations, provided by .Net. It has such kind of properties: property System::ServiceProcess::ServiceControllerStatus ^ Status { ServiceControllerStatus ^ get() { return (ServiceControllerStatus)_status->dwCurrentState; } } it works fine, but when i use this assembly from my C# code, type of this property is System.Enum and i have to make type-cast if ((ServiceControllerStatus)currentService.Status == ServiceControllerStatus.Running) //do smth The question is simple: why is it so, and how to fix it ?
0
[ 2, 1448, 29, 19583, 26940, 5757, 19, 272, 20512, 1, 150, 1210, 800, 3726, 3726, 31, 57, 40, 1475, 15, 642, 19, 272, 20512, 1, 150, 1210, 15, 56, 2027, 109, 16, 26940, 5757, 15, 1173, 34, 13, 9, 2328, 9, 32, 63, 145, 825, 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...
Is there any reason to not use my IoC as a general Settings Repository? === Suppose that the **ApplicationSettings** class is a general repository of settings that apply to my application such as TimeoutPeriod, DefaultUnitOfMeasure, HistoryWindowSize, etc... And let's say MyClass makes use of one of those settings - DefaultUnitOfMeasure. My reading of proper use of Inversion of Control Containers - and please correct me if I'm wrong on this - is that you define the dependencies of a class in its constructor: public class MyClass { public MyClass(IDataSource ds, UnitOfMeasure default_uom) {...} } and then call instantiate your class with something like var mc = IoC.Container.Resolve<MyClass>(); Where **IDataSource** has been assigned a concrete implementation and default_uom has been wired up to instantiate from the **ApplicationSettings.DefaultUnitOfMeasure** property. I've got to wonder however, if all these hoops are really that necessary to jump through. What trouble am I setting myself up for should I do public class MyClass { public MyClass(IDataSource ds) { UnitOfMeasure duom = IoC.Container.Resolve<UnitOfMeasure>("default_uom"); } } Yes, many of my classes end up with a dependency on **IoC.Container** but that is a dependency that most of my classes will have anyways. It seems like I maybe should make full use of it as long as the classes are coupled. Please Agile gurus, tell me where I'm wrong.
0
[ 2, 25, 80, 186, 1215, 20, 52, 275, 51, 31, 2499, 28, 21, 297, 12410, 24869, 60, 800, 3726, 3726, 5787, 30, 14, 13, 1409, 2552, 20669, 19831, 18, 1409, 718, 25, 21, 297, 24869, 16, 12410, 30, 5645, 20, 51, 3010, 145, 28, 85, 13...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the format of the Remap XML file for IKVM? === In [this article][1] Jeroen explains an example of using an XML file to remap Java Bean getters and setters to .NET Properties. What would the XML file look like if I wanted to, say, remap a Java method called "showDialog()" to "ShowDialog()" in .NET? Has anyone worked with the remapping option before? Any idea where to get information on how it works other than inspecting the [remapper.cs][2] source code? [1]: http://weblog.ikvm.net/CommentView.aspx?guid=b9b950c5-eb34-4b81-975a-1c95492736fb [2]: http://ikvm.cvs.sourceforge.net/ikvm/ikvm/ikvmc/remapper.cs?revision=1.16&view=markup
0
[ 2, 98, 25, 14, 2595, 16, 14, 302, 15022, 23504, 3893, 26, 13, 2883, 20147, 60, 800, 3726, 3726, 19, 636, 1565, 2002, 500, 2558, 165, 500, 10438, 111, 219, 7346, 40, 823, 16, 568, 40, 23504, 3893, 20, 302, 15022, 8247, 15322, 164, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Good C++ GUI library for Windows === I'm looking for good windows GUI library for C++. The Ideal in my opinion shoud be: <ul> <li><b>Modern</b>. MFC, wxWidgets, Qt were started a long time ago and they don't use modern C++ features and standard library.</li> <li><b>Have a rich set of controls with decent features.</b> The ability to drop HTML almost everywhere is a happiness for which I love wxWidgets when I don't hate it.</li> <li><b>Open source</b>. It's the must. If sources are available after purchase than it's considered ok.</li> <li><b>Have a form designer in some way</b>. Yeah, it would be great. After years of Delphi I cry every time when I have to specify control sizes by hand...</li> <li><b>Free for commercial use</b>. But if some library is REALLY good I will consider buying it.</li> <li><b>Cross platform</b>. Just a wish:) I can live without that.</li> </ul> Please suggest your candidates. One library per answer please. P.S. I'm sorry for inevitable grammar errors. English is not my native language.
0
[ 2, 254, 272, 20512, 9457, 1248, 26, 1936, 800, 3726, 3726, 31, 22, 79, 699, 26, 254, 1936, 9457, 1248, 26, 272, 20512, 9, 14, 5628, 19, 51, 4052, 5799, 3192, 44, 45, 13, 1, 1287, 1, 13, 1, 1210, 1, 220, 1, 11959, 1, 118, 220...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Recomendations for ASP.Net integratable Web CMS === I have a website that includes a home grown CMS system. We are looking for a stronger CMS solution but one that we can integrate into our existing architecture. A CMS that needs to 'own' the whole page is not going to work for us. We wish to have ASP.Net control the pages but insert dynamic content. We are particularly looking to improve the content editing and deployment ease of use. Any ideas? Good experiences?
0
[ 2, 302, 960, 2451, 7504, 26, 28, 306, 9, 2328, 13, 12370, 58, 5924, 2741, 2390, 18, 800, 3726, 3726, 31, 57, 21, 2271, 30, 1103, 21, 213, 3651, 2390, 18, 329, 9, 95, 50, 699, 26, 21, 5375, 2390, 18, 4295, 47, 53, 30, 95, 92,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Retrieve Web Browser Stored Form Data? === I have my web browsers set to save what I type into text boxes on forms. I have a lot of search terms stored in the text box of my browser and would like to get at it via a program of some sort before I clear these values out. There are far too many for me to go through one at a time. The web browser must store this data somewhere, does anyone know where? Is it possible to retrieve these values? *Firefox*, more so than IE -- but either, if anyone knows a script that can extract these values? Thanks.
0
[ 2, 11917, 2741, 16495, 8214, 505, 1054, 60, 800, 3726, 3726, 31, 57, 51, 2741, 16495, 18, 309, 20, 2079, 98, 31, 1001, 77, 1854, 8120, 27, 1997, 9, 31, 57, 21, 865, 16, 2122, 1663, 8214, 19, 14, 1854, 1649, 16, 51, 16495, 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 do I prevent TFS from overwriting a label? === If i make a label in TFS, and later make a new label with the same name... then the old label is replaced by the new one. How do I prevent TFS from overwriting a label?
0
[ 2, 184, 107, 31, 2501, 13, 11720, 18, 37, 84, 12646, 21, 1899, 60, 800, 3726, 3726, 100, 31, 233, 21, 1899, 19, 13, 11720, 18, 15, 17, 138, 233, 21, 78, 1899, 29, 14, 205, 204, 9, 9, 9, 94, 14, 315, 1899, 25, 1141, 34, 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...
CVS: Replace HEAD with a branch. === How do I replace the HEAD of a CVS repository with a branch?
0
[ 2, 13, 12732, 18, 45, 3934, 157, 29, 21, 1686, 9, 800, 3726, 3726, 184, 107, 31, 3934, 14, 157, 16, 21, 13, 12732, 18, 24869, 29, 21, 1686, 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...
[ 1, 1, 1, 1, 1, 1, 1, 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...
How do you implement position-sensitive zooming inside a JScrollPane? === I am trying to implement position-sensitive zooming inside a JScrollPane. The JScrollPane contains a component with a customized 'paint' that will draw itself inside whatever space it is allocated - so zooming is as easy as using a MouseWheelListener that resizes the inner component as required. But I also want zooming into (or out of) a point to keep that point as central as possible within the resulting zoomed-in (or -out) view (this is what I refer to as 'position-sensitive' zooming), similar to how zooming works in google maps. I am sure this has been done many times before - does anybody know the "right" way to do it under Java Swing?. Would it be better to play with Graphic2D's transformations instead of using JScrollPanes? Sample code follows: package test; import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import javax.swing.*; public class FPanel extends javax.swing.JPanel { private Dimension preferredSize = new Dimension(400, 400); private Rectangle2D[] rects = new Rectangle2D[50]; public static void main(String[] args) { JFrame jf = new JFrame("test"); jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); jf.setSize(400, 400); jf.add(new JScrollPane(new FPanel())); jf.setVisible(true); } public FPanel() { // generate rectangles with pseudo-random coords for (int i=0; i<rects.length; i++) { rects[i] = new Rectangle2D.Double( Math.random()*.8, Math.random()*.8, Math.random()*.2, Math.random()*.2); } // mouse listener to detect scrollwheel events addMouseWheelListener(new MouseWheelListener() { public void mouseWheelMoved(MouseWheelEvent e) { updatePreferredSize(e.getWheelRotation(), e.getPoint()); } }); } private void updatePreferredSize(int n, Point p) { double d = (double) n * 1.08; d = (n > 0) ? 1 / d : -d; int w = (int) (getWidth() * d); int h = (int) (getHeight() * d); preferredSize.setSize(w, h); getParent().doLayout(); // Question: how do I keep 'p' centered in the resulting view? } public Dimension getPreferredSize() { return preferredSize; } private Rectangle2D r = new Rectangle2D.Float(); public void paint(Graphics g) { super.paint(g); g.setColor(Color.red); int w = getWidth(); int h = getHeight(); for (Rectangle2D rect : rects) { r.setRect(rect.getX() * w, rect.getY() * h, rect.getWidth() * w, rect.getHeight() * h); ((Graphics2D)g).draw(r); } } }
0
[ 2, 184, 107, 42, 8713, 649, 8, 19435, 19469, 68, 572, 21, 487, 3862, 8694, 16660, 60, 800, 3726, 3726, 31, 589, 749, 20, 8713, 649, 8, 19435, 19469, 68, 572, 21, 487, 3862, 8694, 16660, 9, 14, 487, 3862, 8694, 16660, 1588, 21, 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...
Use VBA in Office 2007 Applications? === Is VBA going to go away any time soon, like VB6 has? Should I not develop new Office applications with VBA? Or should I be developing all new Office Apps with VSTO?
0
[ 2, 275, 566, 969, 19, 488, 624, 3767, 60, 800, 3726, 3726, 25, 566, 969, 228, 20, 162, 229, 186, 85, 651, 15, 101, 13, 20468, 379, 63, 60, 378, 31, 52, 2803, 78, 488, 3767, 29, 566, 969, 60, 54, 378, 31, 44, 3561, 65, 78, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Test Automation with Embedded Hardware === **Has anyone had success automating testing directly on embedded hardware?** Specifically, I am thinking of automating a battery of unit tests for hardware layer modules. We need to have greater confidence in our hardware layer code. A lot of our projects use interrupt driven timers, ADCs, serial io, serial SPI devices (flash memory) etc.. **Is this even worth the effort?** We typically target: Processor: 8 or 16 bit microcontrollers (some DSP stuff) Language: C (sometimes c++).
0
[ 2, 1289, 23217, 29, 12138, 7610, 800, 3726, 3726, 13, 1409, 6482, 1276, 41, 1280, 3108, 79, 1880, 4431, 1703, 27, 12138, 7610, 60, 1409, 3524, 15, 31, 589, 1440, 16, 3108, 79, 1880, 21, 5044, 16, 1237, 4894, 26, 7610, 5385, 17113, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 unit test classes be kept under version control with the rest of the code? === If I create a test suite for a development project, should those classes be kept under version control with the rest of the project code?
0
[ 2, 378, 1237, 1289, 2684, 44, 1025, 131, 615, 569, 29, 14, 760, 16, 14, 1797, 60, 800, 3726, 3726, 100, 31, 1600, 21, 1289, 6160, 26, 21, 522, 669, 15, 378, 273, 2684, 44, 1025, 131, 615, 569, 29, 14, 760, 16, 14, 669, 1797, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
no respond_to block in edit action (generated with scaffold)? === Does anyone know why there is no respond_to block for generated edit actions? Every other action in typical scaffold controllers has a respond_to block in order to output html and xml formats. Why is the edit an exception? I'm using the latest version of Ruby on Rails (2.1.1).
0
[ 2, 90, 4590, 1, 262, 1921, 19, 9392, 1028, 13, 5, 25314, 29, 27322, 6, 60, 800, 3726, 3726, 630, 1276, 143, 483, 80, 25, 90, 4590, 1, 262, 1921, 26, 6756, 9392, 3078, 60, 352, 89, 1028, 19, 3874, 27322, 9919, 18, 63, 21, 4590,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What are your experiences with Windows Workflow Foundation? === I am evaluating WF for use in line of business applications on the web, and I would love to hear some recent first-hand accounts of this technology. My main interest here is in improving the maintainability of projects and maybe in increasing developer productivity when working on complex processes that change frequently. I really like the idea of WF, however it seems to be relatively unknown and many older comments I've come across mention that it's overwhelmingly complex once you get into it. If it's overdesigned to the point that it's unusable (or a bad tradeoff) for a small to medium-sized project, that's something that I need to know. Of course, it has been out since late 2006, so perhaps it has matured. If that's the case, that's another piece of information that would be very helpful! Thanks in advance!
0
[ 2, 98, 50, 154, 5513, 29, 1936, 170, 9990, 1304, 60, 800, 3726, 3726, 31, 589, 26764, 13, 15263, 26, 275, 19, 293, 16, 508, 3767, 27, 14, 2741, 15, 17, 31, 83, 339, 20, 990, 109, 1764, 64, 8, 3203, 5310, 16, 48, 1099, 9, 51,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Strategies for Cacheing on the Web? === What concerns, processes, and questions do you take into account when deciding when and how to cache. Is it always a no win situation. This is pre-supposes you are stuck with a code base that has been optimized.
0
[ 2, 10272, 26, 16522, 68, 27, 14, 2741, 60, 800, 3726, 3726, 98, 4823, 15, 5102, 15, 17, 2346, 107, 42, 247, 77, 2176, 76, 11211, 76, 17, 184, 20, 16522, 9, 25, 32, 550, 21, 90, 628, 1858, 9, 48, 25, 782, 8, 18, 576, 15690, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Pagination using CodeIgniter === I've been developing a site over the past few weeks using CodeIgniter as the framework. It's a great framework, however I've been puzzling over the best way to accomplish something which in a lot of other frameworks / languages is relatively simple: sortable tables. CodeIgniter switches off query strings by default, because your URLs contain method parameters. so a URL might look like: /controller/method/param1/param2 So you might think that you could just add in 'sortBy' and 'sortOrder' as two additional parameters to the controller method. I don't particularly want to do that, mainly because I want to have a re-usable control. When you use query string parameters, PHP can easily tell you whether there is a parameter called 'sortBy'. However when you're using URL based parameters, it will vary with each controller. So I was wondering what my options were, as far as I can see it it's something like this: * Pass in my 'sortBy' and 'sortOrder' parameters, just suck it up and develop some less-than-reusable component for it. * Have an additional controller which will store the sortBy and sortOrder in the session - although it would have to know where you came from and send you back to the original page. * Have some kind of AJAX function which would call the controller above and then reload the page. * Hack CodeIgniter to turn query strings back on! [Actually if this is the only option, any links to how to do this would be appreciated...] I just can't quite believe such a simple task would present such a problem! Am I missing something? Anyone have any recommendations? Thanks very much! - Phill
0
[ 2, 19006, 108, 857, 568, 1797, 9693, 242, 106, 800, 3726, 3726, 31, 22, 195, 74, 3561, 21, 689, 84, 14, 640, 310, 1342, 568, 1797, 9693, 242, 106, 28, 14, 6596, 9, 32, 22, 18, 21, 374, 6596, 15, 207, 31, 22, 195, 74, 3323, 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...
Looking for a Swing Run-In-Background GUI library === Most modern apps provide an interactive way to push a long running operation onto a background queue. I am developing a swing application and I have implemented a simple "framework" to support that. However, I can't help but think that something like that must exist already. I have heard that Netbeans provides that, but I don't want to migrate my whole app to a new framework (besides, I use eclipse). Here is a webstart demo of what I am talking about: [ribframework][1] So, does such a library exist or only within some huge framework? [1]: http://jakob.magiera.net/ribframework
0
[ 2, 699, 26, 21, 5587, 485, 8, 108, 8, 1958, 8810, 9457, 1248, 800, 3726, 3726, 127, 773, 4865, 18, 1181, 40, 9194, 161, 20, 3250, 21, 175, 946, 1453, 1204, 21, 2395, 22521, 9, 31, 589, 3561, 21, 5587, 3010, 17, 31, 57, 6807, 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...
Does it matter which vendor's JDK you build with? === If I'm deploying to servers with WebSphere 6.1 (Java 1.5), should I use IBM's JDK on my build box? Or will Sun's JDK compile to the same binary? If I should use IBM's, where can I get the Windows x64 version?
0
[ 2, 630, 32, 1161, 56, 23510, 22, 18, 487, 43, 197, 42, 1895, 29, 60, 800, 3726, 3726, 100, 31, 22, 79, 17617, 68, 20, 17595, 29, 2741, 14079, 400, 9, 165, 13, 5, 1004, 1385, 137, 9, 264, 6, 15, 378, 31, 275, 10233, 22, 18, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does the MVC pattern describe Roles or Layers? === I read a text recently saying the MVC pattern describes the layers in an application. But personally I see MVC showing several key roles in an application. Which word do you think is better, layer or role, to describe the three main pieces of MVC? Why?
0
[ 2, 630, 14, 307, 8990, 3732, 4996, 2954, 54, 9124, 60, 800, 3726, 3726, 31, 1302, 21, 1854, 1989, 1148, 14, 307, 8990, 3732, 4359, 14, 9124, 19, 40, 3010, 9, 47, 7200, 31, 196, 307, 8990, 3187, 238, 1246, 2954, 19, 40, 3010, 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 add /usr/share/java libs to webapp's classpath? === <h2>Summary</h2> Is that possible for webapps deployed on linux + tomcat5.5 to use/see all `/usr/share/java/` jars automatically? <h2>Details</h2> I'm packaging my java webapp for Ubintu (yet the question is related to any linux-based distro) and going to make it depend on tomcat. I'm going to put context descriptor (an xml file) to `/usr/share/tomcat5.5/conf/Catalina/localhost/` to make my app deployed. Having my web dir here: `/usr/share/<appname>/web`, how can I enable my app to use java jar libs installed in the system (`/usr/share/java`)? I can't just symlink `/usr/share/java -> <webdir>/WEB-INF/lib`, since I have my custom jars need to be placed in `lib` dir. <h2>Bad Solution</h2> The solution I've found so far is to symlink each required jar to `<webdir>/WEB-INF/lib/`. This is not so good, because I have to symlink a lot of jars and even worse to symlink all jars my direct dependency lib (jar) requires (and so on). In case my direct dependency lib changes its list of required jars I'll have to maintain that symlinks.
0
[ 2, 184, 20, 3547, 13, 118, 267, 139, 118, 16608, 118, 1004, 1385, 13, 8326, 18, 20, 2741, 7753, 22, 18, 718, 8353, 60, 800, 3726, 3726, 13, 1, 252, 135, 1, 18, 723, 17396, 1, 118, 252, 135, 1, 25, 30, 938, 26, 2741, 7753, 18...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Codesmith resources === I use Codesmith to create our code generation templates and have had success in learning how to use the tool by looking at example templates and the built in documentation. However I was wondering if there are any other resources (books, articles, tutorials, etc.) for getting a better grasp of Codesmith?
0
[ 2, 1797, 7017, 2566, 800, 3726, 3726, 31, 275, 1797, 7017, 20, 1600, 318, 1797, 2782, 22894, 18, 17, 57, 41, 1280, 19, 2477, 184, 20, 275, 14, 5607, 34, 699, 35, 823, 22894, 18, 17, 14, 392, 19, 13945, 9, 207, 31, 23, 5712, 10...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
UTF-8 validation === I'm processing some data files that are supposed to be valid UTF-8 but aren't, which causes the parser (not under my control) to fail. I'd like to add a stage of pre-validating the data for UTF-8 well-formedness, but I've not yet found a utility to help do this. There's a [web service][1] at W3C which appears to be dead, and I've found a Windows-only validation [tool][2] that reports invalid UTF-8 files but doesn't report which lines/characters to fix. I'd be happy with either a tool I can drop in and use (ideally cross-platform), or a ruby/perl script I can make part of my data loading process. Any suggestions? Ian [1]: http://www.w3.org/2005/01/yacker/uploads/utf8-validator [2]: http://bolek.techno.cz/UTF8-Validator/
0
[ 2, 287, 11720, 8, 457, 27999, 800, 3726, 3726, 31, 22, 79, 5511, 109, 1054, 6488, 30, 50, 2293, 20, 44, 7394, 287, 11720, 8, 457, 47, 4847, 22, 38, 15, 56, 4047, 14, 2017, 4104, 13, 5, 1270, 131, 51, 569, 6, 20, 7476, 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...
Can I safely edit a renamed file in perforce === I have a file I need to move that's already under perforce. Once moved it needs some editing - update the package, etc - appropriate to its new location. Should I submit the move changespec and then reopen it for edit, or can I do this in one go? If so, what is the appropriate sequence of events?
0
[ 2, 92, 31, 9817, 9392, 21, 2433, 3893, 19, 416, 8774, 800, 3726, 3726, 31, 57, 21, 3893, 31, 376, 20, 780, 30, 22, 18, 614, 131, 416, 8774, 9, 382, 385, 32, 2274, 109, 9510, 13, 8, 11100, 14, 6030, 15, 2722, 13, 8, 4593, 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...
How to disable a programmatical breakpoint / assert? === I am using Visual Studio, developing a native application, I have a programmatical breakpoint (assert) in my code placed using __asm int 3 or __debugbreak. Sometimes when I hit it, I would like to disable it so that sucessive hits in the same debugging session not longer break into the debugger. How can I do this?
0
[ 2, 184, 20, 1460, 579, 21, 625, 6732, 192, 1442, 3132, 13, 118, 10908, 60, 800, 3726, 3726, 31, 589, 568, 3458, 1120, 15, 3561, 21, 1275, 3010, 15, 31, 57, 21, 625, 6732, 192, 1442, 3132, 13, 5, 22220, 38, 6, 19, 51, 1797, 103...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
RegisterStartupScript on Logout page === I am trying to have a logout page where is displays a messages and then redirects to the login page. This is in ASP.net 2.0 I have this in my Page_Load ClientScript.RegisterStartupScript(typeof(Page), "pageredirect", JavascriptRedirect()); This is my redirect function: private string JavascriptRedirect() { StringBuilder sb = new StringBuilder(); sb.Append("<script type=\"text/javascript\" language=\"javascript\">"); sb.Append("var x = 5;"); sb.Append("var y = 1;"); sb.Append("function startClock(){"); sb.Append("x = x-y;"); sb.Append("t=setTimeout(\"startClock()\", 1000);"); sb.Append("if(x==0){"); sb.Append("window.location='login.aspx';"); sb.Append("clearTimeout(t);"); sb.Append(" }"); sb.Append(" }"); sb.Append("startClock();"); sb.Append("</script>"); return sb.ToString(); } When I test there is no javascript in my resulting logout page. Anyone have an idea on what is happening. Is Page_Load to late to register this?
0
[ 2, 2243, 13680, 576, 8741, 27, 6738, 1320, 2478, 800, 3726, 3726, 31, 589, 749, 20, 57, 21, 6738, 1320, 2478, 113, 25, 9412, 21, 7561, 17, 94, 302, 14706, 18, 20, 14, 6738, 108, 2478, 9, 48, 25, 19, 28, 306, 9, 2328, 172, 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...
My Java factory method smells. How do I fix it? === There's something very unsatisfactory about this code: /* Given a command string in which the first 8 characters are the command name padded on the right with whitespace, construct the appropriate kind of Command object. */ public class CommandFactory { public Command getCommand(String cmd) { cmdName = cmd.subString(0,8).trim(); if(cmdName.equals("START")) { return new StartCommand(cmd); } if(cmdName.equals("END")) { return new EndCommand(cmd); } // ... more commands in more if blocks here // else it's a bad command. return new InvalidCommand(cmd); } } I'm unrepentant about the multiple exit points - the structure is clear. But I'm not happy about the series of near-identical if statements. I've considered making a Map of Strings to Commands: commandMap = new HashMap(); commandMap.put("START",StartCommand.class); // ... etc. ... then using Reflection to make instances of the appropriate class looked up from the Map. However while conceptually elegant, this involves a fair amount of Reflection code that whoever inherits this code might not appreciate - although that cost might be offset by the benefits. All the lines hardcoding values into the commandMap smell almost as bad as the if block. Even better would be if the factory's constructor could scan the classpath for subclasses of Command, query them for String representations, and automatically add them them to its repertoire. So - how should I go about refactoring this? I guess some of the frameworks out there give me this kind of thing for free. Let's assume I'm not in a position to migrate this stuff into such a framework.
0
[ 2, 51, 8247, 3129, 2109, 3408, 18, 9, 184, 107, 31, 6098, 32, 60, 800, 3726, 3726, 80, 22, 18, 301, 253, 367, 18, 5166, 18, 17455, 93, 88, 48, 1797, 45, 13, 118, 2483, 504, 21, 1202, 3724, 19, 56, 14, 64, 469, 1766, 50, 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...
Fast search in java swing applications? === I'm wandering myself what component is the best for displaying fast search results in swing. I want to create something like this, make a text field where user can enter some text, during his entering I'll improve in back end fast search on database, and I want to show data bellow the text box, and he will be able to browse the results and on pres enter result will be displayed in table. So my question is is there any component which already have this logic for displaying? Or is it's not, what is the best way to implement that. This search will be something what ajax gives me on web, same logic same look and feel, if it's possible on desktop application.
0
[ 2, 1512, 2122, 19, 8247, 5587, 3767, 60, 800, 3726, 3726, 31, 22, 79, 14209, 992, 98, 5912, 25, 14, 246, 26, 17418, 1512, 2122, 1736, 19, 5587, 9, 31, 259, 20, 1600, 301, 101, 48, 15, 233, 21, 1854, 575, 113, 4155, 92, 2830, 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...
error when switching to different svn branch === I've got two SVN branches (eg development and stable) and want to switch from one to another... In every tutorial there is command like:<br/> <i>rootOfLocalSvnCopy:>svn switch urlToNewBranch .</i> But it leads in error in my case: <br/><i> svn: REPORT request failed on '/svn/rootOfLocalSvnCopy/!svn/vcc/default'<br/> svn: Cannot replace a directory from within </i> Every help that I found is about svn switch --relocate but I don't want to relocate, just to change my working copy to another branch
0
[ 2, 7019, 76, 13027, 20, 421, 13, 18, 16578, 1686, 800, 3726, 3726, 31, 22, 195, 330, 81, 13, 18, 16578, 4395, 13, 5, 5431, 522, 17, 4521, 6, 17, 259, 20, 5521, 37, 53, 20, 226, 9, 9, 9, 19, 352, 29724, 80, 25, 1202, 101, 4...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Which Reporting technology? === Which reporting technology would fit for the best situation/type of product? I am now thinking of **3** technologies: 1. Embedded Reports (Crystal Reports;MS Reporting services) 2. Server reports (MS Reporting Services) 3. OLAP Databases (MS Analysis Services) Which report technology would you use for an off the shelf product? Is it possible to have a OLAP type based reporting side of things from a off the shelf product? Which technology is best suited for historical data? I would guess here OLAP database would be quicker, but that would depend the size of the database, because I reckon you could also use Embedded Reports for historical data. Which technology would be best for custom software solutions? I like the idea of having reporting on the server where a user can go log in and run reports like with MS Reporting services. And really only have reports for stuff like invoices, bills, customer information sheet etc as Embedded reports. And also have Reporting services over an OLAP database for historical data. Unfortunelaty does management not see this layout and wants a off the shelf product, with olap reporting right inside the application with all other reports.
0
[ 2, 56, 6670, 1099, 60, 800, 3726, 3726, 56, 6670, 1099, 83, 2742, 26, 14, 246, 1858, 118, 4474, 16, 2374, 60, 31, 589, 130, 1440, 16, 13, 1409, 240, 1409, 5740, 45, 137, 9, 12138, 2813, 13, 5, 25905, 2813, 73, 79, 18, 6670, 68...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 much speed-up from converting 3D maths to SSE or other SIMD? === I am using 3D maths in my application extensively. How much speed-up can I achieve by converting my vector/matrix library to SSE, AltiVec or a similar SIMD code?
0
[ 2, 184, 212, 1362, 8, 576, 37, 19583, 203, 43, 5057, 18, 20, 13, 9557, 54, 89, 4861, 43, 60, 800, 3726, 3726, 31, 589, 568, 203, 43, 5057, 18, 19, 51, 3010, 7802, 9, 184, 212, 1362, 8, 576, 92, 31, 4689, 34, 19583, 51, 7497,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 know a good open-source version-control viewer? === I'm looking for a tool like Atlassian's [FishEye][1]. The alternatives I've found so far (like [StatCVS][2], [ViewCVS][3] or [Bonsai][4]) are either lacking in features or are quite a pain to install and maintain. So before staying with one of these tools, I'd like to be sure I did not miss any other good, easy to install, open-source (prefereably java) version control-viewer which supports cvs as scm. [1]: http://www.atlassian.com/software/fisheye/ [2]: http://statcvs.sourceforge.net/ [3]: http://www.viewvc.org/ [4]: http://www.mozilla.org/projects/bonsai/
0
[ 2, 107, 42, 143, 21, 254, 368, 8, 12097, 615, 8, 12898, 16812, 60, 800, 3726, 3726, 31, 22, 79, 699, 26, 21, 5607, 101, 11986, 10760, 22, 18, 636, 4934, 9374, 500, 2558, 165, 500, 9, 14, 2676, 18, 31, 22, 195, 216, 86, 463, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does it make sense to mix an RTOS and cyclic executive? === On a small embedded system project we have some code which we would like to run in a thread so we are electing to build in top of an embedded RTOS (eCos). Previously, we have used a cyclic executive in main() that drove tasks each implemented as a state machine. For some tasks we encountered problems where the task would need to be broken up into many fine grained states thus making the code extra complex. When switching to an RTOS we found the memory usage for each thread's stack adds up quickly if we give each separate task it's own thread. (we only have 64k and need the memory for our communications buffers) We are considering using a tread for our communications task and an other thread for a cyclic executive. The cyclic executive will drive the other logical tasks. **Does it make sense to mix an RTOS and cyclic executive like this?**
0
[ 2, 630, 32, 233, 1259, 20, 2917, 40, 761, 262, 18, 17, 13, 15888, 1452, 60, 800, 3726, 3726, 27, 21, 284, 12138, 329, 669, 95, 57, 109, 1797, 56, 95, 83, 101, 20, 485, 19, 21, 9322, 86, 95, 50, 8301, 68, 20, 1895, 19, 371, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 consume a WSDL (SOAP) web service in Python? === I want to use a WSDL SOAP based web service in Python. I have looked at the [Dive Into Python][1] code but the SOAPpy module does not work under Python 2.5. I have tried using [suds][2] which works partly, but breaks with certain types (suds.TypeNotFound: Type not found: 'item'). I have also looked at [Client][3] but this does not appear to support WSDL. And I have looked at [ZSI][4] but it looks very complex. Does anyone have any sample code for it? The WSDL is https://ws.pingdom.com/soap/PingdomAPI.wsdl and works fine with the PHP 5 SOAP client. [1]: http://diveintopython.org/soap_web_services/ [2]: https://fedorahosted.org/suds [3]: http://trac.optio.webfactional.com/wiki [4]: http://pywebsvcs.sourceforge.net/zsi.html
0
[ 2, 184, 92, 31, 16447, 21, 619, 18, 8643, 13, 5, 656, 2552, 6, 2741, 365, 19, 20059, 60, 800, 3726, 3726, 31, 259, 20, 275, 21, 619, 18, 8643, 6447, 432, 2741, 365, 19, 20059, 9, 31, 57, 292, 35, 14, 636, 43, 1284, 77, 20059...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 the error 'Client found response content type of 'text/html'.. be interpreted. === I'm using C# and connecting to a WebService via an auto-generated C# proxy object. The method I'm calling can be long running, and sometimes times out. I get different errors back, sometimes I get a System.Net.WebException or a System.Web.Services.Protocols.SoapException. These exceptions have properties I can interrogate to find the specific type of error from which I can display a human-friendly version of to the user. But sometimes I just get an InvalidOperationException, and it has the following Message. Is there any way I can interpret what this is without digging through the string for things I recognize, that feels very dirty, and isn't internationalization agnostic, the error message might come back in a different language. Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title>Request timed out.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head> <body bgcolor="white"> <span><H1>Server Error in '/PerformanceManager' Application.<hr width=100% size=1 color=silver></H1> <h2> <i>Request timed out.</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br><br> <b> Exception Details: </b>System.Web.HttpException: Request timed out.<br><br> <b>Source Error:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code> An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code> </td> </tr> </table> <br> <b>Stack Trace:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> [HttpException (0x80004005): Request timed out.] </pre></code> </td> </tr> </table> <br> <hr width=100% size=1 color=silver> <b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.833 </font> </body> </html> <!-- [HttpException]: Request timed out. --> --.
0
[ 2, 184, 92, 14, 7019, 13, 22, 150, 18513, 38, 216, 1627, 2331, 1001, 16, 13, 22, 11969, 118, 15895, 22, 9, 9, 44, 10394, 9, 800, 3726, 3726, 31, 22, 79, 568, 272, 5910, 17, 6440, 20, 21, 2741, 11449, 1197, 40, 3108, 8, 25314, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Databinding in c#? === I have the following class <pre> public class Car { public Name {get; set;} } </pre> and I want to bind this programmatically to a text box. How do I do that? Shooting in the dark: <pre> ... Car car = new Car(); TextEdit editBox = new TextEdit(); editBox.DataBinding.Add("Name", car, "Car - Name"); ... </pre> I get the following error "Cannot bind to the propery 'Name' on the target control. What am I doing wrong and how should I be doing this? I am finding the databinding concept a bit difficult to grasp coming from web-development.
0
[ 2, 184, 92, 31, 107, 1054, 22260, 19, 272, 5910, 60, 800, 3726, 3726, 31, 57, 14, 249, 718, 13, 1, 3515, 1, 317, 718, 349, 13, 1, 317, 204, 13, 1, 3060, 73, 309, 73, 1, 13, 1, 13, 1, 118, 3515, 1, 17, 31, 259, 20, 10193,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is a good reference for how calculation engines such as Excel work? === I am interested in learning how dependency-based calculation engines work in practice. Of course, I can make up my own algorithm, but I was curious if there were any well explained algorithms that are used in practice. I have tried Google, but most articles are < "good".
4
[ 2, 98, 25, 21, 254, 2801, 26, 184, 19644, 4016, 145, 28, 20700, 170, 60, 800, 3726, 3726, 31, 589, 3158, 19, 2477, 184, 26835, 8, 1281, 19644, 4016, 170, 19, 1345, 9, 16, 674, 15, 31, 92, 233, 71, 51, 258, 9083, 15, 47, 31, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best software to handle incoming SMS messages? === I have a client who wants a solution to allow delivery people to text (SMS messaging) in that they have completed a pick up at a particular location. What I'm looking for is Code to read an imbound SMS message or a SMS component if appropiate. This would allow me to create a windows service to read the message and update a SQL record accordingly.
0
[ 2, 98, 25, 14, 246, 2306, 20, 3053, 17126, 7613, 18, 7561, 60, 800, 3726, 3726, 31, 57, 21, 6819, 72, 2846, 21, 4295, 20, 1655, 6010, 148, 20, 1854, 13, 5, 18, 79, 18, 26437, 6, 19, 30, 59, 57, 1066, 21, 2036, 71, 35, 21, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Do you source control your databases? === I feel that my shop has a hole because we don't have a solid process in place for versioning our database changes. We do a lot of backups so we're more or less covered, but it's bad practice to rely on your last line of defense in this way. Surprisingly, this seems to be a common thread. Many shops I have spoken to ignore this issue because their databases don't change often, and they basically just try to be meticulous. However, I know how that story goes. It's only a matter of time before things line up just wrong and something goes missing. Are there any best practices for this? What are some strategies that have worked for you?
0
[ 2, 107, 42, 1267, 569, 154, 6018, 18, 60, 800, 3726, 3726, 31, 583, 30, 51, 2546, 63, 21, 3990, 185, 95, 221, 22, 38, 57, 21, 2941, 953, 19, 209, 26, 615, 68, 318, 6018, 1693, 9, 95, 107, 21, 865, 16, 10119, 18, 86, 95, 22...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How can I customize the syntax highlighting in Visual Studio 2005? === Is it possible to customize the syntax highlighting in Visual Studio 2005? Up to now, I found no way to do this. In eclipse for example, it's possible to setup custom highlighting.
0
[ 2, 184, 92, 31, 5816, 2952, 14, 22649, 23102, 19, 3458, 1120, 812, 60, 800, 3726, 3726, 25, 32, 938, 20, 5816, 2952, 14, 22649, 23102, 19, 3458, 1120, 812, 60, 71, 20, 130, 15, 31, 216, 90, 161, 20, 107, 48, 9, 19, 11652, 26, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
Update SQL Sever Database Schema with software update === How do you update your SQL sever database when installing your product's update? Are there any tools that will integrate with windows installer? My typical schema changes are: - Adding/removing columns - Adding/removing tables. - Adding views. - Adding/alter indexs.
0
[ 2, 11100, 4444, 255, 15114, 6018, 23874, 29, 2306, 11100, 800, 3726, 3726, 184, 107, 42, 11100, 154, 4444, 255, 15114, 6018, 76, 25429, 154, 2374, 22, 18, 11100, 60, 50, 80, 186, 4672, 30, 129, 18399, 29, 1936, 16146, 106, 60, 51, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Converting a year from 4 digit to 2 digit and back again in C# === My credit card processor requires I send a two-digit year from the credit card expiration date. Here is how I a currently processing: 1. I put a DropDownList of the 4-digit year on the page. 2. I validate the expiration date in a DateTime field to be sure that the expiration date being passed to the CC processor isn't expired. 3. I send a two-digit year to the CC processor (as required). I do this via a substring of the value from the year DDL. Is there a method out there to convert a four-digit year to a two-digit year. I am not seeing anything on the DateTime object. Or should I just keep processing it as I am?
0
[ 2, 19583, 21, 159, 37, 268, 15611, 20, 172, 15611, 17, 97, 188, 19, 272, 5910, 800, 3726, 3726, 51, 3251, 2056, 14762, 4781, 31, 2660, 21, 81, 8, 23904, 159, 37, 14, 3251, 2056, 29529, 1231, 9, 235, 25, 184, 31, 21, 871, 5511, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
memberInfo.GetValue() csharp === How to get an instance's member's values? With propertyInfos there is a propertyInfo.GetValue(instance, index), but no such thing exists in memberInfo. I searched the net, but it seems to stop at getting the member's name and type.
0
[ 2, 322, 108, 4120, 9, 3060, 15165, 5, 6, 272, 23646, 800, 3726, 3726, 184, 20, 164, 40, 4851, 22, 18, 322, 22, 18, 4070, 60, 29, 1354, 108, 4120, 18, 80, 25, 21, 1354, 108, 4120, 9, 3060, 15165, 5, 108, 384, 2416, 15, 4348, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Flex profiler gives "Socket timeout " error. Why for? === When trying to run the Flex Builder 3 profiler on any I don't get the profiler dialog window and then after a few seconds I get "Socket timeout" in the console window. Any ideas why it can't connect? I've got the latest debug version of Flash player and have tried shutting off my firewall. I'm running it on XP from the local drive, ie. not through localhost. Thanks, Alex
0
[ 2, 14409, 5296, 139, 2352, 13, 7, 18, 5668, 1198, 85, 1320, 13, 7, 7019, 9, 483, 26, 60, 800, 3726, 3726, 76, 749, 20, 485, 14, 14409, 14960, 203, 5296, 139, 27, 186, 31, 221, 22, 38, 164, 14, 5296, 139, 28223, 1463, 17, 94, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I get a list of installed CPAN modules? === Aside from trying perldoc <module name> individually for any CPAN module that takes my fancy or going through the file system and looking at the directories I have no idea what modules we have installed. What's the easiest way to just get a big list of every CPAN module installed? From the command line or otherwise.
0
[ 2, 184, 107, 31, 164, 21, 968, 16, 4066, 272, 3206, 17113, 60, 800, 3726, 3726, 3841, 37, 749, 416, 255, 13799, 13, 1, 19673, 62, 204, 1, 16579, 26, 186, 272, 3206, 12613, 30, 1384, 51, 12251, 54, 228, 120, 14, 3893, 329, 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...