text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
Here's my code: ``` <asp:TemplateField HeaderText="* License Setup Date"> <EditItemTemplate> <asp:RequiredFieldValidator ID="LicenseSetupDateRequired" ErrorMessage="License Setup Date can't be blank." ValidationGroup="EditClientDetails" ControlToValidate="BeginDate" ...
[ 0.21580378711223602, -0.040600668638944626, 0.516659140586853, -0.1399381309747696, 0.2277522087097168, -0.38454538583755493, 0.26291561126708984, -0.34161293506622314, 0.08048558980226517, -0.4021434783935547, -0.08206390589475632, 0.6932926774024963, 0.1965802013874054, 0.052207890897989...
runat="server"></asp:RequiredFieldValidator> <asp:RangeValidator ID="LicenseSetupDateRange" ErrorMessage="License Setup Date needs to be a date between 01/01/2000 and 12/31/2200" ValidationGroup="EditClientDetails" ControlToValidate="BeginDate" ...
[ 0.3139510452747345, -0.17167477309703827, 0.6885786056518555, 0.01834157481789589, 0.28816667199134827, -0.6025165915489197, 0.28819677233695984, -0.33588993549346924, 0.14971475303173065, -0.14263266324996948, -0.1947140246629715, 0.4847223460674286, -0.03952087461948395, 0.04289546608924...
MaximumValue="12/31/2002" Type="Date" Text="*!" Display="Dynamic" runat="server"></asp:RangeValidator> <asp:TextBox ID="BeginDate" MaxLength="10" Text='<%# Bind("BeginDate", "{0:MM/dd/yyyy}") %>' runat="server"></asp:TextBox>
[ -0.3999072313308716, -0.45132744312286377, 0.951149046421051, -0.06123943626880646, -0.21939952671527863, 0.04231022298336029, 0.28478947281837463, -0.24612899124622345, -0.6160227656364441, -0.3462168276309967, 0.04159970581531525, 0.3953278362751007, 0.072808176279068, 0.0875534564256668...
<span class="fieldNote">(mm/dd/yyyy format)</span> </EditItemTemplate> </asp:TemplateField> ``` And the results: * 01/01/2008 Doesn't pass * 02/02/2008 Doesn't pass * 11/11/2000 Passes * 08/08/2001 Passes What am I missing here? I don't think you should supply a Gui for active directory. Most organization that ...
[ 0.3072753846645355, 0.159547820687294, 0.6448937058448792, -0.05671584606170654, -0.40501412749290466, -0.22439219057559967, 0.33401405811309814, -0.6232218742370605, -0.4091910123825073, -0.6402826905250549, 0.22579030692577362, 0.7482146620750427, 0.024384161457419395, -0.082284085452556...
of active directory, and still benefit from single sign on. One more thing to note. The group names should be customizable. Most places have naming convention for group names.
[ 0.3929164409637451, 0.1782514601945877, 0.43127384781837463, 0.2248929738998413, 0.2214520275592804, -0.5056584477424622, 0.23951922357082367, 0.3198593854904175, -0.43967995047569275, -0.6075692176818848, -0.3018278479576111, 0.24460344016551971, -0.09932725131511688, 0.07491496950387955,...
I am starting to design a new application and what I am wondering is peoples opinions on Linq2SQL or Linq2Entities and what they feel is the better technology for rapid development. I am also doing some research into ADO.net data services. I'm a big fan of LINQ to SQL if you meet the following design requirements: * ...
[ 0.30834147334098816, 0.20466485619544983, 0.25031861662864685, 0.06163693591952324, -0.13719642162322998, -0.25100937485694885, 0.14533334970474243, -0.013782563619315624, 0.033084429800510406, -0.5434221625328064, 0.26430588960647583, 0.546600878238678, -0.053138893097639084, 0.1256032437...
generated from the same database as LINQ to SQL uses. The lower performance is due to the nature of Entity Framework, it uses ADO rather than specific providers for the database server you're using.
[ 0.2856503427028656, 0.0760805532336235, 0.4019770920276642, 0.5160120129585266, -0.094758540391922, -0.10141613334417343, -0.2910812497138977, -0.3573504686355591, -0.044660456478595734, -0.27122318744659424, -0.1966535747051239, 0.27237650752067566, -0.29695600271224976, 0.336489737033844...
Consider the following HTML: ``` <div class="foo" id="obj"> I should be changed red <div class="bar" style="color:black;"> I should not be changed red. <div class="foo">I should be changed red.</div> </div> </div> ``` Given a DOM element `obj` and an expression, how do I go about selecting any c...
[ -0.24910861253738403, -0.05454190820455551, 0.22012574970722198, -0.26559990644454956, 0.24841850996017456, 0.3886842429637909, 0.13832995295524597, -0.43818846344947815, -0.09487243741750717, -0.64357990026474, -0.4114777743816376, 0.42422911524772644, -0.4045383632183075, 0.2808322608470...
$(".foo", obj); if ($(obj).is(".foo")) matches = matches.add(obj); matches.css("color", "red"); ``` Is there a more elegant solution to this? If I understand you correctly: ``` $(currentDiv).contents().addBack('.foo').css('color','red'); ``` I renamed the "div" to "currentDiv" for clarity. This selects the current...
[ -0.23490403592586517, -0.029581043869256973, 0.5361497402191162, -0.28273242712020874, 0.2864188253879547, 0.11248529702425003, 0.0501147136092186, -0.27916964888572693, -0.1145407184958458, -0.5130294561386108, -0.3295699954032898, 0.4467254877090454, -0.5227709412574768, 0.00706165190786...
What does generator comprehension do? How does it work? I couldn't find a tutorial about it. Do you understand list comprehensions? If so, a generator expression is like a list comprehension, but instead of finding all the items you're interested and packing them into list, it waits, and yields each item out of the exp...
[ -0.0020397065673023462, -0.5176072120666504, 0.23921741545200348, 0.09289383143186569, -0.2927522361278534, 0.15548567473888397, 0.12014023214578629, -0.3969605565071106, -0.1639440655708313, -0.7827315926551819, 0.14371713995933533, 0.5088087320327759, -0.6469239592552185, -0.197071477770...
notice it's a generator object <generator object <genexpr> at 0x7f2ad75f89e0> >>> len(filtered_gen) # So technically, it has no length Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: object of type 'generator' has no len() >>> # We extract each item out individually. We'll do it manu...
[ -0.2788558304309845, -0.4424721300601959, 0.44948241114616394, 0.019289009273052216, -0.28473785519599915, -0.06770724058151245, 0.17707359790802002, -0.3164820969104767, -0.32556113600730896, -0.595276415348053, 0.011291909031569958, 0.08313018828630447, -0.3237902820110321, 0.17606422305...
(item for item in my_list if item > 3) >>> gen_to_list = list(filtered_gen) >>> print(gen_to_list) [5, 9, 6] >>> filtered_list == gen_to_list True >>> ``` Because a generator expression only has to yield one item at a time, it can lead to big savings in memory usage. Generator expressions make the most sense in scen...
[ 0.032623663544654846, -0.4572650194168091, 0.14500315487384796, 0.14774787425994873, -0.09035252779722214, 0.1961829960346222, 0.04109491780400276, -0.3994235396385193, -0.129928320646286, -0.8523363471031189, -0.04197920486330986, 0.546561062335968, -0.4191737174987793, -0.066787131130695...
the values before your program proceeds, use a list comprehension instead.
[ 0.11917760223150253, 0.07222136110067368, 0.11860361695289612, 0.0854015052318573, 0.13372370600700378, -0.05813879892230034, 0.24106769263744354, 0.015855755656957626, -0.31955283880233765, -0.7133964896202087, -0.15237180888652802, 0.8805521726608276, -0.3198474943637848, -0.205765455961...
I have a situation where in a web application a user may need a variable list of PDFs to be printed. That is, given a large list of PDFs, the user may choose an arbitrary subset of that list to print. These PDFs are stored on the file system. I need a method to allow users to print these batches of PDFs relatively easi...
[ 0.533608615398407, 0.14894936978816986, 0.10568522661924362, 0.3189323842525482, -0.010547111742198467, -0.13068822026252747, -0.18831738829612732, -0.09656020253896713, -0.26103660464286804, -0.6864706873893738, 0.206144779920578, 0.5364093780517578, -0.11331041902303696, 0.07507136464118...
PDF library that I could use to take the PDFs and combine them on the fly and then send that PDF to the user for printing. I don't know if this method will mess up any sort of page numbering. This may be an "ok" method but I worry about the performance hit of this. 2) I've thought about creating an ActiveX that I woul...
[ 0.31526729464530945, -0.029198050498962402, 0.44880861043930054, 0.5229469537734985, -0.1398533284664154, -0.2895192503929138, -0.2926175892353058, -0.03620347008109093, -0.10840608179569244, -0.8414430022239685, 0.11817634105682373, 0.5484790802001953, -0.2784390449523926, -0.074147760868...
this scenario, which is probably not one of the ones I've gone through. The best solution I have for you is number 1. There are plenty of libraries that will merge documents. From the one I've used the numbering should not be an issue since all the pages are all ready rendered. If you go with ActiveX you are going to...
[ -0.02746313251554966, -0.07055654376745224, 0.501689612865448, 0.4204035699367523, -0.15925456583499908, -0.228487029671669, -0.16451933979988098, 0.17128951847553253, -0.261668860912323, -0.912558376789093, -0.06735321134328842, 0.5129033923149109, -0.3146124482154846, 0.08549298346042633...
I want to gather data from different data servers located in Europe and Asia. Rather than running a plain data query task that will clog up the undersea network I am thinking of a couple of machines that will be available for me at the local sites. I am thinking to design the master package so that I can: 1. run remo...
[ 0.5495790243148804, -0.11822789907455444, 0.49076715111732483, 0.23659323155879974, 0.07236003875732422, -0.03351515904068947, 0.05704796314239502, -0.2888011932373047, -0.3071535527706146, -0.5428473353385925, -0.33850106596946716, 0.2885485887527466, -0.029794324189424515, 0.036045286804...
through custom script source since the data is available through a weird class library. Tasks can fail unpredictably. If a particular type of data is successfully captured while the others fail for a particular location, I don't want to run it again. How can I simplify this design if possible and make it more robust?...
[ 0.3530617356300354, -0.22885861992835999, 0.15547439455986023, 0.30426913499832153, -0.11467313021421432, 0.0007812514086253941, 0.11197011172771454, 0.07104293256998062, -0.5159129500389099, -0.8661119937896729, 0.012512332759797573, 0.6116280555725098, -0.23469635844230652, -0.0638488829...
data at source you can reduce the data volumes by only sending the changes. If you have resources at the source but cannot easily identify changed data you can do something like this (build a generic framework for this if you need to): * Extract from the source * Calculate a hash value using an algorithm with a low pr...
[ 0.2263219803571701, -0.15467481315135956, 0.17858938872814178, 0.08406438678503036, 0.015378322452306747, -0.09253135323524475, 0.13469024002552032, -0.12491267919540405, -0.2945244312286377, -0.8232700228691101, -0.19855406880378723, 0.48855847120285034, 0.24446898698806763, 0.24174857139...
link. * Update the database of hashes. **Robust Distributed Extraction** There are many failure modes for a distributed system like this, so you will need to implemenent a reasonably robust error handling mechanism for this. Examples of failure modes might be: * One of the source systems or network connections goes ...
[ 0.054055675864219666, -0.1251092255115509, 0.15362386405467987, 0.2819042205810547, -0.061365675181150436, -0.29053881764411926, 0.3835602402687073, 0.18053576350212097, -0.5620068311691284, -0.6890691518783569, -0.22346822917461395, 0.4273700416088104, -0.46843138337135315, 0.279808193445...
robust error handling strategy for this. **Merge-on-Extract vs. Merge-on-Transform** If the systems are identical (e.g. POS systems in a chain of retail shops) you will probably get a simpler architecture by merging the data before the transformation phase. This means that the staging area will need to be aware of th...
[ 0.3696185052394867, -0.21103323996067047, -0.03873956948518753, 0.18336744606494904, -0.02190873585641384, 0.015966903418302536, 0.036530762910842896, -0.2516602575778961, -0.2541845440864563, -0.7901992201805115, -0.09823639690876007, 0.7708736062049866, -0.06608385592699051, -0.175069808...
we need an ODS?** One of the great religious wars in data warehousing is whether one should have an ODS. I've done systems with and without ODS structures and in the individual cases there were reasons for the design decisions. My take on this is that there's no universal compelling argument on either side of this dec...
[ 0.6493279933929443, 0.3365507125854492, 0.37434855103492737, 0.2393612563610077, -0.10901769250631332, -0.12145166844129562, -0.025620248168706894, 0.1779268980026245, 0.011289909482002258, -0.4682910442352295, -0.0866028368473053, 0.4905264675617218, 0.043114591389894485, 0.08671578019857...
draw a gartner-style quadrant for this: ``` High+--------------------------+--------------------------+ | | | | Kimball Model (low/high) | Enterprise Data Warehouse| H | Unified ODS model hard | (high/high) | e
[ -0.36592429876327515, 0.035195667296648026, 0.5306770205497742, 0.321701318025589, 0.09432313591241837, -0.07640090584754944, -0.2585040032863617, -0.36371326446533203, -0.035751890391111374, -0.5553641319274902, -0.18936379253864288, 0.45726168155670166, -0.31114208698272705, 0.2424675673...
| to meaningfully design. | ODS both difficult and | t | Flat star schemas easier | probably necessary to | e | to fit disparate | make a manageable system | r | data into. | Better to separate trans-| g |
[ -0.18647940456867218, 0.16879740357398987, 0.4035851061344147, 0.25797101855278015, -0.2506157457828522, 0.08299395442008972, 0.06192447245121002, -0.37499791383743286, -0.011731441132724285, -0.727984607219696, -0.4283004403114319, 0.617538332939148, -0.2943219840526581, -0.05447971448302...
| formation ahd history. | e +--------------------------+--------------------------+ n | | | e | | Consolidated Reporting | a
[ -0.3331797420978546, 0.12367009371519089, 0.2668110728263855, -0.4374946355819702, -0.083574578166008, 0.20551776885986328, 0.286220520734787, -0.20125949382781982, -0.24870923161506653, -0.49119600653648376, -0.20030854642391205, 0.28023797273635864, -0.13650700449943542, 0.16221834719181...
| Data Mart (low/low) | (high/low) | i | | ODS easy to implement | t | ODS probably of | and will simplify the | y | little benefit
[ -0.22567534446716309, 0.01292224321514368, 0.765906572341919, 0.2440735101699829, -0.09345298260450363, -0.08264665305614471, 0.0006351643241941929, -0.19284853339195251, -0.0647176131606102, -0.6938649415969849, -0.35018378496170044, 0.5601808428764343, -0.20469287037849426, -0.1774162650...
| overall system | | | architecture | | |
[ -0.12041053175926208, 0.5849279761314392, 0.5232855081558228, -0.045075636357069016, 0.028746558353304863, 0.20446215569972992, 0.12287415564060211, -0.0228499174118042, -0.10035040974617004, -0.8542699813842773, -0.3239416778087616, 0.15662932395935059, -0.01699376106262207, 0.08708231896...
| Low +--------------------------+--------------------------+ Low Number of data sources High ```
[ -0.15923206508159637, 0.318643718957901, 0.4811903238296509, 0.34712478518486023, 0.035016272217035294, -0.16442881524562836, 0.10689186304807663, -0.07567571848630905, 0.04170349985361099, -0.5605354309082031, -0.30764541029930115, 0.4109541177749634, -0.03128118813037872, 0.0407066382467...
I've got a Perl script that needs to execute another Perl script. This second script can be executed directly on the command line, but I need to execute it from within my first program. I'll need to pass it a few parameters that would normally be passed in when it's run standalone (the first script runs periodically, a...
[ 0.5255565047264099, -0.18585607409477234, 0.43520665168762207, -0.002483558375388384, 0.03404225409030914, 0.022809799760580063, 0.14544731378555298, -0.19646185636520386, -0.28648510575294495, -0.35165584087371826, -0.0521598719060421, 0.551884651184082, -0.26169514656066895, -0.196828439...
preferred if I need to capture output from the invoked program (and, if possible, pipe that output as it executes to stdout as though the second program were invoked directly)? (Edit: oh, **now** SO suggests some related questions. [This one](https://stackoverflow.com/questions/109124/run-external-process-from-perl-ca...
[ 0.04061383754014969, -0.07882361859083176, 0.33014756441116333, -0.2486332803964615, -0.08157828450202942, 0.09762769192457199, 0.2461123913526535, 0.031781360507011414, -0.2662738561630249, -0.5788317918777466, -0.1286786049604416, 0.46643316745758057, -0.1263578236103058, -0.076888345181...
your path, or if you have multiple perl versions available but which to make sure you're using the same one across the board. When executing external commands, including other Perl programs, determining if they actually ran can be quite difficult. Inspecting `$?` can leave lasting mental scars, so I prefer to use [IPC...
[ 0.5283844470977783, -0.18764160573482513, 0.4959949851036072, 0.09343723207712173, 0.007662159390747547, -0.13532260060310364, 0.6147622466087341, -0.1346893161535263, -0.16248208284378052, -0.7580404877662659, 0.02440803498029709, 0.549506664276123, -0.4042167067527771, -0.030177487060427...
and make sure it works. # The output of this command is captured into $results. my $results = capture($^X, "yourscript.pl", @ARGS); ``` In both of the above examples any arguments you wish to pass to your external program go into `@ARGS`. The shell is also avoided in both of the above examples, which gives you a smal...
[ 0.12636083364486694, 0.04472880810499191, 0.3342870771884918, -0.19193337857723236, 0.28677406907081604, -0.10165442526340485, 0.45642632246017456, -0.15153059363365173, -0.1439719945192337, -0.581514835357666, -0.26890015602111816, 0.6806753277778625, -0.2037937194108963, -0.1238181591033...
commands allow an exit value of 0, 1 or 2 to be considered # a successful execution of the command. system( [0,1,2], $^X, "yourscript.pl", @ARGS ); # OR capture( [0,1,2, $^X, "yourscript.pl", @ARGS ); ``` If you have a long-running process and you want to process its data *while* it's being generated, then you'r...
[ 0.15673880279064178, -0.3234417140483856, 0.3445979058742523, 0.07983285933732986, 0.14985425770282745, -0.09522892534732819, 0.057350825518369675, -0.02662189118564129, -0.3474222421646118, -0.3861089050769806, -0.3693486154079437, 0.3897567689418793, -0.253939688205719, 0.178704410791397...
another program carries quite a few overheads, both in terms of start-up costs, and I/O costs for moving data between processes. It also significantly increases the difficulty of error handling. If you can turn your external program into a module, you may find it simplifies your overall design. All the best, *Paul*
[ 0.4683920443058014, 0.2633608877658844, -0.06824126839637756, 0.1827271580696106, 0.17169880867004395, -0.07574069499969482, 0.21150732040405273, -0.22841300070285797, -0.44470471143722534, -0.6194519400596619, -0.03723432123661041, 0.5284584760665894, -0.1286393702030182, 0.06647904962301...
I love scaffolding and it extremely helpful for prototyping. But Should we use scaffolding for developing application as such? The name "scaffolding" is sort of a misnomer in Rails now (post 2.0). The structure generated through scaffolding generator is more of a base application to build on, rather than a "prototype" ...
[ 0.6823785901069641, -0.008748450316488743, 0.17936648428440094, 0.24094745516777039, -0.18826086819171906, -0.19568179547786713, -0.06819704920053482, 0.027598103508353233, -0.25818270444869995, -0.6043722033500671, 0.17573212087154388, 0.21498550474643707, -0.15396524965763092, 0.11104344...
code in them.
[ 0.28959688544273376, 0.4356721043586731, -0.5421176552772522, 0.24158859252929688, -0.33748430013656616, 0.02617960423231125, 0.17960307002067566, -0.15993532538414001, -0.07386290282011032, -0.6473181247711182, 0.15830276906490326, 0.12650512158870697, -0.43251603841781616, 0.108647391200...
> **Possible Duplicate:** > > [What is the exact problem with multiple inheritance?](https://stackoverflow.com/questions/225929/what-is-the-exact-problem-with-multiple-inheritance) Why is multiple inheritance considered to be *evil* while implementing multiple interfaces is not? Especially when once considers that ...
[ 0.100673608481884, 0.0008948599570430815, 0.009717034175992012, 0.1485608071088791, -0.24013197422027588, 0.06969644129276276, 0.18701203167438507, -0.06149984896183014, -0.5853874087333679, -0.4579818546772003, -0.008701080456376076, 0.5282048583030701, -0.6240891218185425, 0.250159144401...
C, which one do you get when you create D? The reason this isn't a problem with interfaces is because interfaces don't have implementations, so if A/B/C are all interfaces, then D chooses how to implement the A methods in whatever manner is appropriate.
[ 0.26820650696754456, -0.07892098277807236, -0.13043251633644104, 0.14933457970619202, -0.29838430881500244, 0.06485063582658768, -0.30149874091148376, -0.3020773231983185, -0.11300560086965561, -0.7358221411705017, 0.09690871834754944, 0.4516087770462036, -0.2875686287879944, 0.01257938891...
I am using Scribd API (www.scribd.com) to display the PDF files in my website. I just want to know is there any other PDF API which i can use to embed the PDF in my website. FASTER and MORE customizable than Scribd, Mainly i want to put my company logo in that API, whereas in scribd they are displaying there logo. So ...
[ 0.6675780415534973, 0.1900942623615265, 0.5662381649017334, 0.09155286103487015, -0.2081104815006256, -0.24057386815547943, -0.13129180669784546, 0.20884892344474792, -0.37748774886131287, -0.7236277461051941, -0.13687576353549957, 0.4917633831501007, -0.07111743837594986, 0.07909139990806...
load in to a simple Flash viewer.
[ 0.0707981064915657, -0.009837624616920948, -0.1896609514951706, 0.4024733901023865, 0.08411148935556412, -0.4251803457736969, -0.22962352633476257, 0.392363965511322, 0.13298048079013824, -0.5346232652664185, -0.4328785836696625, 0.4215230643749237, -0.23241783678531647, 0.0377612300217151...
My application is already developed and now we are going to change the connection string whatever stored in the session object (Bcoz of Distributed Database Management System (DDBMS)) Problem is here..... > ``` > In that application There are so many **ObjectDataSource** which are > > ``` > > initialize with the us...
[ 0.16885629296302795, 0.009795100428164005, 0.5663465857505798, 0.24790579080581665, 0.10141519457101822, -0.11816859990358353, -0.016226591542363167, 0.11160685867071152, -0.2504845857620239, -1.1940491199493408, 0.006940783467143774, 0.5349364280700684, -0.3132707178592682, 0.398042678833...
need to set the ConnectionModifier property of the table adapter to Public. If they're created by the "wizard" they will be set to Friend/Internal (VB/C#) by default. I had trouble finding the ConnectionModifier property (it's not listed in my vs2005 documentation)! If you click the lower area of the XSD (where the qu...
[ 0.048532746732234955, -0.11090460419654846, 0.5535048246383667, -0.09478799253702164, 0.20113857090473175, -0.5400906801223755, 0.284270703792572, 0.2914454936981201, -0.36355751752853394, -0.8766448497772217, -0.356893926858902, 0.8588665723800659, -0.35134246945381165, 0.4276762306690216...
Let's say that I'm writing a library in C# and I don't know who is going to consume it. The public interface of the library has some unsigned types - uint, ushort. Apparently those types are not CLS-compliant and, theoretically speaking, there may be languages that will not be able to consume them. Are there in real...
[ 0.7428968548774719, 0.4347185492515564, 0.0729706808924675, 0.03388902544975281, -0.18076017498970032, -0.23960106074810028, 0.19998499751091003, 0.45990580320358276, -0.2305033653974533, -0.37733983993530273, 0.19731365144252777, 0.6332438588142395, -0.36632391810417175, 0.106078267097473...
unsigned types (given that Java doesn't have any).
[ 0.05549951642751694, -0.11657553166151047, -0.14857184886932373, -0.04324805364012718, -0.2069723755121231, -0.21930159628391266, 0.3626759946346283, -0.007558365818113089, -0.2568487524986267, -0.37483876943588257, -0.18770478665828705, 0.26641541719436646, -0.5138469934463501, -0.2771268...
I have set up a version control system using **TortoiseSVN** at my home to manage my pet projects, school projects etc...and it works locally. Now I need to be able to access my code repository remotely, like from school, so that I will be able to update the source at school from the repository, and commit it again on...
[ 0.35222768783569336, 0.06215386092662811, 0.11240839213132858, 0.08925434201955795, 0.13095207512378693, 0.13809329271316528, 0.5784074664115906, 0.135358527302742, -0.3710339069366455, -0.6585773229598999, -0.19194918870925903, 0.5238051414489746, 0.3068529963493347, 0.21774639189243317, ...
other *portable* application that does this task, be it GUI or [CLI](http://en.wikipedia.org/wiki/Command-line_interface). There are various approaches to offer remote access. In your case, the simplest thing might be to set up an [svnserve server](http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svn...
[ 0.12175697088241577, -0.052509553730487823, 0.3946443200111389, 0.06465311348438263, 0.09817495942115784, -0.3043789565563202, 0.10069353878498077, 0.056325946003198624, -0.6417829394340515, -0.7229077816009521, -0.08776631206274033, 0.3314048945903778, -0.029242616146802902, 0.41541558504...
your machine, make sure you understand how to use it, and then copy it along with all DLLs that it needs onto an USB stick.
[ 0.5710173845291138, 0.136895090341568, 0.39874061942100525, 0.423206090927124, 0.6036683320999146, -0.36634016036987305, -0.045592281967401505, 0.3483046889305115, 0.054385263472795486, -0.8469440340995789, -0.12255742400884628, 0.7355799674987793, -0.1500096172094345, -0.11501223593950272...
Extended Backus–Naur Form: **EBNF** I'm very new to parsing concepts. Where can I get sufficiently easy to read and follow material for writing a grammar for the boost::spirit library, which uses a grammar similar to EBNF? Currently I am looking into [EBNF](http://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_f...
[ -0.12816105782985687, 0.14244014024734497, 0.4695125222206116, -0.23583170771598816, -0.32032305002212524, 0.01745772361755371, 0.46061068773269653, -0.22778770327568054, -0.06179013103246689, -0.31808510422706604, -0.3556146025657654, 0.4421815872192383, -0.10372686386108398, -0.258861005...
`if`, and alternatives translate to `if-then-else` or `case` statements. If you have the luxury of designing your language this way you can knock out a parser quickly *and* give good error messages. The only place this gets a bit tedious is when you have a language in which there are infix operators with many differen...
[ 0.03263700008392334, -0.0811702162027359, -0.17912834882736206, 0.12201414257287979, -0.045835286378860474, -0.07286887615919113, 0.2279830276966095, 0.09597952663898468, -0.010556022636592388, -0.4885159730911255, -0.21361465752124786, 0.40166106820106506, -0.2782992422580719, -0.16854208...
I'm not a JS guy so I'm kinda stumbling around in the dark. Basically, I wanted something that would add a link to a twitter search for @replies to a particular user while on that person's page. Two things I am trying to figure out: 1. how to extract the user name from the page so that I can construct the right URL....
[ 0.5559216737747192, -0.05126756429672241, 0.24163737893104553, -0.11611603200435638, -0.24104495346546173, -0.00017229659715667367, 0.2547716498374939, -0.06673839688301086, -0.16261804103851318, -0.6593309640884399, -0.0007831224938854575, 0.6121886968612671, -0.1499139964580536, 0.156509...
</li> <li> <a href="/ev/favourites" id="favorites_tab">Favorites</a> </li> </ul> ``` And here is the script (so far): ``` // ==UserScript== // @name Twitter Replies Search // @namespace http://jauderho.com/ // @description Find all the replies for a particular user // @include http://twitte...
[ -0.32924601435661316, 0.19444429874420166, 0.6376569867134094, -0.25043487548828125, -0.17509432137012482, 0.160009503364563, 0.4319835603237152, -0.5728110074996948, -0.058130037039518356, -0.6960225105285645, -0.4168565571308136, 0.3099376857280731, -0.29460716247558594, -0.0455613397061...
html = []; html[html.length] = '<li>'; html[html.length] = '<a href="http://search.twitter.com/search?q=to:ev" class="section-links" id="replies_search_tab">@Replies Search</a>'; html[html.length] = '</li>'; // this is obviously wrong var div = document.createElement('div'); div.className =...
[ -0.3796347379684448, -0.03718286380171776, 0.8001785278320312, -0.35245609283447266, -0.1505323201417923, 0.08075777441263199, 0.43357017636299133, -0.34939342737197876, -0.10474102199077606, -0.37970060110092163, -0.5503960251808167, 0.5231390595436096, -0.33433741331100464, 0.24861221015...
matches /ev and /ev/favourites var username = document.location.pathname.split("/")[1]; // create the link var link = document.createElement('a'); link.setAttribute('href', 'http://search.twitter.com/search?q=to:'+username); link.setAttribute('id', 'replies_search_tab'); link.appendChild(docume...
[ 0.1294369250535965, -0.046434950083494186, 0.7992814183235168, -0.15854182839393616, -0.2808991074562073, 0.3170832395553589, 0.35596591234207153, -0.8622902631759644, -0.003282326040789485, -0.5466810464859009, -0.1383325606584549, 0.5183760523796082, -0.250216007232666, -0.06676872074604...
<li> <a href="/ev/favourites" id="favorites_tab">Favorites</a> </li> <li> <a href="http://search.twitter.com/search?q=to:ev" id="replies_search_tab">@Replies Search</a></li> </ul> ``` If you want the added link to show up in a different location, you'll need to futz around with `insertBefore` a bit. PS....
[ 0.2701895833015442, -0.19656576216220856, 0.6526406407356262, -0.05808379501104355, -0.4211515784263611, -0.06862218677997589, 0.1561916172504425, -0.14677694439888, -0.1263042390346527, -0.42807862162590027, -0.19224680960178375, 0.3524388372898102, -0.33587998151779175, 0.091961927711963...
I have a form in Axapta/Dynamics Ax (EmplTable) which has two data sources (EmplTable and HRMVirtualNetworkTable) where the second data source (HRMVirtualNetworkTable) is linked to the first on with "Delayed" link type. Is there a way to set an filter on the records, based on the second data source, without having to ...
[ 0.04323083534836769, -0.39685094356536865, 0.7205412983894348, 0.04592674598097801, -0.20648474991321564, -0.12160243839025497, 0.17947092652320862, -0.6105359792709351, -0.14883263409137726, -0.43736815452575684, -0.003636321984231472, 0.39401698112487793, -0.5090150237083435, 0.189165174...
qds.joinMode(JoinMode::OuterJoin); for (r = 1; r <= qds.rangeCount(); r++) { if (qds.range(r).value() && qds.range(r).status() == RangeStatus::Open) { qds.joinMode(JoinMode::InnerJoin); break;
[ -0.27580079436302185, -0.350094735622406, 0.6576761603355408, -0.5563614964485168, 0.4508959949016571, -0.20429205894470215, 0.5512494444847107, -0.6040524840354919, -0.07304879277944565, -0.2823139727115631, -0.699326753616333, 0.4571845531463623, -0.227911114692688, 0.1324186474084854, ...
} } } } ``` In the executeQuery() on the EmplTable datasource: ``` public void executeQuery() {; SysQuery::updateJoinMode(this.queryRun() ? this.queryRun().query().dataSourceTable(tableNum(HRMVirtualNetworkTable)) : this.query().dataSourceTable(tableNum(HRMVirtualNetworkTable))); super(); } ...
[ -0.058689363300800323, -0.32166796922683716, 0.5191149711608887, -0.17282062768936157, -0.042318280786275864, -0.15193454921245575, 0.48712870478630066, -0.3403445780277252, -0.4018003046512604, -0.4821484684944153, -0.3543657064437866, 0.6379218101501465, -0.49373218417167664, 0.256149023...
How do you make the authentication for a browser-based application dependent on the client machine? Say the admin can login only from **this** machine. Assumptions: There is complete control over the network and all machines (client and server) involved. I am looking for an apache/linux solution. You need to come up ...
[ 0.21341286599636078, 0.1957702934741974, 0.11996927857398987, -0.019141823053359985, -0.26391729712486267, -0.24942173063755035, 0.28937679529190063, -0.29174214601516724, -0.07635423541069031, -0.6273264288902283, 0.05947958305478096, 0.49362367391586304, -0.28408071398735046, 0.054782811...
this with Apache As that article says, you can set Apache to require the certificate, a user name and password AND limit connectivity to specifc IP addresses. EDIT: You don't need a separate web server to use client certificates. You might need a separate URL depending on how your application works. Note the exam...
[ 0.32567909359931946, 0.04056866466999054, 0.28693678975105286, 0.23648741841316223, -0.14619143307209015, -0.6224817037582397, 0.42069265246391296, -0.2669580578804016, -0.29350122809410095, -0.4033034145832062, -0.15516424179077148, 0.4171949326992035, -0.3185734450817108, 0.1366578489542...
When a pointer goes out of scope, its memory is freed, so why are `destructor`s created in c++? If you're asking why C++ classes have destructors, some classes have requirements other than just freeing memory. You may have an object that's allocated a socket connection that needs to be shut down cleanly, for example. ...
[ 0.22225069999694824, -0.1101839616894722, 0.08320455998182297, -0.0000358104553015437, 0.018795471638441086, -0.3691234886646271, 0.29595717787742615, -0.09388131648302078, -0.29883766174316406, -0.5833282470703125, -0.54886394739151, 0.5389670133590698, -0.5681453943252563, 0.314985454082...
a subtle but very important distinction.
[ -0.05985908582806587, -0.024917524307966232, -0.07988470792770386, 0.05038176476955414, -0.1764552891254425, 0.12649965286254883, -0.04104189947247505, -0.11136914789676666, 0.010579138062894344, -0.32801058888435364, 0.1346152275800705, 0.02986600622534752, 0.17881713807582855, 0.09943030...
As part of a VBA program, I have to set the background colors of certain cells to green, yellow or red, based on their values (basically a health monitor where green is okay, yellow is borderline and red is dangerous). I know how to set the values of those cells, but how do I set the background color. You can use eith...
[ 0.5289312601089478, 0.0186565313488245, 0.35887661576271057, -0.15019361674785614, 0.25308123230934143, 0.18244804441928864, 0.1069566085934639, -0.2747638523578644, -0.2069963961839676, -0.41490402817726135, 0.09974117577075958, 0.6446199417114258, -0.5818870067596436, 0.1222257912158966,...
I have a Windows CGI created with Delphi 2007 using CGIExpert that I need to debug. Is there any simply way to run it from within the IDE while passing parameters to it? I tried setting the Host Application to iexplore.exe (Run|Parameters) and entering some text on the Parameters field but it just can't seem to pass a...
[ 0.33767759799957275, -0.028501415625214577, 0.3122434616088867, -0.04763037711381912, -0.2372455596923828, -0.2122274935245514, 0.18174056708812714, -0.09801765531301498, -0.09185727685689926, -0.6226522326469421, 0.26078611612319946, 0.6020334959030151, -0.6051051616668701, 0.213886559009...
be worth a look. The author specifically mentions the fact that it assists with CGI applications. The nice thing about this solution is that it makes debugging an ISAPI (and I suspect a CGI application) as easy as debugging a windows form based application...just set a few breakpoints and debug away. To use it, just ...
[ 0.4745260775089264, -0.3779366612434387, 0.5208021402359009, 0.025050915777683258, -0.004723905585706234, -0.36695611476898193, 0.1717458963394165, -0.09020417928695679, 0.03886747732758522, -0.5703757405281067, 0.00987354014068842, 0.8948445916175842, -0.29992222785949707, 0.0255744848400...
Do you have any experience with [T4](http://www.olegsych.com/2007/12/text-template-transformation-toolkit/) and [T4 Editor](http://www.t4editor.net/)? Can you compare it to [CodeSmith](http://www.codesmithtools.com/) or [MyGeneration](http://www.mygenerationsoftware.com/)? What code generators do you use? What do you ...
[ 0.4719945788383484, -0.23393365740776062, 0.20661260187625885, 0.03640112653374672, -0.3515346348285675, -0.07071809470653534, -0.023221218958497047, -0.4019611179828644, -0.3476139307022095, -0.8279037475585938, 0.048387397080659866, 0.44683516025543213, -0.20223404467105865, 0.0709379464...
meta model of any DB and a lot of built in generator scripts - so that if you want to generate SPs, the easiest thing will be to use generators for MyGeneration - you can find generators for CRUD SPs right there. It also provides a reasonably good editor if you want to modify the generators. If you are building a DSL ...
[ 0.24538499116897583, -0.1980869024991989, 0.2709498405456543, 0.34767472743988037, -0.40071821212768555, -0.08501815050840378, 0.15091072022914886, -0.2196175903081894, -0.15506905317306519, -0.6257043480873108, 0.36705127358436584, 0.5327911376953125, -0.3431028723716736, -0.0115522164851...
Studio. You might consider purchasing Clarius T4 editor for good editing support.
[ 0.5517131686210632, -0.02012689597904682, 0.08474025130271912, 0.5190591216087341, 0.15135130286216736, -0.2543654143810272, -0.10796645283699036, -0.23128902912139893, -0.14517833292484283, -0.46427738666534424, -0.1557483822107315, 0.586978554725647, -0.07786767929792404, -0.088059231638...
Robocopy is the best reliable and feature rich way to batch copy files on Windows. However, it is a command line tool. I am looking for a library/API that I could do the same in my program. I tried to use Process.Start(), but then I have to capture and to parse stdout for progress bar and no way to the overwrite behav...
[ 0.3244820833206177, 0.03793720528483391, 0.17054389417171478, 0.2315359115600586, 0.10941245406866074, -0.01490057073533535, -0.103477843105793, 0.055586643517017365, -0.2602633237838745, -0.3886759579181671, 0.3812060058116913, 0.8277456760406494, -0.27537497878074646, 0.11511125415563583...
I missed? Thanks for your answers, and after some more research, I believe the API does not exist. The maximum degree of reusing the feature from Robocopy is fork a child process with command line arguments.
[ 0.48965317010879517, 0.013779222033917904, -0.08851321041584015, 0.2103293240070343, 0.08102595061063766, 0.17154967784881592, 0.14561063051223755, 0.2013816237449646, -0.12082614749670029, -0.08854301273822784, 0.15633755922317505, 0.5179576873779297, 0.0714850053191185, 0.308226853609085...
I'm interested in developing applications on the iPhone and being a .NET & ActionScript developer I'm a bit scared from the learning curve of Objective-C Cocoa Touch programming. I know that Adobe has Flash player ready for iPhone and I think that Apple doesn't want it just for political reason. Is there any easy alter...
[ 0.7055575251579285, 0.3708969056606293, 0.2116624116897583, 0.12818366289138794, 0.15343625843524933, 0.2363506406545639, 0.25600773096084595, 0.5058975219726562, -0.06306831538677216, -0.6212254166603088, 0.4704689085483551, 0.8263527750968933, 0.12633271515369415, -0.12433652579784393, ...
Flash then you can bet your sweet little bippy that there will be no Flash. So either develop a web app, or learn Objective-C. I'm a JAVA head and I learnt all I needed to know in about a month, in my spare time, so it's not as bad as it first seems.
[ 0.3515009582042694, 0.12785984575748444, 0.061409540474414825, 0.11771118640899658, -0.16237588226795197, -0.2592191994190216, 0.3093838691711426, 0.3644147217273712, -0.025671232491731644, -0.3403991758823395, -0.047309938818216324, 0.5152627229690552, -0.06485612690448761, -0.40664452314...
I've coded some smaller projects using Silverlight 2.0, which is fairly impressive. Does Silverlight 2.0 have what it takes to be a game development platform for the web? (Are the framerates high enough, will there be 3D engines developed, and many more questions) Yes or no, with detail if desired, and why. Silverli...
[ 0.5432895421981812, -0.0018280826043337584, 0.021568160504102707, 0.28083255887031555, -0.013368346728384495, -0.20353348553180695, 0.1477663218975067, -0.3036648631095886, 0.09672430902719498, -0.6081517934799194, 0.39059197902679443, 0.45255225896835327, 0.06043859198689461, 0.0498356148...
the lack of support by web game portals and ad-revenue sharing sites like [MochiAds](http://www.mochiads.com/) Without support from these kind of sites, your options to make money from your games will be a bit limited. Your best option for making money right now is to host your games on your own site with an Google a...
[ 0.6497253179550171, 0.09565335512161255, 0.025123998522758484, 0.3158404231071472, -0.024934763088822365, -0.2950301170349121, 0.07089955359697342, 0.18141207098960876, -0.3000882863998413, -0.3501621186733246, 0.12709061801433563, 0.2753418982028961, 0.11988507211208344, 0.266161620616912...
we will reach this tipping point.
[ 0.36763712763786316, -0.08698147535324097, 0.6357104778289795, 0.1048591136932373, 0.20647844672203064, -0.2925921678543091, 0.11101493239402771, 0.23161636292934418, 0.14529037475585938, -0.8599711656570435, 0.44851747155189514, 0.04850662499666214, 0.6035279631614685, 0.17375768721103668...
I am currently investigating several free/open source OpenGL based 3D engines, and was wondering if you guys could provide some feedback on these engines and how they are to work with in a real world project. The engines being compared are (in no particular order): [Crystal Space](http://www.crystalspace3d.org/main/M...
[ 0.19628092646598816, 0.2649191617965698, 0.5130957365036011, 0.2301173061132431, -0.5494654774665833, -0.06744726002216339, -0.031852465122938156, -0.11526279151439667, -0.4401561915874481, -0.35199812054634094, 0.26762837171554565, 0.2384597212076187, -0.17261546850204468, 0.2142343223094...
but it's made do do things easy. The counter effect is that it's hard to do specific things. Now, i think [Ogre](http://www.ogre3d.org) might be the most general purpose hardware accelerated 3D rendering engine around here. Maybe Horde3D is better suited for specific high quality rendering but nothing that cannot be d...
[ 0.4742298126220703, 0.2254895120859146, 0.22257575392723083, 0.07989972829818726, -0.47491884231567383, 0.02783171273767948, 0.12982061505317688, 0.4227028787136078, -0.2940273582935333, -0.3109431862831116, 0.09494463354349136, 0.4103868305683136, -0.11512620747089386, 0.30297431349754333...
We currently send an email notification in plain text or html format. Our environment is C#/.NET/SQL Server. I'd like to know if anyone recommends a particular solution. I see two ways of doing this: * dynamically convert current email to pdf using a third party library and sending the pdf as an attachment or * us...
[ 0.43101051449775696, -0.22268179059028625, 0.5203740000724792, 0.0915767177939415, -0.19913218915462494, -0.28231650590896606, 0.027325168251991272, 0.23032774031162262, -0.28411152958869934, -0.738320529460907, 0.15371227264404297, 0.17493820190429688, -0.09048822522163391, -0.08673654496...
convert your html pages to pdf. Here's an example: ``` class Program { static void Main(string[] args) { string html = @"<html> <head> <meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"" /> </head> <body> <p style=""color: red;"">Hello World</p> </body> </html>"; Docume...
[ 0.295171856880188, -0.11859589070081711, 0.9677664041519165, -0.06957308202981949, -0.34865716099739075, 0.12453713268041611, 0.24344700574874878, -0.21465319395065308, -0.08389631658792496, -1.1261464357376099, -0.31616902351379395, 0.7011497020721436, -0.3958151042461395, -0.056153133511...
{ PdfWriter.GetInstance(document, output); HtmlParser.Parse(document, reader); } } } ```
[ -0.09504333883523941, 0.023975558578968048, 0.8745173215866089, 0.21024097502231598, -0.03311106935143471, -0.30987682938575745, 0.19899988174438477, -0.32182568311691284, 0.04992487654089928, -0.7762178778648376, -0.5187116861343384, 0.5160749554634094, -0.39544063806533813, 0.08173162490...
It is not uncommon for me (or likely anyone else) to have a list of objects I need to iterate through and then interact with a list of properties. I use a nested loop, like this: ``` IList<T> listOfObjects; IList<TProperty> listOfProperties; foreach (T dataObject in listOfObjects) { foreach (TProperty property in...
[ 0.10716497898101807, 0.09230764210224152, -0.07212330400943756, -0.019662465900182724, -0.1389622986316681, 0.13293328881263733, 0.1535828560590744, -0.32978981733322144, -0.29594099521636963, -0.6525899767875671, -0.1517426073551178, 0.4294261336326599, -0.5848901867866516, 0.003816314041...
of course)? The code above doesn't make me smile. Can someone please help bring some joy to my loop? Thank you! Update: I use the term "nerd" in a most positive sense. As part of the wikipedia definition puts it "that refers to a person who passionately pursues intellectual activities". By "code nerd" I mean someone...
[ 0.6820390224456787, 0.0761481523513794, -0.19549985229969025, 0.4308762550354004, -0.11963175237178802, -0.46520474553108215, 0.4842286705970764, 0.42987462878227234, -0.2777569591999054, -0.5065481662750244, -0.26949235796928406, 0.5976948738098145, 0.09546218067407608, 0.1765414178371429...
like to make new words that end in -ify). Final note: Thank you to Dave R, Earwicker, and TheSoftwareJedi for sending me down the Linq path. It is just the sort of happy code I was looking for! Looks like you are trying to cartesian join two lists, and apply a where clause. Here's a simple example showing the Linq sy...
[ 0.48748767375946045, 0.10972066223621368, 0.34328609704971313, 0.21764078736305237, -0.043755702674388885, -0.31438201665878296, 0.3147296905517578, 0.13092143833637238, -0.23457075655460358, -0.5765810608863831, -0.23176604509353638, 0.542538583278656, -0.21003387868404388, -0.00683850236...
var list1 = Enumerable.Range(1, 100); var list2 = Enumerable.Range(1, 100); foreach (var item in from a in list1 from b in list2 where a % b
[ 0.0031510801054537296, -0.11552038043737411, 0.44614163041114807, -0.37310704588890076, -0.11595112830400467, 0.4841312766075134, 0.3963938355445862, -0.7303969264030457, -0.14241723716259003, -0.2367955595254898, -0.31971266865730286, 0.44230958819389343, -0.3520399332046509, -0.107860133...
== 0 select new { a, b }) { Console.WriteLine(item); }; ``` Performance will be identical to what you posted though - no desire to mislead on that respect. I do prefer this Linq syntax.
[ 0.12143182754516602, -0.06977631151676178, 0.6657421588897705, -0.21787619590759277, 0.011840525083243847, -0.07217884063720703, 0.5149168968200684, -0.0961335301399231, 0.09869421273469925, -0.6557875871658325, -0.0628650039434433, 0.7180207371711731, -0.11897992342710495, 0.0607948750257...
I am currently using TcpListener to address incoming connections, each of which are given a thread for handling the communication and then shutdown that single connection. Code looks as follows: ``` TcpListener listener = new TcpListener(IPAddress.Any, Port); System.Console.WriteLine("Server Initialized, listening for...
[ -0.0010042776120826602, 0.07344871759414673, 1.039258599281311, -0.38850292563438416, 0.15487872064113617, -0.15854644775390625, 0.31726938486099243, -0.14788290858268738, -0.20472677052021027, -0.7173910737037659, -0.26202985644340515, 0.5855603218078613, -0.31471002101898193, 0.500728070...
stop listening for clients. Setting listen to `false` will prevent it from taking on more connections, but since `AcceptTcpClient` is a blocking call, it will at minimum take the next client and THEN exit. Is there any way to force it to simply break out and stop, right then and there? What effect does calling listener...
[ 0.3902002274990082, -0.02406742237508297, 0.19708070158958435, -0.10685031861066818, 0.1308409571647644, -0.4617922902107239, 0.5569102168083191, -0.11419808119535446, -0.19190500676631927, -0.3034634292125702, 0.08278117328882217, 1.0588386058807373, -0.7419636845588684, 0.306442320346832...
cause a `ThreadAbortException` within the blocking call and walk up the stack. 2. TcpListener.Pending() ------------------------ The second low cost fix is to use the `listener.Pending()` method to implement a polling model. You then use a `Thread.Sleep()` to wait before seeing if a new connection is pending. Once yo...
[ 0.22371868789196014, -0.29601240158081055, 0.876274585723877, -0.036758698523044586, 0.24961403012275696, -0.059739768505096436, 0.005085136741399765, -0.38031578063964844, -0.37121909856796265, -0.6968243718147278, -0.05880577862262726, 0.744463324546814, -0.10695943981409073, 0.251096487...
makes sense continue; // skip to next iteration of loop } TcpClient client = listener.AcceptTcpClient(); Thread clientThread = new Thread(new ParameterizedThreadStart(HandleConnection)); clientThread.Start(client.GetStream()); client.Close(); } ``` Asynchronous Rewrite -------------...
[ 0.12252524495124817, -0.03364596143364906, 0.7839019298553467, -0.048055440187454224, 0.08387218415737152, -0.33617478609085083, 0.4523850381374359, -0.3415723741054535, -0.33106034994125366, -0.44288209080696106, 0.012052222155034542, 0.4581790268421173, -0.48808756470680237, 0.4355731308...
you would start your code with the `BeginAcceptTcpClient()` method and keep track of the `IAsyncResult` that you are returned. You point that at a method whose responsible for getting the `TcpClient` and passing it off *NOT* to a new thread but to a thread off of the `ThreadPool.QueueUserWorkerItem`, so you're not spin...
[ 0.5097212791442871, -0.13873960077762604, 0.31404203176498413, 0.08344696462154388, 0.17330890893936157, -0.15763463079929352, -0.032877203077077866, 0.026990775018930435, -0.36674946546554565, -0.45988065004348755, -0.008855045773088932, 0.4586239159107208, -0.32252225279808044, 0.4476256...
system may be starved). Once the listener method has kicked off your new `TcpClient` to its own `ThreadPool` request, it calls `BeginAcceptTcpClient()` again and points the delegate back at itself. Effectively you're just breaking up your current method into 3 different methods that will then get called by the various...
[ 0.12474418431520462, -0.2641536295413971, 0.6991891860961914, -0.04399160295724869, 0.2450665980577469, -0.2520478069782257, 0.21653209626674652, -0.30827489495277405, -0.36094430088996887, -0.5301216840744019, -0.16071677207946777, 0.5395898222923279, -0.35785144567489624, 0.4285263717174...
are called even in the event of an exception. Alternately you can put this in the `finally` block of a `try {} finally {}` block.)
[ -0.24445845186710358, 0.07339940220117569, 0.1640159636735916, -0.029633885249495506, 0.19668836891651154, 0.08449535071849823, 0.44232648611068726, -0.10712409764528275, -0.3329771161079407, -0.3064801096916199, -0.48099276423454285, 0.46512213349342346, -0.28856372833251953, 0.1114699691...
I've worked with a few of these in the past, but I'm looking for a good, reliable and extensible data class for ASP.NET 3.5, that I can adopt and extend for future projects. I'm not looking for LinQ, and I don't want anything which won't be a source-code level solution. Ideally, it also won't be heavy. Simple.Best...
[ 0.4115522801876068, -0.03283126279711723, 0.32824385166168213, 0.23957714438438416, -0.09037419408559799, -0.2938855290412903, -0.059328000992536545, -0.2696719467639923, -0.46962976455688477, -0.7275532484054565, -0.12982429563999176, 0.2169133871793747, -0.0882258340716362, -0.0024675377...
Is there a way to identify at run-time of an executable is being run from within valgrind? I have a set of C++ unit tests, and one of them expects `std::vector::reserve` to throw `std::bad_alloc`. When I run this under valgrind, it bails out completely, preventing me from testing for both memory leaks (using valgrind) ...
[ 0.00912428181618452, 0.017359046265482903, -0.06261154264211655, -0.2782233953475952, 0.03207021206617355, -0.00005508075264515355, 0.44556260108947754, -0.29686158895492554, -0.3321104645729065, -0.3683398962020874, -0.03826289251446724, 0.618846595287323, -0.5324859023094177, 0.008902277...
an exception, but Valgrind cannot throw exceptions and so is aborting instead. Sorry. at 0x40192BC: VALGRIND_PRINTF_BACKTRACE (valgrind.h:319) by 0x401C823: operator new(unsigned) (vg_replace_malloc.c:164) by 0x80487BF: std::vector<char, std::allocator<char> >::reserve(unsigned) new_allocator.h:92) by 0...
[ -0.2360171377658844, -0.061121851205825806, 0.487368106842041, -0.19730597734451294, 0.16186441481113434, 0.2663394808769226, 0.30829012393951416, -0.08423429727554321, -0.389270156621933, -0.29088860750198364, -0.29507121443748474, 0.70649254322052, -0.3411681354045868, -0.249862596392631...
I have been a .net developer for the past three yrs. Just curious to know about the network security field. What kind of work does the developers working in these area do? I really have not much idea about network security but what my understanding is these people are involved in securing network, preventing attacks on...
[ 0.5342960953712463, -0.10726173222064972, 0.01338128000497818, 0.09780283272266388, -0.08895199745893478, -0.23211663961410522, 0.023585287854075432, 0.01211964339017868, -0.39993494749069214, -0.656696617603302, 0.38730764389038086, 0.5375325083732605, 0.23600539565086365, 0.1458475738763...
the difference between a left join and an inner join?](https://stackoverflow.com/questions/448023/what-is-the-difference-between-left-right-outer-and-inner-joins) * [What's the difference between viewstate and sessionstate?](https://stackoverflow.com/questions/733482/what-is-the-difference-between-sessionstate-and-view...
[ -0.18242822587490082, -0.1602068990468979, 0.22870458662509918, -0.017902802675962448, -0.1235148087143898, -0.12401359528303146, 0.09606131166219711, -0.3011292815208435, -0.17312733829021454, -0.08889760076999664, -0.16464288532733917, 0.5913000702857971, -0.3642692267894745, 0.019979402...
What's a weakreference? When would you want to use one? * What's the difference between a DataTable and a DataReader? * What's the difference between a value-type and a reference type? * What does the "readonly" keyword in C# mean? I think it usually helps to ask your applicants to complete a simple coding exercise su...
[ -0.073841392993927, -0.1358581781387329, 0.11548475176095963, 0.2640341818332672, -0.1854371875524521, -0.13376635313034058, 0.35617148876190186, -0.008897955529391766, -0.0018066888442263007, -0.34161293506622314, -0.14864927530288696, 0.35318970680236816, -0.24804642796516418, -0.1424276...
on an array without using built-in methods. * Draw a database schema for a blog. Each user only has one blog, each blog has many categories, each category has many posts, and each post can belong to more than one category. Ask your applicant to write queries to pull specific information out. Next, look for specific te...
[ 0.42702850699424744, -0.03789931908249855, 0.19885417819023132, 0.4168148934841156, -0.10860713571310043, 0.007085650227963924, 0.04863637313246727, -0.2079443633556366, -0.3053819537162781, -0.5658305883407593, -0.18293273448944092, 0.38285520672798157, -0.1542574018239975, -0.01027181278...
another function as a parameter. A Map or Fold function works really good for this. * (Reflection) Write a function which determines if a class has a particular attribute. * (Regex) Write a regular expression which removes all tags from a block of HTML. None of these are particularly difficult questions for a proficie...
[ 0.22607937455177307, -0.1224907711148262, -0.020661089569330215, 0.18245606124401093, -0.3916971981525421, 0.0014303411589935422, 0.36311671137809753, -0.1794285625219345, -0.13540935516357422, -0.6264473795890808, -0.13959729671478271, 0.452474445104599, -0.3594534993171692, -0.4131858050...
types of questions. Let me touch on a few peoples comments (I'm not quoting directly, but paraphrasing instead): --- **Q:** When was the last time anyone used volatiles or weak references? **A:** When I give technical interviews, I look to see whether a person understands the high-level *and* low-level features of ....
[ 0.5016552209854126, 0.23184798657894135, -0.10126268863677979, 0.3386699855327606, -0.26436635851860046, -0.12762437760829926, 0.1642991304397583, 0.1956305354833603, -0.2375025749206543, -0.5865729451179504, 0.019852573052048683, 0.5345006585121155, -0.16635531187057495, -0.05493257194757...