text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
before? **Edit:** I've created a solution per project, like MyCompany.Windows.Controls, which then contains 2 projects, MyCompany.Windows.Controls & MyCompany.Windows.Controls.Silverlight. Alongside those 2 folders I have a "Shared" folder, which contains files used by both projects. It works well so far :) I haven't ...
[ 0.3404400050640106, -0.20848706364631653, 0.31234443187713623, 0.17235153913497925, -0.016866954043507576, -0.036374520510435104, 0.12687385082244873, -0.05874570831656456, -0.3089752197265625, -0.8256372809410095, 0.35485586524009705, 0.36235931515693665, -0.18165093660354614, 0.101462990...
I've been using this in my multi-targetted composite application with the PRISM 2.0 CAL and it's a beautiful thing. I don't think this existed in PRISM 1.0?
[ 0.6623506546020508, -0.08989838510751724, 0.15040075778961182, 0.28649646043777466, -0.23504601418972015, -0.07247031480073929, -0.06532672047615051, -0.05207713693380356, -0.16405180096626282, -0.726617693901062, 0.5422378778457642, 0.31050094962120056, -0.24917152523994446, 0.23414175212...
We've currently got four web servers in a farm generating IIS web logs about 100Mb per day. These can be compressed pretty effieciently down to somewhere around 5% of their size. We are planning to use waRmZip to move them off the servers and onto a SAN. After a week or so we can be confident we don't have any technic...
[ 0.6430327892303467, -0.01268310658633709, 0.6034741401672363, 0.29187947511672974, 0.21901340782642365, -0.11605437099933624, 0.27071520686149597, 0.04801841825246811, -0.36112406849861145, -0.5458829998970032, 0.13729718327522278, 0.014053218066692352, 0.08682329952716827, 0.1434480696916...
country, how much you're logging, and quite possibly the nature of your business. Talk to your company's lawyers - legal advice on SO is likely to be worth what you pay for it. If you're only storing 5MB per day, you should be able to store them for basically as long as you want without worrying on the *technical* fro...
[ 1.0018044710159302, 0.19236640632152557, 0.1491573303937912, 0.39962559938430786, 0.4418410062789917, -0.04453200474381447, 0.3704899549484253, 0.27531203627586365, -0.7481744885444641, 0.1116166040301323, 0.19459268450737, 0.40092703700065613, 0.14492514729499817, -0.28972354531288147, ...
I have a checkbox list control on my asp.net web form that I am dynamically populating from an arraylist. In javascript I want to be able to iterate through the values in the list and if a particular value has been selected to display other controls on the page. My issue is that all the values in the checkbox list ar...
[ 0.22188635170459747, -0.0997985228896141, 0.3700830638408661, -0.09963662922382355, 0.16398639976978302, 0.13622771203517914, 0.3054104149341583, -0.17941498756408691, -0.23850813508033752, -0.8751601576805115, -0.12229831516742706, 0.44313177466392517, -0.39215850830078125, -0.12055242061...
{ if(options[i].value=="Other") { if(options[i].checked) { var otherPub=document.getElementById('<%=alsOtherPublicity.ClientID%>'); otherPub.style.display='block'; }
[ 0.00975715834647417, -0.4465020000934601, 0.2857775092124939, -0.36847543716430664, 0.5728408098220825, 0.07941850274801254, 0.19949857890605927, -0.1329963207244873, -0.25059711933135986, -0.3112768530845642, -0.3222011923789978, 0.5216476321220398, -0.22042728960514069, 0.022869030013680...
} } ``` **Edit:** The line that I'm having problems with is if(options[i].value=="Other") as the values showing up in firebug are given as 'on' rather than the values that I set. **Edit 2:** The html that is produces looks like: ``` <span id="ctl00_ContentPlaceHolderMetadata_Allocation1_alfPublicity" class="u...
[ -0.3771854639053345, 0.32837894558906555, 0.6082676649093628, -0.23973284661769867, -0.2934153378009796, 0.35100099444389343, 0.0369250513613224, -0.7502553462982178, -0.07394196093082428, -0.6137542724609375, -0.36457544565200806, 0.7488901019096375, -0.4735395014286041, -0.18424813449382...
<input id="ctl00_ContentPlaceHolderMetadata_Allocation1_alfPublicity_4" type="checkbox" name="ctl00$ContentPlaceHolderMetadata$Allocation1$alfPublicity$4"/> <label for="ctl00_ContentPlaceHolderMetadata_Allocation1_alfPublicity_4">Text5</label> </span> ``` It looks as if the issue stems from the lack of a value attr...
[ -0.014102483168244362, -0.02409902587532997, 0.4060738980770111, -0.10601324588060379, -0.30126550793647766, 0.19139033555984497, 0.02774413861334324, -0.49929144978523254, -0.45060572028160095, -0.46688777208328247, -0.03278915584087372, 0.5782231092453003, -0.46508362889289856, -0.037637...
the value that I needed and then used that position on the list of checkboxes. It sounds a bit fiddly and I don't know if it would work for everyone but I thought I would put it up here anyway incase it helps someone else someday. Thanks for all your help.
[ 0.48595184087753296, -0.02320125885307789, -0.04141933098435402, 0.44054362177848816, 0.23232831060886383, 0.12835223972797394, 0.05379635840654373, 0.573447048664093, 0.3155638873577118, -0.2043716013431549, 0.7972638010978699, 0.3714246451854706, 0.24512074887752533, -0.02709323540329933...
I'm using a web service that returns a dataset. in this dataset there are 5 table, let's say table A, B, C, D, E. I use table A. So ``` DataTable dt = new DataTable() dt = dataset.Table["A"] ``` Now in this datatable there are columns a1,a2,a3,a4,a5,a6,a7. Let's say I only want to get columns a3 and a4 then bind ...
[ 0.12756338715553284, 0.3036952316761017, 0.3500995635986328, -0.19955548644065857, -0.25139692425727844, 0.3241954743862152, 0.1528594195842743, -0.43767160177230835, -0.2372252345085144, -0.5925535559654236, 0.030899278819561005, 0.23122313618659973, -0.3962559700012207, 0.283859044313430...
I have a dev and a UAT environments. Dev is in our place, UAT is in client's place. Our DEV machine is a XEON 4 core @2,33GHz, 4Go RAM with Windows server 2003 The UAT physical machine is quite the same but a virtual machine is used (under VMWare). I don't know the exact parameters used for this VM. The problem is ...
[ 0.26983514428138733, 0.2400117963552475, 0.24654969573020935, 0.20431306958198547, -0.25432583689689636, -0.19680966436862946, 0.3665805160999298, -0.17930100858211517, 0.018040746450424194, -0.7367143630981445, 0.16717758774757385, 0.9520136117935181, -0.14987944066524506, 0.1474483758211...
slow. The database is quite small (6 GB). Opening any other application on that server works well. So we think there is a problem with the sql server instance and I must investigate to find the reason. Here is what I checked : * server configuration is similar to the one we have on DEV. * there is enough space on d...
[ -0.3104330003261566, 0.049680616706609726, 0.49389129877090454, 0.2631402313709259, 0.101267009973526, -0.007369690109044313, 0.33537906408309937, 0.15458977222442627, -0.5456677675247192, -0.6453320384025574, -0.009614214301109314, 0.5777689814567566, -0.06471063196659088, 0.0577406547963...
(I only have access to a small part) : > 2008-10-14 19:16:54.84 spid55 > > Autogrow of file 'xxxxx\_log' in > database 'xxxxxx' was cancelled by > user or timed out after 6766 > milliseconds. Use ALTER DATABASE to > set a smaller FILEGROWTH value for > this file or to explicitly set a new > file size. As th...
[ -0.17577239871025085, 0.34520548582077026, 0.5630682110786438, 0.2614281475543976, -0.014501606114208698, -0.08175039291381836, 0.6762376427650452, -0.046110719442367554, -0.42391470074653625, -0.5236951112747192, -0.00008938599785324186, 0.48207494616508484, 0.06886661797761917, 0.5177298...
any suggestion, I'd love to hear it. Thanks ! --- **Update 1 :** SQL Server Recovery model : FULL The database is new so so far we didn't performed any backup. I don't know the log file size, I'll check that. **Update 2 :** The Management Studio problem is solved. It's caused by the fact that there is ...
[ 0.015089272521436214, 0.06591873615980148, 0.3332807719707489, 0.2273370921611786, -0.07523567974567413, -0.2500164806842804, 0.36349838972091675, 0.06955765932798386, -0.4507569372653961, -0.6061307787895203, -0.021973581984639168, 0.6178004741668701, 0.18857845664024353, 0.26202100515365...
like this: ``` (function($) { $.fn.myPlugin = function() { return this.each(function(){ //Plugin Code Goes Here $(this).bind("pluginEdit",function(){ internalEditFunction(); });
[ 0.08312016725540161, -0.094700887799263, 0.5800407528877258, -0.5126066207885742, 0.29076945781707764, -0.0486593134701252, 0.33081361651420593, -0.23909902572631836, 0.10270510613918304, -0.6381359696388245, -0.2988600432872772, 0.666646420955658, -0.6244775652885437, 0.4231411814689636, ...
}); }; })(jQuery); ``` Then you can just ``` $(selector).trigger("pluginEdit"); ```
[ 0.16175395250320435, -0.25215014815330505, 0.5340191125869751, -0.39439550042152405, 0.37678608298301697, -0.2204367071390152, 0.12049529701471329, -0.2830251157283783, -0.08457326143980026, -0.410427987575531, -0.27876970171928406, 0.8270779848098755, -0.5355949401855469, 0.38616964221000...
I need a solution to catalog a number of applications in our company (more than 100 less than 1000). Right now we are using a spreadsheet and for each app we fill in name, short description, contact person and maintainer (internal or vendor). The puspose is to use this list for IT planning and incident management (im...
[ 0.27870479226112366, 0.2906869053840637, 0.4879058003425598, 0.03773270547389984, 0.23849350214004517, 0.1439887136220932, -0.10556957870721817, 0.050479866564273834, -0.20042510330677032, -0.42384693026542664, -0.047741860151290894, 0.19550742208957672, -0.2813693583011627, -0.03026608191...
each entry. We will NOT want to discover all deployed instances of the applications, manage configuration settings, integrate monitoring have complex security settings and get burried in meta-meta-schemata. Anything that requires a dedicated administrator is already too heavy. We have the following non-functional re...
[ 0.3939853608608246, 0.12576152384281158, 0.5198129415512085, 0.368818998336792, 0.11481286585330963, -0.0429670587182045, 0.04073069617152214, -0.41127005219459534, -0.2806834578514099, -0.9038463830947876, -0.10099450498819351, 0.25736740231513977, -0.28019505739212036, 0.0621301457285881...
tagging, hierarchy, metadata and links. The only concern is that a wiki is too freeform and it may be difficult to extract the information should we decide to migrate to another system. * DabbleDB.com - has everything we need, but unfortunately the data should not leave the firewall. * OneCMDB.org - I am not sure how e...
[ 0.47677016258239746, -0.027755260467529297, 0.3689526915550232, 0.25706321001052856, -0.11220621317625046, -0.3293822109699249, 0.3226889967918396, 0.043248262256383896, -0.46480557322502136, -0.7583808898925781, -0.03708934038877487, 0.2206447422504425, -0.21063514053821564, -0.1187197789...
offer a lot of the facilities we need (attributes, labels, versions, lifecycles). * BMC Atrium - complex, corporate politics would require a number of unnecesarry procedures. Unless it offers some huge benefit, we'd rather stick with opensource. I'm interested on feedback/ideas from people that have successfully gone ...
[ 0.6054746508598328, 0.09651289135217667, 0.308005690574646, 0.28553521633148193, 0.2307220697402954, -0.2878934442996979, -0.05787797272205353, -0.06671709567308426, 0.017835179343819618, -0.6720359325408936, -0.07233243435621262, 0.310283899307251, 0.4045259952545166, -0.08495928347110748...
application. Any good web-app framework will have pleasant data mapping for this simple set of data. It's a good skill-builder. It can be a good Proof of Concept for introducing a new web application framework into an organization. --- It's hard to avoid "infrastructure" issues. A purpose-built asset management too...
[ 0.3576661944389343, 0.31852051615715027, 0.06812040507793427, 0.139926940202713, 0.5003288388252258, -0.14583580195903778, -0.11027948558330536, -0.32222312688827515, -0.2895570695400238, -0.5249579548835754, -0.09444557130336761, 0.7516627907752991, -0.16928315162658691, -0.34296801686286...
to guess that perhaps your 100's to 1000's of apps are a mixture of desktop software and web apps built with no consistent easy-to-live-with framework. I'm a python bigot, so I'm not familiar with any of the web frameworks you've suggested. The most important source of technical direction should be the folks that buil...
[ 0.7831783890724182, 0.37239712476730347, -0.11404004693031311, 0.35443761944770813, 0.24192015826702118, 0.3911837637424469, -0.027303090319037437, 0.3405470848083496, -0.3007882535457611, -0.48612919449806213, 0.2610771954059601, 0.5390372276306152, -0.29359710216522217, 0.010266880504786...
in the village with bare feet. You want your simple little asset management app (it only has 3 tables) to be built with the set of tools preferred by your organization. --- Okay, with 10% java and 50% vendor systems, there's no "preferred" web app framework. Choice 1: Pick a Java-based reasonably complete framework...
[ 0.4783603549003601, -0.13826239109039307, -0.0234918724745512, 0.0677926316857338, -0.2022503763437271, 0.3763309419155121, 0.6028937101364136, -0.5468281507492065, -0.06006159633398056, -0.7265973687171936, 0.04035342484712601, 0.3842417597770691, -0.017773181200027466, -0.491710096597671...
minimal set of tables. Write a minimal loader from your spreadsheet to your tables. Then delete the spreadsheet and never look back. Choice 2: Learn Python. Use Django. You define the minimal model and use the Django admin interface. You're pretty much done in about 20 minutes. Seriously. Then write the minimal load...
[ 0.015891173854470253, 0.1292208582162857, 0.12669895589351654, 0.06327708065509796, -0.0020301572512835264, -0.23444309830665588, 0.4318868815898895, 0.05566665157675743, -0.3458157777786255, -0.9403493404388428, -0.030346518382430077, 0.8723794221878052, 0.06057843565940857, -0.4470186531...
download to a spreadsheet. Make the app easy to add, change and modify. Once you can manage the chaos, you get seek forgiveness. You can never justify this -- you can't prove any ROI on being organized.
[ 0.38122400641441345, -0.1914776712656021, 0.13951750099658966, 0.8032957315444946, -0.05086090415716171, -0.22813542187213898, 0.4210582971572876, 0.07033804804086685, -0.4491977393627167, -0.6480098962783813, -0.12388341128826141, 0.5183855891227722, -0.4934700131416321, 0.035349730402231...
How can I tell if an App is ASP.NET 2.0 or ASP.NET 1.1. This is in C# I don't have the source code and I don't have access to IIS Manager. But I can ftp and check the ASPX files. Any Ideas? if you can get an error message to show it will tell you at the bottom of the page what version of the framework is in use. or, ...
[ 0.4215620458126068, 0.2578928768634796, 0.539889931678772, -0.03133641555905342, 0.15781690180301666, -0.024015851318836212, 0.4653378129005432, -0.4222039580345154, 0.011581946164369583, -1.0040616989135742, -0.016839973628520966, 0.633938193321228, -0.49139612913131714, -0.22352123260498...
Response.Write(System.Environment.Version); } </script> ``` this was just typed in, there could be syntax or other code errors.
[ -0.12572242319583893, -0.08034531772136688, 0.3971814513206482, -0.3341311812400818, -0.20806021988391876, 0.029016686603426933, 0.5164633989334106, -0.06951834261417389, -0.036250218749046326, -0.7316552996635437, -0.21707697212696075, 0.5388332605361938, -0.46309593319892883, 0.029969247...
I am trying to use JMockit's code coverage abilities. Using the JVM parameter ``` -javaagent:jmockit.jar=coverage=.*MyClass.java:html:: ``` I am able to run my tests (jmockit.jar and coverage.jar are on the classpath), unfortunately my log file says: ``` Loaded external tool: mockit.coverage.CodeCoverage=.*MyClass....
[ 0.3859807252883911, 0.3729393780231476, 0.20021307468414307, -0.18662315607070923, -0.11977793276309967, -0.04924483969807625, 0.7390602231025696, -0.31147122383117676, -0.13624179363250732, -0.8032703995704651, 0.11850812286138535, 0.5402345061302185, -0.05161305516958237, -0.092698901891...
was running the test with JUnit 3, but the coverage needs JUnit 4. That fixed things, and I didn't have to add any bootstrap entries. I was running the test with JUnit 3, but the coverage needs JUnit 4. That fixed things, and I didn't have to add any bootstrap entries.
[ 0.17129665613174438, 0.2585749924182892, 0.18710783123970032, -0.1955927610397339, -0.08015148341655731, 0.03281298279762268, 0.45236751437187195, -0.28638002276420593, -0.040202368050813675, -0.694004476070404, -0.00719906110316515, 0.5229408144950867, -0.3737668991088867, -0.422924548387...
We need to write unit tests for a *wxWidgets* application using *Google Test Framework*. The problem is that *wxWidgets* uses the macro **IMPLEMENT\_APP(MyApp)** to initialize and enter the application main loop. This macro creates several functions including **int main()**. The google test framework also uses macro de...
[ 0.4035916328430176, 0.11746160686016083, 0.3747048079967499, -0.08276989310979843, 0.09360227733850479, 0.31242185831069946, 0.29192444682121277, -0.4233100116252899, -0.014681759290397167, -0.6948961615562439, 0.02612125128507614, 0.5242007970809937, -0.49592408537864685, 0.01675768010318...
enters the original application loop. If we don't call wxEntry() there are still some parts of the application not initialized. The question is how to initialize everything required for a wxApp to run, without actually running it, so we are able to unit test portions of it? You want to use the function: ``` bool wxEn...
[ 0.09601940214633942, -0.06685268133878708, 0.4765108823776245, -0.10262300819158554, 0.36097192764282227, 0.07624871283769608, 0.23333297669887543, -0.29863008856773376, 0.12681634724140167, -0.5881054401397705, -0.22569793462753296, 0.5226332545280457, -0.4714307487010956, 0.0293047577142...
When importing forms in access using loadfromtext, I continually get a runtime error 2285. Searching the internet shows many people with the same problem, yet no solutions. Does anyone know what causes this bug? **Edit:** In addition a file called 'errors.txt' is created in the folder containing the database. **Edit:...
[ 0.20032723248004913, 0.3346211910247803, 0.3796726167201996, 0.172411248087883, 0.11561907827854156, -0.06806779652833939, 0.4828612804412842, 0.2629290819168091, -0.4493504464626312, -0.9305534958839417, 0.19726860523223877, 0.5753876566886902, -0.31437361240386963, 0.34585538506507874, ...
in the vba code. If you experience the same error, try a cold reboot, wait a while and hopefully you the problem goes away. If you could list the specific circumstances under which the error occured maybe the bug can eventually be found. Finally in related news: At <http://www.mvps.org/access/modules/mdl0045.htm> an ...
[ 0.2766171097755432, 0.06307188421487808, -0.12075284868478775, 0.3954923450946808, -0.11816118657588959, -0.07929196208715439, 0.4689701199531555, 0.26034221053123474, -0.6624706983566284, -0.7606525421142578, -0.05144006758928299, 0.5025067329406738, -0.26258885860443115, 0.12367010861635...
eventual solution. --- My version is Office Access 2003(11.8166.8221) SP3 --- Yep I'm using a new database. I'm trying to set up a system where you have all form definitions as text files so that they can be version controlled, and that there is a clean database that is 'compiled' based on these text representation...
[ -0.31828001141548157, 0.4050525426864624, 0.9658637046813965, 0.11273355036973953, 0.1897653192281723, -0.01049600075930357, 0.15006232261657715, -0.10771737992763519, -0.2388291358947754, -0.7304700613021851, -0.14265240728855133, 0.7224547863006592, -0.1765848994255066, 0.015339745208621...
can be found here: <http://support.microsoft.com/kb/927680> "This issue occurs if the Access default file type differs from the file type for the Access database that is in the Visual SourceSafe project." In other words: The default file type found in "Tools -> Options -> Advanced -> Default file format" is different ...
[ 0.21480682492256165, 0.11466388404369354, 0.22399453818798065, 0.19805863499641418, 0.25685179233551025, -0.26737749576568604, 0.013378350995481014, 0.10340917110443115, -0.0073272837325930595, -0.7034205198287964, -0.31913018226623535, 0.6380001306533813, 0.03616173565387726, 0.2805494666...
Are C# enums typesafe? If not what are the implications? To give a slightly different answer... while the values are type-safe from the casting perspective, they are still unchecked once they have been cast - i.e. ``` enum Foo { A = 1, B = 2, C = 3 } static void Main() { Foo foo = (Foo)500; // works fine ...
[ 0.22160476446151733, 0.11673571914434433, 0.2794899642467499, -0.052294496446847916, 0.3361968696117401, -0.06726023554801941, 0.14705440402030945, -0.6064603328704834, -0.08821742981672287, -0.45901942253112793, -0.12839964032173157, 0.7440834641456604, -0.03759940713644028, 0.09009016305...
non-`[Flags]` values) via: ``` bool isValid = Enum.IsDefined(typeof(Foo), foo); ```
[ -0.207637757062912, 0.01814614050090313, 0.3838217258453369, -0.3540237843990326, 0.2100091129541397, -0.20755362510681152, 0.3901386857032776, -0.40028586983680725, 0.0536184199154377, -0.48120591044425964, -0.25389590859413147, 0.4765980541706085, -0.49748608469963074, 0.2119126319885254...
I am adding a context menu using `QAction` for a widget. Now, there is some white space beside the text of the action. I assume this is the space where the `QIcon` association with the `QAction` should have been there. Now how do I hide this space. I tried doing: ``` action->setIcon(QIcon()); ``` but still does not ...
[ 0.3377957046031952, -0.03840873762965202, 0.3649062514305115, -0.0086620869114995, -0.07141080498695374, 0.06795533001422882, 0.08430362492799759, -0.0991932824254036, -0.09986932575702667, -0.6362003087997437, -0.19431838393211365, 0.6250196695327759, -0.3585013151168823, -0.0954137369990...
What issues or refactoring did you have to do when you upgraded from ASP.NET MVC Preview 5 to the newly released [Beta](http://www.microsoft.com/downloads/details.aspx?familyid=a24d1e00-cd35-4f66-baa0-2362bdde0766&displaylang=en&tm) version? I'm about to do this myself. Here's the list of changes from the readme: Chan...
[ 0.2605822682380676, -0.3773878812789917, 0.47796568274497986, -0.15789979696273804, -0.3491050899028778, 0.010972468182444572, 0.4374193549156189, -0.20180092751979828, -0.3442862629890442, -0.538422167301178, 0.03627150505781174, 0.3563658595085144, -0.47210195660591125, -0.00072490022284...
can create custom attributes that participate in action selection by name. * Added a new ReleaseView method to IViewEngine that allows custom view engines to be notified when a view is done rendering. This is useful for cleanup or for view-pooling scenarios. * Renamed the ControllerBuilder method DisposeController to R...
[ 0.30658701062202454, -0.5746684670448303, 0.5374437570571899, 0.06411614269018173, -0.43678018450737, 0.017019640654325485, 0.21916858851909637, -0.21831271052360535, -0.4445202350616455, -0.63227778673172, -0.22089332342147827, 0.3895297050476074, -0.24969731271266937, 0.35013043880462646...
the namespaces section of the Web.config file: `<add namespace="System.Web.Mvc.Html"/>` This makes it possible for you to completely replace our helper methods with your own. * Changed the default model binder (DefaultModelBinder) to handle complex types. The IModelBinder interface has also been changed to accept a sin...
[ -0.3325965106487274, -0.14147774875164032, 0.7285597324371338, 0.036004334688186646, -0.5348452925682068, 0.23152633011341095, 0.5627248883247375, -0.3571479320526123, -0.1373865157365799, -0.7146010994911194, -0.26053476333618164, 0.4866800606250763, -0.4222717583179474, 0.040326744318008...
retains the constructor that accepts an array of strings as a parameter. For example, the following snippet shows an action method that can respond to both POST and PUT requests. ``` [AcceptVerbs(HttpVerbs.Post | HttpVerbs.Put)] public ActionResult Update() {... } ``` * Modified the RadioButton helper method to en...
[ 0.08012072741985321, -0.2914024591445923, 0.49078431725502014, -0.2209712713956833, 0.06624627858400345, 0.11835860460996628, 0.4301563501358032, -0.5725824236869812, -0.33713456988334656, -0.4756675660610199, -0.20543108880519867, 0.7536535859107971, -0.30308040976524353, 0.15453940629959...
class to report validation errors. * Changed action-method selection. If two action methods match a request, but only one of those has an attribute that derives from ActionMethodSelectorAttribute that matches the request, that action is invoked. In earlier releases, this scenario resulted in an exception. For example,...
[ -0.22325749695301056, -0.7125036716461182, 0.24069130420684814, -0.02819954976439476, -0.2536103129386902, -0.004216702189296484, 0.2836395502090454, -0.26651033759117126, -0.08244399726390839, -0.5767045617103577, -0.17876936495304108, 0.43468478322029114, -0.4784992039203644, 0.122093498...
is given to the method that matches the current request via the AcceptVerb attribute. In this example, the first method will handle any non-POST requests for the Edit action. * Added an overload for the ViewDataDictionary.Eval method that accepts a format string. * Removed the ViewName property from the ViewContext c...
[ -0.15908478200435638, -0.3776765465736389, 0.8299128413200378, -0.05121180787682533, -0.22601914405822754, 0.1528725028038025, 0.0850171446800232, -0.3558277189731598, -0.15916487574577332, -0.48136329650878906, -0.11201658844947815, 0.5729085803031921, -0.37197765707969666, 0.345646768808...
I came across the function [InterlockedExchange](http://msdn.microsoft.com/en-us/library/ms683590(VS.85).aspx "MSDN Link") and was wondering when I should use this function. In my opinion, setting a 32 Bit value on an x86 processor should always be atomic? In the case where I want to use the function, the new value...
[ 0.08863290399312973, 0.05287884548306465, 0.10335540771484375, 0.1508481204509735, 0.09987442195415497, 0.006046292372047901, 0.05821630731225014, -0.0838015004992485, -0.41229864954948425, -0.1222510039806366, 0.10026360303163528, 0.4015381634235382, -0.45525839924812317, 0.04456837102770...
of the system memory is. Thread synchronization mechanisms take care of synchronizing between cores, for more information look at <http://blogs.msdn.com/oldnewthing/archive/2008/10/03/8969397.aspx> or google for acquire and release semantics
[ -0.040316835045814514, 0.12781590223312378, 0.24929821491241455, 0.39672425389289856, 0.12545868754386902, 0.28198787569999695, 0.2586824595928192, 0.11793772876262665, -0.25093287229537964, -0.5713571310043335, -0.26065823435783386, 0.17010590434074402, -0.20248866081237793, 0.34893387556...
Is it possible to search every field of every table for a particular value in Oracle? There are hundreds of tables with thousands of rows in some tables so I know this could take a very long time to query. But the only thing I know is that a value for the field I would like to query against is `1/22/2008P09RR8`. < I'...
[ 0.2423393726348877, 0.5262706279754639, 0.01449609361588955, -0.05877317115664482, -0.16145212948322296, 0.1286475509405136, 0.037464022636413574, 0.011257254518568516, -0.1121521070599556, -0.31959524750709534, 0.28894951939582825, 0.39984583854675293, -0.23513908684253693, 0.430654644966...
have no idea where this field is being pulled from. Any thoughts? Quote: > I've tried using this statement below > to find an appropriate column based on > what I think it should be named but it > returned no results.\* > > > > ``` > SELECT * from dba_objects WHERE > object_name like '%DTN%' > > ``` A column ...
[ 0.12963569164276123, 0.14870460331439972, 0.3301337957382202, -0.11610537767410278, -0.2953842878341675, 0.06028950214385986, 0.14137384295463562, 0.02617785520851612, -0.04314239323139191, -0.5139859318733215, -0.1517471969127655, 0.5398597717285156, -0.507139265537262, 0.2447216957807541...
way, how certain are you that '1/22/2008P09RR8' is a value selected directly from a single column? If you don't know at all where it is coming from, it could be a concatenation of several columns, or the result of some function, or a value sitting in a nested table object. So you might be on a wild goose chase trying t...
[ 0.2046547532081604, -0.009292840026319027, 0.11555558443069458, 0.3261103332042694, -0.07736887037754059, -0.14509420096874237, -0.1501035988330841, -0.10021093487739563, -0.23745962977409363, -0.3003551959991455, 0.3361760675907135, 0.355055570602417, -0.2909981310367584, 0.32277008891105...
queries to check every column of every table for the value. You can also do similar stuff entirely in one SQL session using a PL/SQL block and dynamic SQL. Here's some hastily-written code for that: ``` SET SERVEROUTPUT ON SIZE 100000 DECLARE match_count INTEGER; BEGIN FOR t IN (SELECT owner, ...
[ 0.031041419133543968, 0.009092776104807854, 0.5408010482788086, -0.05113823339343071, -0.12564432621002197, 0.06442952156066895, 0.22173930704593658, -0.36200037598609924, -0.10435757040977478, -0.5298589468002319, 0.18067273497581482, 0.5713759660720825, -0.5520135164260864, 0.23621036112...
WHERE owner <> 'SYS' and data_type LIKE '%CHAR%') LOOP EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM ' || t.owner || '.' || t.table_name || ' WHERE '||t.column_name||' = :1' INTO match_count USING '1/22/2008P09RR8'; IF match_count > 0 THEN
[ -0.2366785705089569, -0.2227359563112259, 0.4079970419406891, -0.42005500197410583, 0.21796965599060059, 0.1227136179804802, 0.22395563125610352, -0.5218430757522583, 0.0839429423213005, -0.3575127422809601, -0.36896681785583496, 0.3488691747188568, -0.4593210518360138, 0.16439373791217804...
dbms_output.put_line( t.table_name ||' '||t.column_name||' '||match_count ); END IF; END LOOP; END; / ``` There are some ways you could make it more efficient too. In this case, given the value you are looking for, you can clearly eliminate any column that is of NUMBER or DATE type, which wou...
[ -0.014269093051552773, -0.2631129324436188, 0.1756822019815445, -0.09668374806642532, -0.2333979308605194, 0.009934620000422001, 0.19859960675239563, -0.3489241302013397, 0.04533737152814865, -0.6980140209197998, -0.13852962851524353, 0.11337050050497055, -0.5463453531265259, 0.39957791566...
column1 = 'value' OR column2 = 'value' OR column3 = 'value' ... ; ```
[ -0.44454821944236755, 0.1304343193769455, 0.5544102787971497, -0.22806692123413086, -0.13374310731887817, 0.2551707327365875, -0.05230138823390007, -0.19271263480186462, -0.15115877985954285, -0.1910112500190735, -0.2885512113571167, 0.04366429150104523, -0.4831176996231079, 0.110132351517...
Is there a way to create register a handler that will be called exactly at the time when the last reference to a certain object is released? An example would be an object that is backed by a physical data file and once the object become unreferenced, the file should be closed and than renamed. It would be nice if this...
[ 0.2711406648159027, -0.12104466557502747, 0.435709148645401, 0.30967438220977783, -0.09241298586130142, -0.33761924505233765, 0.3097705841064453, 0.02149311639368534, -0.3422779142856598, -0.3843046724796295, -0.1738080084323883, 0.40524423122406006, -0.1983717381954193, 0.3364841341972351...
gurantee as to when this will happen... In short, **no.** The Java specification explicitly denies you the ability to know when the last reference is released. JVM implementations (and optimizations) depend on this. There is no hook.
[ 0.2922405004501343, -0.1108952984213829, 0.4306943416595459, -0.2695920765399933, 0.10092854499816895, -0.4854310154914856, -0.07235987484455109, -0.12127214670181274, 0.005344634409993887, -0.051777034997940063, -0.23532909154891968, 0.5849448442459106, -0.19990171492099762, 0.18276691436...
I have a [`draggable`](https://jqueryui.com/draggable/) with a custom [`helper`](http://api.jqueryui.com/draggable/#option-helper). Sometimes the helper is a clone and sometimes it is the original element. The problem is that when the helper is the original element and is **not** dropped on a valid droppable it gets ...
[ 0.10878108441829681, -0.16193874180316925, 0.8355323672294617, -0.16581155359745026, 0.08307193219661713, 0.05189026892185211, 0.11048738658428192, 0.046098798513412476, 0.04715553671121597, -0.37815138697624207, -0.17828775942325592, 0.7350292801856995, -0.4853760898113251, 0.222848877310...
/* what do I do here? */ } }, ``` Is this even the right approach? Ok, I found a solution! It's ugly and it breaks the 'rules of encapsulation,' but at least it does the job. Remember **this is just for special cases**! jQuery can handle its own helper removal just fine. In my case I had a helper that w...
[ -0.01903213933110237, -0.07420933246612549, 0.581878662109375, 0.13852624595165253, 0.11879918724298477, -0.0781630128622055, 0.17752757668495178, 0.03735506162047386, -0.15483427047729492, -0.37287530303001404, -0.3359683156013489, 0.46716704964637756, -0.2886822819709778, 0.0957144349813...
: function(e, ui) { /* "dropped_on_droppable" is custom and set in my custom drop method ".moved_draggable" is custom and set in my custom drag method, to differentiate between the two types of draggables */
[ 0.12958578765392303, -0.3630247712135315, 0.7509059906005859, -0.09204726666212082, -0.024934357032179832, 0.5094806551933289, -0.33276140689849854, -0.1163935586810112, -0.30099254846572876, -0.26981908082962036, -0.23496529459953308, 0.3544200658798218, -0.4215863347053528, -0.0115714864...
if (!ui.helper.dropped_on_droppable & ui.helper.hasClass('moved_draggable')) { /* this is the big hack that breaks encapsulation */ $.ui.ddmanager.current.cancelHelperRemoval = true; } }, ``` Warning: this breaks encapsulation and may not be forwards compatible --------------------...
[ -0.14060337841510773, -0.16256436705589294, 0.6023319959640503, -0.09696431457996368, 0.21910855174064636, -0.2713097333908081, 0.3748783469200134, 0.052694011479616165, -0.16456274688243866, -0.4792153537273407, -0.29319924116134644, 0.43694326281547546, -0.2433439940214157, 0.17384932935...
I have seen the following code: ``` [DefaultValue(100)] [Description("Some descriptive field here")] public int MyProperty{...} ``` The functionality from the above snippit seems clear enough, I have no idea as to how I can use it to do useful things. Im not even sure as to what name to give it! Does anyone know w...
[ 0.13551318645477295, 0.18789802491664886, 0.3804357349872589, 0.14894108474254608, -0.062495291233062744, -0.21690958738327026, 0.2001015543937683, 0.04026516154408455, -0.14124839007854462, -0.650551438331604, -0.2113191783428192, 0.7845745086669922, 0.1820163130760193, 0.1228076815605163...
treatment by the compiler - for example, `[PrincipalPermission(...)]` adds declarative security to a method, allowing you to (automatically) check that the user has suitable access. To add your own special handling, you can use [PostSharp](http://www.postsharp.org/); there are many great examples of using PostSharp to...
[ 0.08519698679447174, -0.15624651312828064, 0.060087088495492935, 0.2991187870502472, -0.10465127229690552, -0.24510130286216736, 0.3418240249156952, -0.38649725914001465, -0.29474908113479614, -0.37367570400238037, -0.43748971819877625, 0.4507482945919037, -0.26087290048599243, -0.12918204...
I've begun to the the built-in TraceSource and TraceListener classes and I would like to modify the output format of the events independently of the TraceSources and TraceListeners. It seems that the TraceListeners apply their own formatting. Is it possible to completely change the formatting without creating a new cla...
[ 0.48270803689956665, -0.1314116269350052, 0.19599860906600952, 0.08087889850139618, 0.23218496143817902, -0.27282199263572693, -0.018507540225982666, -0.09869176149368286, -0.2687571048736572, -0.522530734539032, 0.1167464628815651, 0.31967297196388245, -0.3874516189098358, -0.295549541711...
app.config).
[ -0.2982806861400604, 0.07112305611371994, 0.6732838153839111, 0.02946140058338642, 0.32224440574645996, 0.2846778929233551, 0.036961931735277176, -0.35094690322875977, -0.062312349677085876, -0.6244072914123535, -0.5070861577987671, 0.5529773831367493, -0.4778619110584259, 0.04532820731401...
Let's have the following class definition: ``` CThread::CThread () { this->hThread = NULL; this->hThreadId = 0; this->hMainThread = ::GetCurrentThread (); this->hMainThreadId = ::GetCurrentThreadId (); this->Timeout = 2000; //milliseconds } CThread::~CThread () { //waitin...
[ 0.08872741460800171, -0.07879969477653503, 0.6750360131263733, -0.21672169864177704, 0.2805655300617218, -0.15267375111579895, 0.5243062973022461, -0.2626836597919464, -0.04340168833732605, -0.49501869082450867, -0.23280364274978638, 0.42993640899658203, -0.0303085595369339, 0.616678774356...
::TerminateThread (this->hThread, 1); ::CloseHandle (this->hThread); } } //********************************************************* //working method //********************************************************* unsigned long CThread::Process (void* parameter) { //a mechanism for terminating thread sho...
[ 0.025391481816768646, -0.3173361122608185, 0.7923624515533447, -0.0961337760090828, 0.20517213642597198, -0.07833600789308548, 0.45219913125038147, -0.2710798978805542, -0.21725524961948395, -0.3336503207683563, -0.532183051109314, 0.4728502929210663, -0.41566789150238037, 0.31046289205551...
// my class successfully works here in another thread return 0; } } //********************************************************* //creates the thread //********************************************************* bool CThread::CreateThread () { if (!this->IsCreated ()) { param* this_param = new ...
[ 0.1603955179452896, 0.10402707755565643, 0.5570473074913025, 0.08421867340803146, -0.025040386244654655, 0.28426748514175415, 0.35954898595809937, -0.688957154750824, -0.24995355308055878, -0.5671098828315735, -0.328559935092926, 0.10625693202018738, -0.3485930860042572, 0.1748215705156326...
return false; } //********************************************************* //creates the thread //********************************************************* int CThread::runProcess (void* Param) { CThread* thread; thread = (CThread*)((param*)Param)->pThread; delete ((param*)Param); return...
[ -0.07960227131843567, 0.2051873803138733, 0.670839250087738, 0.148578479886055, 0.2896398603916168, 0.10738489776849747, 0.19275307655334473, -0.2590412199497223, -0.3704577088356018, -0.4185419976711273, -0.2691846489906311, 0.24087883532047272, -0.24331703782081604, 0.3094266355037689, ...
to memory, allocated in another thread. Is this actually possible? The memory space for your application is accessible to all threads. By default any variable is visible to any thread regardless of context (the only exception would be variables declared \_\_delcspec(thread) ) You are getting a crash due to a race cond...
[ -0.06693857163190842, -0.08627555519342422, 0.36542564630508423, 0.3254391849040985, 0.4204520583152771, -0.18587970733642578, 0.37326595187187195, 0.3511088192462921, -0.34584176540374756, -0.7172115445137024, -0.07799729704856873, 0.2611762583255768, -0.2334747463464737, 0.49962434172630...
has created the object.
[ 0.6405372023582458, 0.41420289874076843, 0.39105308055877686, -0.07876794040203094, 0.10658682882785797, -0.2962794303894043, 0.01922680251300335, 0.29220446944236755, -0.12065505236387253, -0.13385330140590668, -0.21252760291099548, 0.11878662556409836, 0.3828880488872528, 0.5184298753738...
Google hosts some popular JavaScript libraries at: <http://code.google.com/apis/ajaxlibs/> According to google: > The most powerful way to load the libraries is by using google.load() ... What are the real advantages of using `google.load("jquery", "1.2.6")` vs. `<script type="text/javascript" src="http://ajax.g...
[ 0.22866515815258026, 0.10172207653522491, 0.18265612423419952, 0.3781309425830841, -0.3506557047367096, -0.1948801875114441, -0.03886786103248596, -0.11253780126571655, -0.19225996732711792, -0.8839983940124512, -0.03748030215501785, 0.26725637912750244, -0.47304198145866394, 0.03430532664...
- if you're just using 1 library - is to call that library directly. Also, if your site will be using any SSL certificates, you want to plan for this by calling the script via Google's HTTPS connection. There's no downside to calling a https script from an http page, but calling an http script from an https page will ...
[ 0.4968968629837036, -0.008291758596897125, 0.2044115513563156, 0.4122963547706604, -0.2293306440114975, -0.2777971029281616, 0.31801944971084595, 0.1661616563796997, 0.0023371726274490356, -0.6846843361854553, -0.11113926023244858, 0.033934418112039566, -0.19529405236244202, 0.137998104095...
I just re-read [The Pragmatic Programmer](https://rads.stackoverflow.com/amzn/click/com/020161622X) (my third time reading it...I get something new every time, too). It seems like the tips that they mention are related to many of the various Agile methodologies. Is Pragmatic Programming just another form of Agile Devel...
[ 0.38377779722213745, 0.14639392495155334, -0.12591251730918884, 0.1681816130876541, -0.37407374382019043, -0.34685462713241577, 0.2805570960044861, 0.05027937889099121, -0.1020539402961731, -0.3737151026725769, 0.21731822192668915, 0.8248823285102844, 0.1914997100830078, -0.087545394897460...
to get some of these practices and ideeas into the mainstream.
[ 0.755064845085144, 0.010019535198807716, -0.09380487352609634, 0.13856758177280426, -0.05681060254573822, -0.1576324701309204, 0.3248668909072876, 0.04314619302749634, 0.04800936579704285, -0.4050675928592682, -0.0170272309333086, 0.3420243263244629, 0.03171037137508392, -0.013595931231975...
So, I want to export all my contacts from Outlook as vcards. If I google that, I get a bunch of shareware programs, but I want something free that just works. If I'm to code it myself, I guess I should use the Microsoft.Office.Interop.Outlook assembly. Has anyone already code to convert ContactItems to vcards? **Edi...
[ 0.04429038241505623, 0.4042147099971771, 0.4215148687362671, 0.09111572057008743, 0.1108521893620491, -0.03973957896232605, 0.0992085337638855, 0.02039678953588009, -0.3705429136753082, -0.6882292628288269, 0.07605019211769104, 0.4105527698993683, -0.125299870967865, 0.24515803158283234, ...
(vcards) in a folder, `c:\temp` * Opened a command prompt and typed the command `copy /a *.vcf c:\allcards.vcf` which concatenates all vcards into one
[ 0.2916511297225952, 0.27279210090637207, 0.13311642408370972, -0.1073063462972641, 0.050600044429302216, 0.17699654400348663, -0.05074671655893326, -0.1794241964817047, -0.3337897062301636, -0.37213629484176636, -0.11029600352048874, 0.3989662528038025, -0.45350906252861023, 0.280699759721...
I'm using MS SQL Server 2005. Is there a difference, to the SQL engine, between ``` SELECT * FROM MyTable; ``` and ``` SELECT ColA, ColB, ColC FROM MyTable; ``` When ColA, ColB, and ColC represent every column in the table? If they are the same, is there a reason why you should use the 2nd one anyway? I have a p...
[ -0.3316887319087982, 0.19817931950092316, 0.6847814917564392, -0.32063472270965576, -0.19038696587085724, 0.15093930065631866, -0.10766401886940002, 0.07343057543039322, -0.4521683156490326, -0.5823763608932495, 0.05884909629821777, 0.49281418323516846, -0.615696370601654, -0.1421756744384...
table?" to "When ColA, ColB, and ColC represent every column in the table?" for clarity. Generally, it's better to be explicit, so `Select col1, col2 from Table` is better. The reason being that at some point, an extra column may be added to that table, and would cause unneeded data to be brought back from the query. ...
[ -0.15772207081317902, 0.03699478134512901, 0.46312785148620605, 0.12151165306568146, -0.08728494495153427, 0.0322401262819767, -0.3219294846057892, 0.019786452874541283, -0.47034260630607605, -0.4688158333301544, -0.30460190773010254, 0.27134785056114197, -0.3954488933086395, 0.00477672461...
When I launch CruiseControl.NET with a particular configuration file I receive the following error: > ThoughtWorks.CruiseControl.Core.Config.ConfigurationException: Duplicate node detected What does this mean, and what causes it? No, I don't believe so. Certainly the C# compiler disallows it when converting a lambda...
[ -0.2598987817764282, -0.04216920956969261, 0.5211151242256165, 0.09896145761013031, 0.33196502923965454, -0.31523948907852173, 0.32255876064300537, -0.023960230872035027, -0.12697860598564148, -0.4244927763938904, -0.14930036664009094, 0.910436749458313, -0.2023935467004776, 0.038659997284...
I have a colleague who insists that his code doesn't need comments, it's "self documenting." I've reviewed his code, and while it's clearer than code which I've seen others produce, I still disagree that self-documenting code is as complete and useful as well commented and documented code. Help me understand **his** ...
[ 0.7861300110816956, 0.4689469039440155, -0.03926738351583481, 0.18220867216587067, -0.3792378604412079, -0.22370275855064392, 0.18602392077445984, 0.06665004044771194, -0.4224570691585541, -0.6878517270088196, 0.2731330096721649, 0.6250527501106262, -0.06631571799516678, 0.0643651559948921...
can be a good practice. This is not meant to be an argument - please don't bring up reasons why well commented and documented code is high priority - there are many resources showing this, but they aren't convincing to my peer. I believe I need to more fully understand his perspective to convince him otherwise. Start ...
[ 0.8633091449737549, 0.5268661379814148, -0.12202870100736618, 0.038673967123031616, -0.1638486683368683, -0.3797321915626526, 0.43667542934417725, -0.11139687895774841, -0.10473357886075974, -0.5828317999839783, 0.18599984049797058, 0.7811631560325623, 0.07704333961009979, -0.0073086023330...
good, self-documented code, you don't have to explain every single line because every identifier (variable, method, class) has a clear *semantic* name. Having more comments than necessary actually makes it harder (!) to read the code, so if your colleague * writes documentation comments (Doxygen, JavaDoc, XML comments...
[ 0.4265555143356323, 0.3365982174873352, -0.04623791202902794, 0.09719524532556534, -0.17738953232765198, -0.3555845022201538, 0.4288219213485718, 0.0917707234621048, -0.285084068775177, -0.595427930355072, -0.10966010391712189, 0.574399471282959, -0.11937665939331055, -0.29380303621292114,...
*loop through all files in a directory, test if file size is larger than 10 MB, yield return if true*) his code and documentation is fine, in my opinion. Note that self-documented code does **not** mean that there should be no comments, but only that there should be no unnecessary comments. The thing is, however, that...
[ 0.6498249769210815, 0.2665751874446869, 0.19415034353733063, 0.3163336217403412, -0.03954736515879631, -0.35067424178123474, 0.47971248626708984, -0.025791747495532036, -0.4242338538169861, -0.659230649471283, -0.07441284507513046, 0.5573700666427612, -0.043456654995679855, -0.157556369900...
Since Access 2003 doesn't have the control anchoring functionality as exists in 2007, I was wondering if anyone has or is aware of some VBA script, or a freeware control, that can give this functionality? I know of no exact duplication of the 2007 functionality in 2003. There are multiple components for resolution inde...
[ -0.06925714761018753, -0.21710453927516937, 0.4754283130168915, 0.1566023826599121, 0.07869067788124084, -0.39483606815338135, -0.11942388117313385, -0.40296125411987305, -0.35205313563346863, -0.046621616929769516, 0.2048196792602539, 0.8100205659866333, -0.2725018858909607, 0.08814626187...
I just handled the resize event myself. The easiest way is to do so is to create the form in the minimum size you wish to support, and then record the base positions and widths (either in a table or as form scoped constants). From there you can resize using: ``` resizeRatio = currentFormWidth / baseFormWidth control...
[ 0.5752549171447754, -0.1956469714641571, 0.6078974604606628, -0.1927984207868576, 0.040654733777046204, -0.1089453399181366, 0.21852494776248932, -0.7047156095504761, -0.02737337537109852, -0.4054909944534302, 0.08206052333116531, 0.5713884234428406, -0.0371614433825016, 0.1375832110643386...
not resizing the labels at all, and subtracting the end of the labels area off from the width of the form before applying the position and width changes, such as): ``` resizeRatio = (currentFormWidth - labelsAreaWidth) / (baseFormWidth - labelsAreaWidth) control.left = (baseLeft - labelsAreaWidth) * resizeRatio + lab...
[ 0.02275029942393303, 0.012396750040352345, 0.496633380651474, -0.14708641171455383, 0.2016778290271759, 0.040213923901319504, 0.41936731338500977, -0.6350677013397217, -0.06955855339765549, -0.37082141637802124, -0.38830673694610596, 0.28668007254600525, -0.17286859452724457, 0.30679020285...
Should i stay out of rails if a client has a cheap hosting service with a provider that do not support mod\_rails? Will rails + fast.cgi provide a good experience for a user or should I choose, in this scenario, php + my-favorite-framework as platform ? Regards, Victor I have three clients on inexpensive hosting plan...
[ 0.19711236655712128, -0.002466177335008979, 0.1298106461763382, 0.2503140866756439, -0.08281911164522171, -0.3624655604362488, 0.28479713201522827, -0.05623636767268181, -0.36285290122032166, -0.5410318374633789, 0.2646389603614807, 0.7368914484977722, -0.15037420392036438, 0.0247552935034...
build a site where users will uploading and playing video then no FastCGI is not a good choice. > or should I choose, in this scenario, php + my-favorite-framework as platform You always choose the right tool for the job. Without any details on what you are trying to build I'm not sure anyone here will be able to tel...
[ 0.5743312835693359, -0.14944520592689514, 0.26477551460266113, 0.4260242283344269, -0.30677688121795654, -0.382498562335968, 0.12834645807743073, 0.3542361259460449, -0.27167031168937683, -0.7835994958877563, 0.1904095560312271, 0.695166289806366, -0.033800046890974045, -0.1231614798307418...
In my application I have a number of panes from m\_wndspliter classes. What I want to do is at run time show and hide one of these panes. Whilst with the following code I can show and hide the view associated with the pane, I can't temporarily remove the pane itself. ``` CWnd * pCurView = m_wndSplitter2.GetPane(2, 0)...
[ 0.49246737360954285, 0.237781822681427, 0.5720311403274536, -0.4229739010334015, 0.2125551849603653, 0.06503244489431381, 0.4787342846393585, -0.0964503064751625, -0.06604313850402832, -0.6611197590827942, -0.18465577065944672, 0.5873874425888062, -0.2901233732700348, 0.38414475321769714, ...
pCurView->ShowWindow(SW_HIDE); RecalcLayout(); } } ``` Any examples / ideas ? Does this help? <http://www.codeguru.com/cpp/w-d/splitter/article.php/c1543> I have used something very similar myself,
[ 0.44900044798851013, 0.09163524955511093, 0.06786976754665375, -0.06871256232261658, 0.17343612015247345, -0.2070319503545761, -0.23998402059078217, 0.17385688424110413, -0.25481855869293213, -0.5211681127548218, 0.17337919771671295, 0.6823039650917053, -0.2477596402168274, 0.0735454112291...
We are logging any exceptions that happen in our system by writing the Exception.Message to a file. However, they are written in the culture of the client. And Turkish errors don't mean a lot to me. So how can we log any error messages in English without changing the users culture? This issue can be partially worked a...
[ 0.45592835545539856, 0.3276847302913666, -0.00846184603869915, 0.14057236909866333, 0.0411844477057457, -0.23819749057292938, 0.6627781391143799, 0.10635719448328018, -0.11494399607181549, -0.4757351577281952, -0.2801724374294281, 0.2617188096046448, -0.4555533230304718, -0.130847916007041...
the message by briefly switching the thread locale to en-US while logging it (saving the original user locale beforehand and restoring it immediately afterwards). Doing this on a separate thread is even better: this ensures there won't be any side effects. For example: ``` try { System.IO.StreamReader sr=new System...
[ -0.06744641810655594, -0.2365323305130005, 0.7690590620040894, -0.1121179461479187, 0.23411275446414948, 0.06637901812791824, 0.3339725136756897, 0.233249232172966, -0.2929380238056183, -0.8026964664459229, -0.5446957945823669, 0.3226832151412964, -0.45884591341018677, 0.5042988657951355, ...
{ Console.WriteLine(_ex.ToString()); //Will display en-US message } } ``` However, as [Joe](https://stackoverflow.com/users/13087/joe) correctly points out in a comment on an earlier revision of this reply, some messages are already (partially) loaded from the language resources at the time the exception is thr...
[ 0.08197702467441559, -0.03845599666237831, 0.43983229994773865, -0.11785046011209488, 0.21850727498531342, -0.27494245767593384, 0.46962064504623413, 0.16690309345722198, -0.06454034149646759, -0.6995673775672913, -0.4464437961578369, 0.4345822334289551, -0.2450948804616928, 0.424033582210...
with, there doesn't seem to be much you can do about that: the .NET Framework exception code has no facilities for overriding the error message locale.
[ 0.10757656395435333, 0.12778392434120178, -0.1509830206632614, -0.016319679096341133, -0.05341201275587082, -0.30069464445114136, 0.7754472494125366, 0.2075585424900055, -0.3111947476863861, -0.4967673718929291, -0.21064305305480957, 0.36625954508781433, -0.18795549869537354, 0.14543856680...
When setting the export path in Unix, example: ``` export PATH=$PATH: $EC2_HOME/bin ``` If I quit terminal and open it back up to continue working, I have to go through all the steps again, setting up the paths each time. I'm wondering how I can set the path and have it "stick" so my system knows where to find every...
[ 0.16365385055541992, 0.03345215320587158, 0.4087730646133423, -0.4064866006374359, -0.07499875873327255, -0.48277392983436584, 0.14159473776817322, 0.2055642008781433, -0.404867023229599, -0.7353710532188416, -0.16710442304611206, 0.9503352642059326, -0.25092968344688416, 0.050777591764926...
a different name, like `~/.shrc`. Add the line you need to the bottom of the file: ``` export PATH=$PATH:$EC2_HOME/bi ``` Other info rolled up from elsewhere in the thread: There are multiple places to put this, depending on your shell and your needs. All of these files are in your home directory: For Bash: ``` ...
[ 0.3225502073764801, 0.17827148735523224, 0.4182372987270355, -0.13156527280807495, 0.04224608093500137, -0.10500231385231018, 0.19946402311325073, -0.15367072820663452, -0.2586457431316376, -0.7443846464157104, -0.14480072259902954, 0.39411666989326477, -0.23921942710876465, 0.355575591325...
I've been looking at Dojo, and it has some nice tricks, however its quite huge IMHO. Basically when viewing my test my slow machine (600mhz), just loading Dojo was kind of painful, and can imagine lots of mobile devices will also not be happy with it. Is there a slim version or something like that available? What do y...
[ 0.5230900645256042, -0.14235058426856995, -0.12599898874759674, 0.3864293098449707, -0.43148425221443176, -0.30663198232650757, 0.13532976806163788, 0.3255396783351898, -0.11119236052036285, -0.21486613154411316, 0.18375103175640106, 0.2392055243253708, -0.1323002427816391, -0.008652271702...
[a full-featured page](http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/themes/themeTester.html?theme=soria), then that's probably a combination of your browser's speed with JS, your computer's speed, and Dojo's speed. Try loading something similar from another framework like [Ext JS](http://www.extjs.com) or ...
[ -0.051517412066459656, -0.6264426112174988, 0.8042117357254028, 0.2608347535133362, -0.5289513468742371, -0.378093957901001, 0.09763555228710175, 0.07349477708339691, -0.3854539096355438, -0.5949488878250122, -0.3997597098350525, 0.1561080515384674, 0.2520553469657898, -0.00500168139114975...
Other than Visual Studio, what tool have you found best to create, edit, maintain, and possibly debug your XSLT files? I work on a fairly big project and we have tons of XSLT files and they have grown quite complex in their implementation. The language seems so brittle. It would be nice to navigate and identify error...
[ 0.4777938723564148, 0.26209503412246704, -0.34480422735214233, 0.33002540469169617, -0.14389187097549438, -0.37473657727241516, 0.1104637011885643, 0.0983923077583313, 0.15463325381278992, -0.8032402396202087, 0.012111402116715908, 0.6357488036155701, -0.40797626972198486, 0.00591322826221...
I have to consume 2 different web services. Both contain a definition for a 'user' object. When I reference the services using "Add service reference" I give each service a unique namespace: ``` com.xyz.appname.ui.usbo.UserManagement com.xyz.appname.ui.usbo.AgencyManagement ``` The problem I have is that each ...
[ 0.5646194219589233, 0.3323374390602112, 0.2830922305583954, -0.28283172845840454, -0.14370711147785187, 0.11161617189645767, 0.28295549750328064, -0.21933454275131226, 0.06367721408605576, -0.9692612290382385, 0.27650952339172363, 0.6421658992767334, -0.5052072405815125, 0.3028829693794250...
am using .Net 3.5 to consume the service. The service being consumed is written in Java. Thanks!! Edit: [This forum thread](http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/8c55f517-72c0-4add-8f9d-264acd334e83/ "This forum thread") got very close to an answer, but the accepted answer ended up being to share ...
[ 0.3870598375797272, 0.41579580307006836, 0.511074960231781, -0.15504123270511627, -0.3129487633705139, -0.1838931441307068, 0.13454879820346832, -0.3711337149143219, 0.025599593296647072, -0.6953842043876648, 0.24865861237049103, 0.47260144352912903, -0.3745962977409363, 0.2480748891830444...