text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
On our Scrum team there are a couple of members who crank stuff out to the page without unit testing, then complain when changes are made elsewhere in the code that break their stuff. The refrain is always "It used to work, what did you do?" We are early in moving to Agile, and CI is one of the next things on the agen...
[ 0.9057453274726868, 0.013247157447040081, -0.00245114928111434, -0.3076365292072296, 0.09988628327846527, -0.23694674670696259, 0.0850648507475853, 0.0010272545041516423, -0.2054716795682907, -0.315762460231781, 0.18845023214817047, 0.6593196988105774, 0.3461422920227051, -0.01828032732009...
Basic question: How do I load an Excel template for use with POI and then save it to an XLS file? *Edit:* The answer is: ``` FileInputStream inputStream = new FileInputStream(new File(templateFile)); Workbook workbook = new HSSFWorkbook(inputStream); ``` (Just load the template as a workbook and then write the wor...
[ 0.42834094166755676, -0.006368895061314106, 0.470720112323761, -0.1815183162689209, 0.12250908464193344, 0.06714574992656708, -0.049256760627031326, -0.3012142479419708, 0.11118239164352417, -0.9344977736473083, -0.07232765108346939, 0.7360638380050659, -0.4962441027164459, -0.566858828067...
save as a newly-created .xls. That all worked fine.
[ 0.4072491526603699, -0.2715487480163574, 0.11438402533531189, 0.3704597055912018, -0.23592731356620789, 0.08019764721393585, 0.07338861376047134, 0.2526049315929413, -0.07399029284715652, -0.40646642446517944, 0.1452745795249939, 0.4304429590702057, -0.3786650598049164, -0.1092657968401908...
How easy would it be to write a dumb LINQ provider that can just use my class definitions (which don't have any object references as properties) and give me the translated SQL. It can assume the name of the properties and the columns to be same as well as the names of the classes and the underlying tables. Can you plea...
[ 0.358839750289917, 0.3723018765449524, 0.05804518237709999, 0.21316713094711304, -0.08072972297668457, -0.06776441633701324, 0.4082242548465729, -0.051791712641716, 0.1612962782382965, -0.3062002658843994, 0.22103600203990936, 0.5150195956230164, -0.06390713900327682, -0.2722119688987732, ...
unstable version after about three weeks, so if you're just looking for something rough I would say you're probably looking at anything from a week up to two months depending on how good you are and what types of requiements you have. I must point you to the Wayward blog for this, Matt has written a really good walkt...
[ 0.0024777932558208704, -0.16323556005954742, 0.16913250088691711, 0.40975573658943176, 0.005311927292495966, -0.012162603437900543, 0.4033512473106384, 0.5386614799499512, -0.06306685507297516, -0.6092120409011841, 0.1153201088309288, 0.42808589339256287, -0.11424781382083893, 0.0713767036...
<http://blogs.msdn.com/mattwar/archive/2007/07/30/linq-building-an-iqueryable-provider-part-i.aspx> . I recommend you go about it the same way Matt does, and extend the expression tree visitor Matt includes in the second part of his tutorial. Also, when I began working with this, I had so much help from the expressio...
[ 0.2510366141796112, 0.09087607264518738, 0.5181604623794556, 0.19638675451278687, -0.2283882349729538, -0.18681082129478455, 0.34014779329299927, 0.21271401643753052, -0.05668000876903534, -0.700942873954773, 0.013944416306912899, 0.5210874676704407, 0.26345232129096985, -0.142500653862953...
What are your opinions and expectations on [Google's Unladen Swallow](http://code.google.com/p/unladen-swallow/wiki/ProjectPlan)? From their project plan: > We want to make Python faster, but we > also want to make it easy for large, > well-established applications to > switch to Unladen Swallow. > > > 1. Produce...
[ 0.577899694442749, 0.05064472556114197, 0.24907489120960236, -0.006765339989215136, 0.1696758270263672, -0.08418700844049454, 0.24338124692440033, -0.0017974385991692543, -0.09900972992181778, -0.3473142981529236, -0.1117452010512352, 0.3546127676963806, -0.3296467661857605, -0.18576475977...
even sweeter: > In addition, we intend to remove the > GIL and fix the state of > multithreading in Python. We believe > this is possible through the > implementation of a more sophisticated > GC It almost looks too good to be true, like the best of PyPy and Stackless combined. More info: * Jesse Noller: ["Py...
[ 0.27189964056015015, 0.12550435960292816, 0.42217621207237244, -0.020796576514840126, -0.15815909206867218, -0.10974712669849396, 0.1184040755033493, 0.07135112583637238, -0.3820793926715851, -0.33295345306396484, 0.04300261661410332, 0.7924481630325317, -0.09890718758106232, -0.0194073244...
people from Google. Seeing as how the BDFL is also employed there, this is a positive. 2. Off the bat, they state that this is a branch, and not a fork. As such, it's within the realm of possibility that this will eventually get merged into trunk. 3. Most importantly, **they have a working version**. They're using a ve...
[ 0.9993677139282227, 0.10758528113365173, 0.3132278025150299, 0.07756507396697998, 0.09916507452726364, -0.14885792136192322, 0.17302849888801575, 0.7586415410041809, -0.3765884041786194, -0.41203370690345764, 0.11161641776561737, 0.2624945342540741, 0.22947624325752258, 0.10222768038511276...
my breath on GIL removal, but even if they never get around to that, the speed increases alone make it awesome.
[ 0.30165642499923706, 0.2691742479801178, 0.644116997718811, 0.06465251743793488, 0.017474262043833733, 0.08541253954172134, 0.3207883834838867, 0.23106412589550018, -0.13808001577854156, -0.6296093463897705, 0.6716047525405884, 0.16079771518707275, 0.31435760855674744, 0.11690060794353485,...
I have this code: ``` public void replay() { long previous = DateTime.Now.Ticks; for (int i = 0; i < 1000; i++) { Thread.Sleep(300); long cur = DateTime.Now.Ticks; Console.WriteLine(cur - previous); previous = cur;
[ 0.4624631702899933, -0.08265004307031631, 0.5792157649993896, -0.5261684656143188, 0.21217525005340576, 0.20111006498336792, 0.32282590866088867, -0.10171905159950256, -0.15462909638881683, -0.32672789692878723, 0.11882878094911575, 0.5142708420753479, 0.06365469843149185, 0.64796483516693...
} } ``` Which is invoked as a separate thread like this: ``` MethodInvoker replayer = new MethodInvoker(replay); replayer.BeginInvoke(null, null); ``` However, if I watch the output, it acts strangely. It outputs `i` in pairs. For example, it'll wait a full wait, then output `i`, then quickly o...
[ 0.06789857149124146, -0.05679672211408615, 0.3141600787639618, -0.2694189250469208, -0.021237269043922424, 0.013434194959700108, 0.5268159508705139, -0.36330005526542664, -0.5531961917877197, -0.5156449675559998, 0.08401364088058472, 0.5673230886459351, -0.37138473987579346, 0.263152003288...
your analysis: ``` public void replay() { Thread.Sleep(5000); DateTime start = DateTime.Now; for (int i = 0; i < 1000; i++) { Console.WriteLine(string.Format("Exec:{0} - {1} ms", i, DateTime.Now - start));
[ 0.1248198077082634, -0.23944340646266937, 0.5748946666717529, -0.26712900400161743, 0.4468742311000824, 0.11687776446342468, 0.15566818416118622, -0.137342631816864, -0.25128093361854553, -0.5562266111373901, -0.15994371473789215, 0.6214356422424316, -0.044642917811870575, 0.27765700221061...
start = DateTime.Now; Thread.Sleep(300); } } ``` Looking at your modified output, there is less than 5% variance (15ms out of the 300) in the loop delay. This is normal, due to the uncertainties involved in when the OS actually assigns timeslices to the thread... (If I recall correctly, in a win...
[ 0.3204190731048584, -0.29251113533973694, 0.5613124370574951, -0.2661769986152649, 0.4957306385040283, -0.18669016659259796, 0.3970586955547333, 0.038249291479587555, -0.3387123644351959, -0.6933649182319641, -0.10285479575395584, 0.5597065091133118, -0.1016634926199913, 0.1626818329095840...
In Windows Forms, it was useful at times to have one window that inherited from another window. But in WPF, this is not allowed. Why is there no visual inheritance for WPF windows? In WPF, a large effort was made to separate visual from logical. Because of this, there is a LARGE amount of freedom to make the UI look ho...
[ 0.34359076619148254, -0.20059102773666382, 0.45582544803619385, 0.16076529026031494, -0.05956553667783737, -0.24211911857128143, 0.2531621754169464, -0.1740996092557907, -0.12559093534946442, -0.9798387885093689, -0.13967636227607727, 0.4584713578224182, -0.3478471040725708, 0.146427556872...
use it.
[ 0.366906076669693, 0.4492892324924469, -0.5660685300827026, 0.2177218198776245, -0.23578359186649323, -0.0965019017457962, -0.029448069632053375, 0.06661152839660645, 0.3531820774078369, -0.7198171615600586, 0.07405083626508713, 0.5352701544761658, -0.06213390827178955, 0.10989633202552795...
I have an ASP.NET MVC project in C# using Forms Authentication and Active Directory is the Membership Provider (users login with their existing uid/pwd). However, I would like the roles to be supplied by aspnet\_Roles (the default table created by the application). In my Web.config I have: with default setting for this...
[ 0.14009398221969604, -0.23171789944171906, 0.5237770676612854, 0.05799510329961777, -0.06945480406284332, -0.07171021401882172, 0.09670339524745941, 0.0890200138092041, -0.41881585121154785, -0.7384272217750549, 0.05917693302035332, 0.28593549132347107, -0.06568805128335953, 0.082875736057...
same, but instead of countries and DropDown I would like to pull Roles from a table and populate check boxes. In my UsersController.cs I have: ``` // // ViewModel Classes public class UserFormViewModel { // properties public User User { get; private set; } public SelectList Roles { get; private set; } ...
[ 0.044072508811950684, -0.40025052428245544, 0.6442853808403015, -0.22373782098293304, -0.06346004456281662, 0.09454132616519928, 0.19731545448303223, -0.09924175590276718, -0.1729840636253357, -1.04059636592865, -0.06975843012332916, 0.6228852868080139, -0.09590601176023483, 0.153345137834...
} } ``` In my view I have (which of course will not work): ``` <ul> <% foreach (var role in Roles as IEnumerable<SelectListItem>)) { %> <li><%= Html.CheckBox(role.ToString())%> <%= role.ToString() %></li> <% } %> </ul> ``` P.S. I am a newbie to .NET, but I love it! Correct me if I am wrong, but I think...
[ 0.021414874121546745, -0.020431818440556526, 0.4490529000759125, -0.3124920129776001, -0.0784158930182457, -0.030159438028931618, 0.08814829587936401, -0.17869576811790466, -0.0943942591547966, -0.961773157119751, -0.046893034130334854, 0.5811030864715576, -0.2577652633190155, 0.0612410120...
separate visual from logical. Because of this, there is a LARGE amount of freedom to make the UI look however you want. All of the controls, including windows, are "lookless". You can provide your own look via templates and styles. A default visual style has been provided that makes everything look like you would expec...
[ 0.4151289463043213, -0.1548788696527481, 0.5002942681312561, 0.3041714131832123, 0.03166326880455017, -0.03852909430861473, 0.07530660182237625, 0.11532658338546753, -0.009516195394098759, -0.715609610080719, -0.2712431252002716, 0.6333662867546082, -0.3452003300189972, 0.10135222971439362...
I have a settings file that is under version control using subversion. Everybody has their own copy of this file, and I need this not to be ever committed. However, like I said, there is already a copy under version control. My question is: **how do I remove this file from version control without deleting everyone's fi...
[ 0.4794919490814209, 0.25353777408599854, 0.33083873987197876, -0.13637453317642212, 0.10759028047323227, -0.3311201333999634, 0.5700473189353943, 0.2664484977722168, -0.44222912192344666, -0.6669111847877502, -0.18714258074760437, 0.6825987696647644, -0.44205042719841003, 0.282066762447357...
copy isn't deleted on the next `svn update`, but after that, the local file would stay undisturbed and ignored by SVN.
[ 0.23417875170707703, 0.16329443454742432, 0.5390321016311646, 0.2778591811656952, 0.3734182119369507, -0.5055937170982361, 0.19831404089927673, 0.35096150636672974, -0.3080202341079712, -0.46569183468818665, -0.5916429758071899, 0.4843549430370331, -0.3170659840106964, 0.29084277153015137,...
So I'm coding a Greasemonkey script for this website.. Anyway, my problem is I can't attach the onclick event into my newly created anchor. I don't know what's wrong, maybe because I'm in Greasemonkey thats why It didn't work as expected? ``` function createButton() { var a = document.createElement('a'); var ...
[ 0.2634925842285156, 0.4047646224498749, 0.6963330507278442, -0.27811703085899353, 0.10588598996400833, 0.32673582434654236, 0.2735355496406555, -0.1590830534696579, -0.14621353149414062, -0.3223695158958435, -0.2179388403892517, 0.4861796796321869, -0.38684484362602234, -0.0720284730195999...
'Print Topic'; a.id = 'prt'; a.onclick = getTopic; // DOESN'T WORK document.body.insertBefore(a, document.body.lastChild); document.body.appendChild(css); } ``` I tried the other technique like setAttribute ``` a.setAttribute('onclick', function() { alert("hey"); }); ``` setAttribute also didn't wo...
[ 0.541918158531189, 0.3411751389503479, 0.48362451791763306, -0.12702488899230957, -0.11261435598134995, -0.3356650173664093, 0.35669487714767456, -0.2899068593978882, -0.016515132039785385, -0.42218101024627686, 0.030931316316127777, 1.1279171705245972, -0.4882402718067169, -0.148338004946...
of the anchor - `a.attachEvent(getTopic)` Edit - attachEvent is IE only. For Firefox, you'll have to use addEventListener - `a.addEventListener(getTopic)`
[ 0.03194679319858551, 0.3071083724498749, 0.7956218719482422, -0.325180321931839, 0.1769515722990036, -0.14384259283542633, 0.19209501147270203, -0.3096592128276825, 0.13055919110774994, -0.41617944836616516, -0.4805651903152466, 1.0206444263458252, -0.6631451845169067, -0.21508856117725372...
I have a flash control that I want to integrate with in SharePoint and would like to know what is the best way to read from a list so that I can display items in the flash control? Code examples/ideas are welcome. I have written a custom ASPX page that emits list data as XML. The flash developer calls this ASPX and co...
[ 0.3534761965274811, 0.08437496423721313, 0.46791091561317444, 0.14157935976982117, -0.2542087435722351, -0.1962355077266693, 0.0544082410633564, 0.07796245813369751, -0.2986016273498535, -0.630710244178772, 0.04520457983016968, 0.5630434155464172, -0.3178772032260895, -0.19094489514827728,...
need (if not all) * convert to xml ( I use ) * make sure to set the responsetype of the page to XML
[ 0.2697526514530182, 0.12788479030132294, 0.38588210940361023, 0.025458019226789474, -0.25704532861709595, -0.18682901561260223, 0.15113995969295502, -0.07247714698314667, -0.03210455924272537, -0.789506196975708, -0.31990674138069153, 0.3310182988643646, -0.12400595843791962, -0.3094767630...
I'm trying to save a Word document into iManage using ImportCmd from IMANEXTLib and I'm getting a new instance of Word every time I run it. I've saved the document to doc1.doc, and then: ``` 'Connects to WorkSite Dim dmsConnection As IManage.IManDMS = New IManage.ManDMSClass() dmsConnection.ApplicationNam...
[ 0.1461942344903946, 0.012428117915987968, 0.6892198324203491, -0.2697984576225281, -0.0022980868816375732, 0.31118473410606384, 0.6541167497634888, -0.3501906096935272, -0.04544270038604736, -0.8266691565513611, -0.24193280935287476, 0.5290431976318359, -0.27112358808517456, 0.286291986703...
hwndWord = MyApi.FindWindow("OpusApp", Application.Caption) Application.Caption = strTempCaption Dim intKeepCheckedOut As Integer Dim docJustSaved As IManage.NRTDocument Dim objImportCmd As IMANEXTLib.ImportCmd Dim objContextItems As New IMANEXTLib.ContextItems 'Sets up ContextItems ready for s...
[ -0.45107734203338623, -0.10247748345136642, 0.8297645449638367, -0.18104194104671478, 0.12684214115142822, 0.27823689579963684, 0.36058515310287476, -0.28538480401039124, -0.017717983573675156, -0.7558836936950684, -0.37793880701065063, 0.4503132998943329, -0.3199813663959503, 0.3019726276...
intKeepCheckedOut) 'Forces a blank description objContextItems.Add("ImanExt.Import.DocDescription", "") objImportCmd = New IMANEXTLib.ImportCmd objImportCmd.Initialize(objContextItems) objImportCmd.Update() If objImportCmd.Status = IMANEXTLib.CommandStatus.nrActiveCommand Then 'Imports...
[ -0.04387606307864189, 0.17289738357067108, 0.5027218461036682, -0.14091543853282928, 0.03651851415634155, 0.16386038064956665, 0.5718172788619995, -0.17045743763446808, -0.1928645670413971, -0.7612749934196472, -0.30130186676979065, 0.5424561500549316, -0.34155386686325073, 0.2448004335165...
one user account (mine) and then I just deleted my user profile. My shiny! new! profile doesn't have the same problem.
[ 0.5186892747879028, 0.08585438132286072, -0.05088769271969795, -0.05881083384156227, -0.2764360010623932, -0.013448559679090977, 0.4786771535873413, 0.4789492189884186, -0.2469588816165924, -0.5244211554527283, 0.31199920177459717, 0.46148577332496643, -0.06232285127043724, 0.4440856277942...
I am trying to migrate an old project to using LINQ but I have run into a pretty major problem. The problem is we have dynamic tables for search indexing (CM-system with dynamic attributes). The search index has columns for each searchable attribute { attribute\_x, attribute\_y, ... }. Now the problem is I cannot stati...
[ -0.01823953166604042, 0.2597356140613556, 0.4417218267917633, 0.10119697451591492, -0.03126312419772148, 0.025406939908862114, -0.041101615875959396, -0.08635403960943222, -0.2742733955383301, -0.6681706309318542, 0.17494960129261017, 0.48610368371009827, -0.48118850588798523, 0.2161392569...
able to generate a valid type by reflection. (It seems no MemberInfo is generated). I could also satisfy with just being able to generate an expression for searching ( but I guess this is no easier task ). Something along the lines of ``` var mySearchIndex= db.GetTable(myTableType); var query = from p in db.Products...
[ 0.25043532252311707, 0.1422238051891327, 0.3692406117916107, 0.14737360179424286, -0.3494347035884857, -0.09861988574266434, 0.47789058089256287, -0.3298136293888092, 0.04932105541229248, -0.61965411901474, 0.1248440369963646, 0.433070570230484, -0.29229116439819336, 0.16162723302841187, ...
I noticed that the problem only occurred under one user account (mine) and then I just deleted my user profile. My shiny! new! profile doesn't have the same problem.
[ 0.4846043884754181, 0.2028665691614151, -0.02566368505358696, -0.07434535771608353, -0.19831109046936035, -0.018238481134176254, 0.5991195440292358, 0.4312659204006195, -0.3994695842266083, -0.40608280897140503, 0.2013152837753296, 0.48143258690834045, 0.04311807453632355, 0.51700556278228...
I have a simple web service to allow applications to query my CMDB. The function I am having trouble with works with a small resultset but fails with a larger one, indicating that it is something in the WCF service config that is preventing it succeeding. I have a simple WinForms test app with a Service Reference to t...
[ 0.19305892288684845, 0.13787074387073517, 0.39506229758262634, 0.14365430176258087, -0.07413081079721451, 0.06885597109794617, 0.37269073724746704, -0.3599887788295746, 0.17638982832431793, -0.7541654109954834, 0.10235778987407684, 0.5773661136627197, 0.07015708088874817, 0.032706402242183...
have missed? I would be expecting a more detailed error message if that was the problem. Thanks in advance, Nick --- The error the is returned is: ``` System.ServiceModel.CommunicationException: The underlying connection was closed: The connection was closed unexpectedly. ---> System.Net.WebException: The underlyi...
[ 0.17253781855106354, -0.14252273738384247, 0.3196638524532318, -0.13233831524848938, 0.10444223880767822, 0.002871788339689374, 0.47512286901474, -0.41584739089012146, -0.3361566960811615, -0.5019091963768005, -0.16276298463344574, 0.4809928238391876, -0.2820121645927429, 0.385155290365219...
at System.ServiceModel.Channels.ClientReliableChannelBinder`1.Request(Message message, TimeSpan timeout, MaskingMode maskingMode) at System.ServiceModel.Channels.ClientReliableChannelBinder`1.Request(Message message, TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionClientSettings`1.SecurityRequest...
[ -0.5149615406990051, -0.14731913805007935, 0.6247134208679199, 0.07642761617898941, 0.19189496338367462, 0.07802363485097885, 0.4520036578178406, -0.39957427978515625, -0.2803318202495575, -0.8754540085792542, -0.6704321503639221, 0.4971521198749542, -0.14584121108055115, 0.100695185363292...
Documents\Visual Studio Projects\Virtual Operations Manuals\Trunk\src\TestRig\Service References\CmdbDataService\Reference.vb:line 1480 at TestRig.Form1.btnGetServers_Click(Object sender, EventArgs e) in C:\Apps\Virtual Operations Manuals\Trunk\src\TestRig\Form1.vb:line 8 ``` The calling function in the applicatio...
[ -0.1835196614265442, 0.33745020627975464, 0.625655472278595, -0.05764972046017647, 0.12334348261356354, 0.07715950161218643, 0.378732293844223, -0.14102767407894135, -0.11891280859708786, -0.7409151196479797, -0.8457508087158203, 0.45220947265625, -0.058115310966968536, 0.06941717863082886...
txtResults.Text &= monitors.Count & " monitors returned" Catch ex As Exception If Not IsNothing(proxy) AndAlso proxy.State <> ServiceModel.CommunicationState.Closed Then proxy.Abort() txtResults.Text = ex.ToString Finally proxy = Nothing End Try End Sub ``` On the test rig side the app.config contai...
[ -0.015871448442339897, -0.03898215666413307, 0.7028976678848267, -0.10686647146940231, 0.0781736969947815, 0.11825887858867645, 0.7385455369949341, -0.3530873954296112, -0.22164709866046906, -0.7046136856079102, -0.3241123557090759, 0.6773543357849121, -0.019291142001748085, 0.025771148502...
<binding name="WSHttpBinding_Default" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:05:00" maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600"> <readerQuotas maxDepth="104857600" maxStringContentLength="104857600" maxArray...
[ -0.5821936726570129, -0.008280006237328053, 0.8675901889801025, -0.0029023641254752874, -0.34550386667251587, -0.0654158666729927, 0.5451103448867798, -0.7633650302886963, -0.11662545800209045, -0.38045963644981384, -0.27781760692596436, 0.36268651485443115, -0.18898910284042358, 0.2003171...
contract="CmdbDataService.ICmdbDataService" name="WSHttpBinding_ICmdbDataService"> <identity> <userPrincipalName value="MyMachine\ASPNET" /> </identity> </endpoint> </client> </system.serviceModel> ``` and on the service side the web.config is: ``` <system.serviceModel> <d...
[ -0.18217575550079346, 0.08172319084405899, 0.5325357913970947, 0.029438382014632225, -0.034934792667627335, 0.12610581517219543, 0.3984222412109375, -0.48924386501312256, -0.25084447860717773, -0.6282402873039246, -0.23767836391925812, 0.593784749507904, 0.2210417538881302, 0.1338881254196...
<endpoint address="soap11" binding="basicHttpBinding" contract="MyCorp.Cmdb.Services.DataService.ICmdbDataService" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> </service> </services> <behaviors> <serviceBehaviors> <behavior name="ServiceBehavior...
[ -0.012998472899198532, 0.14891600608825684, 0.4072778522968292, -0.08064844459295273, -0.02184036560356617, 0.20580671727657318, 0.5719980597496033, -0.4531487226486206, -0.11151877790689468, -0.6545417308807373, -0.04433101415634155, 0.5657200813293457, 0.06721162796020508, 0.387017190456...
pointed me at [this blog post](http://blogs.conchango.com/merrickchaffer/archive/2007/09/19/WCF-System.Net.WebException_3A00_-The-underlying-connection-was-closed_3A00_-The-connection-was-closed-unexpectedly.aspx) where the actual culprit is the maxItemsInObjectGraph property in the endpoint behaviours. Bumping these ...
[ -0.17969517409801483, 0.1310144066810608, 0.5678725242614746, -0.002084593754261732, -0.2327880859375, -0.1374768167734146, 0.44330814480781555, 0.36702993512153625, -0.20108751952648163, -0.4011176526546478, 0.36434948444366455, 0.5010055303573608, -0.0012673604069277644, 0.38553512096405...
I finally figured out [how to print transformed XML](https://stackoverflow.com/questions/707518/printing-transformed-xml) without prompting the user or showing an IE window, but now I need to specify a number of copies and possibly other printer settings. Is there a way to programmatically change printer settings on ...
[ 0.10032922029495239, -0.159848153591156, 0.9099814891815186, -0.06311826407909393, -0.06840761005878448, -0.11456258594989777, 0.43113312125205994, -0.41229990124702454, -0.10263534635305405, -0.6691585779190063, -0.1747346818447113, 0.6965563297271729, -0.3886517286300659, 0.2519315183162...
{ return; } browser.Print(); browser.Dispose(); } ``` The only method I've had success with is modifying the registry on the fly (and changing them back to not affect anything else). You can find the settings you need at "Software\Microsoft\Internet Explorer\PageSetup" under CurrentUser. To cha...
[ 0.03356277570128441, 0.0496571846306324, 0.7110567092895508, -0.16416576504707336, 0.31804728507995605, -0.07268677651882172, 0.30879098176956177, -0.34044167399406433, -0.31393566727638245, -0.8394526839256287, -0.09724270552396774, 0.8320367932319641, -0.33972492814064026, 0.264944761991...
{ foreach (ManagementObject mo in objectCollection) { if (string.Compare(mo["Name"].ToString(), defaultPrinter, true) == 0) { mo.InvokeMethod("SetDefaultPrinter", null, null);
[ -0.24475404620170593, 0.004762338940054178, 0.43830353021621704, -0.3365781605243683, 0.5713686943054199, -0.0662798061966896, 0.5394347310066223, -0.5395194888114929, 0.2973957359790802, -0.31903016567230225, -0.48000219464302063, 1.1600353717803955, -0.31921255588531494, 0.04099711403250...
return true; } } } } return false; } ``` As for the number of copies, you can always put the WebBrowser.Print in a while loop.
[ 0.470676451921463, -0.22963637113571167, 0.3649858832359314, 0.04090818017721176, 0.1818131059408188, -0.2515084147453308, 0.32852116227149963, 0.1022673025727272, -0.008164385333657265, -0.453779011964798, 0.025356069207191467, 0.9211612343788147, -0.3616425395011902, 0.07220053672790527,...
I am very in tune with relational modeling but new to LDAP modeling and am looking for best practices for designing LDAP schemas. Would love to know what are the equivalents of third normal form and other practices in the world of LDAP? Links to white papers that expand on this subject are greatly appreciated. Pick a ...
[ 0.23078198730945587, -0.12452898174524307, 0.271457314491272, 0.14886271953582764, -0.24267223477363586, -0.24147245287895203, -0.4139742851257324, -0.05438760295510292, -0.08577781915664673, -0.5176975131034851, -0.3897762894630432, 0.40096431970596313, -0.7228971123695374, -0.11317448318...
unique identifier) to avoid conflicts from future standard elements.
[ 0.18822947144508362, -0.06972344219684601, 0.27572184801101685, 0.25638583302497864, 0.12821988761425018, -0.14771412312984467, -0.03962203115224838, -0.38507500290870667, -0.27990639209747314, -0.39896610379219055, -0.2334797978401184, -0.06327369064092636, -0.26836979389190674, 0.2886321...
This is my blog: <http://laschavasdeflickr.blogspot.com> As you can see there is a grey line (#bbbbbb) there that its not on the edge, I am going crazy trying to fix it since I change the width of the post column. If someone can point me what I am doing wrong I will appreciate it. ``` <?xml version="1.0" encoding="U...
[ 0.07923620194196701, 0.16429980099201202, 0.764390230178833, -0.1419912576675415, -0.39046984910964966, -0.28156766295433044, 0.09761572629213333, 0.024396266788244247, -0.26746851205825806, -0.5983474254608154, -0.051351066678762436, 0.20162072777748108, -0.52577143907547, -0.191817313432...
Blogger Team ----------------------------------------------- */ /* Variable definitions ==================== <Variable name="mainBgColor" description="Main Background Color" type="color" default="#eec" value="#eeeecc"> <Variable name="mainTextColor" description="Text Color" type="color" ...
[ -0.04131669923663139, -0.2082781195640564, 0.7779839038848877, 0.46542513370513916, 0.042665619403123856, -0.35707855224609375, 0.010229512117803097, 0.19092537462711334, -0.006926574278622866, -0.27656906843185425, -0.06361881643533707, 0.38378068804740906, -0.2218211442232132, -0.0162448...
Color" type="color" default="#bbb" value="#bbbbbb"> <Variable name="mainLinkColor" description="Link Color" type="color" default="#456" value="#445566"> <Variable name="mainVisitedLinkColor" description="Visited Link Color" type="color" default="#234" value="#223344"> <...
[ 0.024259811267256737, -0.1337524652481079, 0.8866410851478577, -0.043135855346918106, -0.1484117954969406, -0.19166719913482666, 0.0533268041908741, 0.3446294963359833, -0.23366868495941162, -0.3853513300418854, -0.2618319094181061, 0.5152029395103455, -0.5303558707237244, 0.45563045144081...
type="color" default="#fff" value="#ffffff"> <Variable name="topSidebarHeaderColor" description="Top Sidebar Title Color" type="color" default="#fff" value="#ffffff"> <Variable name="topSidebarBgColor" description="Top Sidebar Background Color" type="color" def...
[ -0.24852780997753143, -0.06250303238630295, 0.7356753349304199, -0.0529274046421051, 0.12298900634050369, -0.04873797670006752, 0.028679724782705307, -0.1853267401456833, -0.17105810344219208, -0.3493945300579071, -0.3251863121986389, 0.8166309595108032, -0.3486948609352112, 0.013204078190...
name="topSidebarLinkColor" description="Top Sidebar Link Color" type="color" default="#fff" value="#ffffff"> <Variable name="topSidebarVisitedLinkColor" description="Top Sidebar Visited Link Color" type="color" default="#fff" value="#ffffff"> <Variable name="bottomSidebarHea...
[ -0.1876296103000641, 0.06847018003463745, 1.1102573871612549, -0.16106142103672028, 0.009961702860891819, -0.14184878766536713, 0.18027830123901367, -0.10318171977996826, -0.20143914222717285, -0.3651643693447113, -0.18135279417037964, 0.6216262578964233, -0.3365347385406494, 0.39841759204...
description="Bottom Sidebar Link Color" type="color" default="#99ddbb" value="#99ddbb"> <Variable name="bottomSidebarVisitedLinkColor" description="Bottom Sidebar Visited Link Color" type="color" default="#ffffff" value="#ffffff"> <Variable name="bodyFont" description="Text ...
[ -0.15048936009407043, -0.050467442721128464, 0.8186177611351013, 0.2299184501171112, -0.1802119016647339, 0.2279212474822998, 0.5812952518463135, 0.0000846565599204041, 0.009167510084807873, -0.5369396805763245, -0.24425801634788513, 0.46215856075286865, -0.3505672812461853, 0.028669407591...
default="normal bold 200% 'Trebuchet MS',Verdana,Arial,Sans-serif" value="normal bold 200% 'Trebuchet MS',Verdana,Arial,Sans-serif"> <Variable name="descriptionFont" description="Blog Description Font" type="font" default="normal normal 100% 'Trebuchet MS',Verdana,Arial,Sans-serif" value="normal normal ...
[ -0.6241729259490967, -0.0420367456972599, 0.39227524399757385, 0.186201810836792, -0.2107715606689453, 0.5570579171180725, 0.7817382216453552, -0.03021828457713127, 0.04682725667953491, -0.33185073733329773, -0.7470950484275818, 0.5124140977859497, -0.388445645570755, -0.012426171451807022...
default="normal bold 135% 'Trebuchet MS',Verdana,Arial,Sans-serif" value="normal bold 135% 'Trebuchet MS',Verdana,Arial,Sans-serif"> */ body { background:#123; margin:0; text-align:center; line-height: 1.5em; font: x-small Trebuchet MS, Verdana, Arial, Sans-serif; color:$mainTextColor; font-size/* */:/**...
[ -0.6791507005691528, -0.0536312572658062, 0.6331288814544678, 0.09385181963443756, -0.15380394458770752, 0.3727271854877472, 0.33667439222335815, -0.3530939221382141, -0.05118318647146225, -0.44073066115379333, -0.3736959397792816, 0.4933129847049713, 0.026628898456692696, -0.3223150074481...
no-repeat left bottom; margin:15px 0 0; padding:0 0 20px; color:$mainTextColor; font-size:97%; line-height:1.5em; word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ } #main-wrap2 { float:left; ...
[ -0.5304762125015259, 0.06612997502088547, 0.6020172834396362, -0.07078586518764496, 0.02563220076262951, -0.012004397809505463, 0.545005202293396, 0.11571023613214493, -0.21221734583377838, -0.22628919780254364, -0.6799405813217163, 0.4736423194408417, -0.11292915046215057, 0.1208915114402...
IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ } .main .widget { margin-top: 4px; width: 525px; padding: 0 13px; } .main .Blog { margin: 0; padding: 0; width: 525px; } /* Links ----------------------------------------------- */ a:link { color: $mainLinkCo...
[ -0.26818642020225525, 0.10532156378030777, 0.9578786492347717, -0.1291549652814865, -0.10402319580316544, -0.2680637240409851, 0.47606170177459717, 0.13199740648269653, -0.1776399463415146, -0.8264569044113159, -0.46532511711120605, 0.4041767418384552, -0.3321860134601593, 0.11347971111536...
left bottom; padding:0 15px 8px; } #header h1 { margin:0; padding:10px 30px 5px; line-height:1.2em; font: $pageTitleFont; } #header a, #header a:visited { text-decoration:none; color: $titleTextColor; } #header .description { margin:0; padding:5px 30px 10px; line-height:1.5em; font: $descrip...
[ -0.5659080147743225, 0.05989358574151993, 1.2189249992370605, 0.18939566612243652, 0.02039279043674469, 0.1916317641735077, 0.3618323504924774, -0.26249611377716064, -0.223270446062088, -0.5521939396858215, -0.6370693445205688, 0.19126175343990326, -0.04815421625971794, 0.04330003634095192...
border-width:0px 1px 1px; padding:2px 14px 2px 29px; color: $postTitleColor; font: $postTitleFont; } .post h3 a, .post h3 a:visited { text-decoration:none; color: $postTitleColor; } a.title-link:hover { background-color: $borderColor; color: $mainTextColor; } .post-body { border:1px dotted $border...
[ -0.5322256684303284, 0.09462064504623413, 1.140587568283081, 0.15082763135433197, -0.07251735776662827, 0.27719950675964355, 0.27064013481140137, -0.380188524723053, -0.18608389794826508, -0.38890960812568665, -0.5575916767120361, 0.13062475621700287, -0.032756201922893524, -0.009243785403...
0; } html>body .post-footer { border-bottom-color:transparent; } .uncustomized-post-template .post-footer { text-align: right; } .uncustomized-post-template .post-author, .uncustomized-post-template .post-timestamp { display: block; float: left; text-align:left; margin-right: 4px; } .post-footer a { ...
[ -0.2641563415527344, -0.03993850201368332, 0.8824411630630493, -0.02035740576684475, -0.16575856506824493, 0.43649959564208984, 0.0032843458466231823, -0.45442619919776917, -0.0673767551779747, -0.7551695108413696, -0.21615758538246155, 0.14977417886257172, -0.12745407223701477, -0.1436004...
border:1px solid $borderColor; } blockquote { margin:.75em 0; border:1px dotted $borderColor; border-width:1px 0; padding:5px 15px; color: $dateHeaderColor; } .post blockquote p { margin:.5em 0; } #blog-pager-newer-link { float: left; margin-left: 13px; } #blog-pager-older-link { float: right...
[ -0.2640327513217926, 0.0197810847312212, 1.2026746273040771, 0.15725459158420563, 0.07582637667655945, 0.019226422533392906, 0.12236546725034714, -0.40372776985168457, -0.16915473341941833, -0.6188018321990967, -0.3619895875453949, 0.38181665539741516, 0.004317318554967642, 0.0597038418054...
2px 29px; border-bottom:1px dotted $borderColor; font-size:120%; line-height:1.4em; color:$postTitleColor; } #comments-block { margin:0 15px 0 9px; } .comment-author { background:url("http://www.blogblog.com/rounders3/icon_comment.gif") no-repeat 2px .3em; margin:.5em 0; padding:0 0 0 20px; font-w...
[ -0.3666432797908783, 0.1035878136754036, 1.0170801877975464, 0.04488219693303108, -0.18248389661312103, 0.33179545402526855, 0.22038476169109344, -0.3107942044734955, -0.148660808801651, -0.473715603351593, -0.5263949036598206, 0.2264660894870758, -0.3001426160335541, -0.13409456610679626,...
border: 4px solid $topSidebarTextColor; } .profile-datablock { margin:0 15px .5em 0; padding-top:8px; } .profile-link { background:url("http://www.blogblog.com/rounders3/icon_profile.gif") no-repeat 0 .1em; padding-left:15px; font-weight:bold; } .profile-textblock { clear: both; margin: 0; } .sidebar...
[ -0.42841407656669617, 0.13129514455795288, 0.8362882137298584, -0.03709055110812187, -0.033396825194358826, 0.22918632626533508, 0.3077121376991272, -0.29571545124053955, -0.34898319840431213, -0.5054237246513367, -0.5264172554016113, 0.31537142395973206, -0.062312498688697815, 0.035042885...
$topSidebarVisitedLinkColor; } #sidebartop a:visited { color: $topSidebarVisitedLinkColor; } #sidebar a { color: $bottomSidebarLinkColor; } #sidebar a:hover, #sidebar a:visited { color: $bottomSidebarVisitedLinkColor; } /* Sidebar Boxes ----------------------------------------------- */ .sidebar .widget { ...
[ -0.5461266040802002, -0.01894375868141651, 1.1245230436325073, -0.09694499522447586, -0.20914916694164276, 0.11864251643419266, 0.4128130376338959, -0.14692869782447815, -0.2694123089313507, -0.455696702003479, -0.4160119593143463, 0.3168436288833618, -0.2177281379699707, -0.00916353240609...
.25em; margin:0; padding:0 0 3px 16px; margin-bottom:3px; border-bottom:1px dotted $borderColor; line-height:1.4em; } .sidebar p { margin:0 0 .6em; } #sidebar h2 { color: $bottomSidebarHeaderColor; border-bottom: 1px dotted $bottomSidebarHeaderColor; } /* Footer ---------------------------------...
[ -0.6188535690307617, 0.23482708632946014, 0.9003969430923462, 0.21218925714492798, -0.004606031347066164, 0.25023153424263, 0.15706174075603485, -0.34741735458374023, -0.31468960642814636, -0.7157766222953796, -0.33748671412467957, 0.2870572507381439, 0.12766854465007782, -0.05656103044748...
body#layout #header-wrapper, body#layout #outer-wrapper { margin-left:0, margin-right: 0; padding: 0; } body#layout #outer-wrapper { width: 730px; } body#layout #footer-wrap1 { padding-top: 0; } ]]></b:skin> </head> <body> <div id='outer-wrapper'> <div id='header-wrapper'> <b:section class='he...
[ 0.026911765336990356, -0.11880429834127426, 0.7347951531410217, 0.27474427223205566, -0.4439094364643097, 0.07249834388494492, -0.09771247953176498, -0.2805977761745453, -0.12746432423591614, -0.3177921772003174, -0.023687051609158516, 0.5562750101089478, 0.30316513776779175, -0.3319334685...
title='' type='HTML'/> </b:section> </div></div> <div id='sidebarbottom-wrap1'><div id='sidebarbottom-wrap2'> <b:section class='sidebar' id='sidebar' preferred='yes'> <b:widget id='Feed2' locked='false' title='MexAutos.com' type='Feed'/> <b:widget id='LinkList1' locked='false' title='Links' type='LinkLis...
[ 0.15056250989437103, 0.2698249816894531, 0.714329183101654, 0.282309353351593, -0.294476181268692, 0.14535661041736603, -0.04361368715763092, -0.19780883193016052, -0.1013576090335846, -0.38254615664482117, 0.00935282465070486, 0.5112115740776062, -0.18254144489765167, 0.17418967187404633,...
Apache MySQL PHP Q: and if this was running on a Mac ? A : try [MAMP](http://sourceforge.net/projects/mamp)
[ -0.1346178948879242, 0.09667129814624786, 0.13416114449501038, 0.11110958456993103, -0.04641972482204437, -0.28318729996681213, 0.7042328715324402, -0.2118358165025711, -0.3174609839916229, -0.1460796743631363, -0.027170661836862564, 0.2761216461658478, -0.417695015668869, -0.1566213667392...
Our server application receives information about rows to add to the database at a rate of 1000-2000 rows per second, all day long. There are two mutually-exclusive columns in the table that uniquely identify a row: one is a numeric identifier called 'tag' and the other is a 50character string called 'longTag'. A row c...
[ 0.26976317167282104, -0.07153560221195221, 0.5567256808280945, 0.12311476469039917, 0.19833841919898987, 0.2993384003639221, -0.12328976392745972, 0.011685654520988464, -0.1406911313533783, -0.6904817223548889, -0.056501373648643494, 0.0713312178850174, -0.1529754102230072, 0.3473480045795...
We are using SQL 2005 and in a few cases even SQL 2000, so we cannot use the new MERGE keyword. The way I am doing this now is to build a giant DELETE statement that looks like this: ``` DELETE from MyRecords WHERE tag = 1 OR tag = 2 OR longTag = 'LongTag1' OR tag = 555 ``` ...where each incoming row has its own 'O...
[ -0.00856116134673357, 0.11143707484006882, 0.43067312240600586, -0.1903255581855774, -0.19840435683727264, -0.2392173409461975, 0.07382818311452866, -0.05397724732756615, -0.35684236884117126, -0.4211358428001404, -0.08572837710380554, 0.31136274337768555, -0.3279874324798584, 0.4275065958...
come in off the socket they must either be inserted or they must replace existing rows. Is the way I'm doing it the best way to do it? **EDIT**: The ratio of new rows to replacement rows is going to be very heavily slanted toward new rows. In data I have seen coming from production, there will typically be 100-1000 ne...
[ 0.48146095871925354, 0.12371834367513657, 0.49569955468177795, -0.18217197060585022, -0.0018341396935284138, 0.3150632381439209, -0.15367119014263153, -0.20264938473701477, -0.37453171610832214, -0.6378566026687622, -0.10910438001155853, 0.720640242099762, 0.028852956369519234, 0.320520430...
was in before the inserts & deletes began. **EDIT 3**: Regarding NULL tags. I need to first briefly describe the system a little more. This is a database for a trading system. MyTable is a trades table containing two kind of trades: so-called "day trades" and so-called "opening positions." Day trades are simply trades...
[ 0.3815450370311737, -0.20453621447086334, 0.21866773068904877, 0.10844787955284119, 0.3113844692707062, -0.0002448511077091098, -0.44165799021720886, 0.004789994563907385, -0.3907250165939331, -0.7654649019241333, 0.2411361187696457, 0.5644418597221375, 0.11518891155719757, 0.2394106686115...
trades have tags (either longTags or numeric tags), and opening positions do not. There can be duplicate rows for opening positions -- that is fine & normal. But there cannot be duplicate rows for day trades. If a day trade comes in with the same tag as some record already in the database, then the data in the table is...
[ 0.25118017196655273, -0.19311532378196716, 0.27080971002578735, 0.1700921356678009, 0.1606886237859726, 0.1715719997882843, -0.3164556324481964, -0.2957206666469574, -0.38151171803474426, -0.46623745560646057, 0.018732793629169464, 0.32172131538391113, -0.29332876205444336, 0.1920015066862...
character value. This is a day trade with an alphanumeric identifier. 3) tag is zero and longTag is empty: this is an opening position. 4) tag is non-zero and longTag has a non-empty character value. This is prevented from every happening by our server software, but if it were to happen the longTag would be ignored and...
[ -0.34329089522361755, -0.13750147819519043, 0.6377007365226746, -0.04200536012649536, 0.07528974115848541, 0.21928316354751587, -0.06604023277759552, -0.012436616234481335, -0.2313084602355957, -0.4874248206615448, -0.021982448175549507, 0.12086120247840881, -0.27599456906318665, 0.2944075...
test each OR operand as a predicate, until it finds a match or runs out of operands. The only reason to package this up is to make it one logical unit of work. You could also wrap a bunch of deletes in a transaction, and only commit when all finish successfully. Quassnoi makes an interesting suggestion -- to use a ta...
[ 0.17902086675167084, -0.02199905551970005, 0.09690943360328674, 0.17338645458221436, -0.10260216146707535, -0.15486305952072144, 0.05870381370186806, -0.35409414768218994, -0.2663077116012573, -0.6126123070716858, 0.008444624952971935, 0.6027225852012634, -0.45854875445365906, 0.0706226751...
when you're ready to do your bulk thing, instead join the mirror table o the real table on tag. From the real table, delete all the tag'd rows in the u\_real\_table: ``` delete real_table from real_table a join u_real_table b on (a.tag = b.tag); insert into real_table select * from u_real_table where tag is no...
[ 0.0196884423494339, -0.10755248367786407, 0.6968032717704773, -0.13338971138000488, -0.11332494765520096, 0.23701557517051697, -0.0012818636605516076, -0.25527215003967285, -0.46538570523262024, -0.7892053127288818, -0.030133193358778954, 0.9105548858642578, -0.24528823792934418, -0.154503...
on your table structure and its indices. We didn't have to write a script to do it, we just had to have inserted the records in u\_real\_table. Now we do the same thing for longTags: ``` delete real_table from real_table a join u_real_table b on (a.longTag = b.longTag); insert into real_table select * from ...
[ -0.17834866046905518, -0.007427969481796026, 0.5149389505386353, -0.10439003258943558, 0.11161398142576218, -0.005103435833007097, -0.03127425163984299, -0.12316639721393585, -0.42134326696395874, -0.6972866058349609, -0.1687484085559845, 0.489452987909317, -0.3825852572917938, 0.053677488...
Because it is a logical unit of work. This method reduces your manual work, reduces the possibility of a manual error, and has some chance of speeding up the deletes. Note that this relies on missing tags and longTags correctly being null, not zero or the empty string.
[ -0.06161751225590706, -0.18458673357963562, 0.06556661427021027, 0.20352041721343994, 0.06970854848623276, -0.11896739155054092, 0.6810861825942993, -0.1871057003736496, -0.04346304386854172, -0.2981392443180084, -0.10461658984422684, 0.3429083824157715, -0.059111859649419785, -0.156765922...
I've tried to use IsolatedStorageSettings in my ViewModel, but these are not getting retained across browser refreshes (F5). for example; ``` //look in the IsoStore for remembered details IsRememberMe = IsolatedStorageSettings.ApplicationSettings.Contains(Constants.LOGIN_REMEMBERED_USERNAME); if (IsReme...
[ 0.019005246460437775, 0.16533492505550385, 0.3328592777252197, -0.04332730919122696, -0.0892137736082077, 0.055252280086278915, 0.2784678339958191, 0.053231578320264816, -0.2895926833152771, -0.8902844786643982, 0.11639806628227234, 0.31365150213241577, -0.4583846926689148, 0.4288219213485...
to the parent XAP that is loaded in the browser - might this cause the settings to be lost on each refresh? THanks, Mark Well... In my case I have issues using Application Isolated Storage, each time I deployed a new version of my app (just for instance changing the color of a button I lost my Iso Storage :-(). I mo...
[ 0.3642047345638275, -0.19676513969898224, 0.8311002254486084, 0.37484216690063477, -0.039653073996305466, -0.1680184155702591, 0.17163656651973724, -0.04317984730005264, -0.1618065983057022, -0.658035933971405, 0.2780935764312744, 0.6610468626022339, -0.21044926345348358, -0.27774882316589...
I'm using the DOM to manage a JSON response from an AJAX function I'm running. The script I'm writing needs to be completely portable, so I am defining the styles for the created elements on the fly (meaning, no linking to an external CSS, and no providing CSS in the HTML doc itself, because I won't have control of the...
[ 0.33130598068237305, -0.08372105658054352, 0.5496087074279785, 0.004707993008196354, 0.037277791649103165, 0.020564861595630646, 0.044775206595659256, -0.20245344936847687, -0.2173967957496643, -0.5673901438713074, 0.008377015590667725, 0.30967286229133606, -0.19377774000167847, -0.0524235...
for some of the cross-browser issues with this approach. I've got a wrapper function [lying around](http://mercurial.intuxication.org/hg/js-hacks/raw-file/tip/createstylesheet.js) which works around some of them; using it, the code would read ``` document.createStyleSheet().addRule('#myDiv:hover', 'background:#000000...
[ 0.6778949499130249, -0.13462986052036285, 0.6789785623550415, 0.12620535492897034, 0.04688866809010506, -0.15517151355743408, -0.04572968930006027, -0.2574923038482666, -0.05031795799732208, -0.5919198989868164, 0.054158296436071396, 0.23931020498275757, -0.016078190878033638, -0.082266427...
I'd like a simple method to keep a SQL CE database (on Windows Mobile or CE) synchronized to SQL Server Express. My understanding is that SQL Express does not have replication which is what would normally be used. Are there any other ways to accomplish this? I'm working in C# with .Net 2.0. Thanks! [Microsoft Sync Fr...
[ 0.3910385072231293, 0.0755285993218422, 0.44092807173728943, 0.22754457592964172, 0.05276317149400711, -0.21190722286701202, 0.1880856454372406, 0.3630613088607788, -0.025001419708132744, -0.6764373779296875, 0.10693402588367462, 0.2512131929397583, -0.16666851937770844, 0.2192420959472656...
For a while I had been running JavaScript component initialization by waiting for the "onload" event to fire and executing a `main()` of sorts. It seemed cleaner and you could be sure the ID state of your DOM was in order. But after some time of putting that through its paces I found that the component's initialization...
[ 0.13950151205062866, -0.12051241099834442, 0.28436774015426636, -0.4379867613315582, -0.2969592213630676, -0.03998573124408722, 0.314473032951355, -0.1996372938156128, 0.07226727157831192, -0.39500030875205994, -0.14595182240009308, 0.5560439229011536, -0.18579699099063873, 0.2170816808938...
before other external resources. Now I wonder if there are some pitfalls that come with doing that instead of waiting for the "onload". Which method are you using? **EDIT**: Thanks. It seems each library has a specialized function for `DOMContentLoaded`/`readyState` implementation differences. I use prototype so [th...
[ 0.24292805790901184, -0.11345802247524261, 0.2664715647697449, 0.05890897661447525, -0.14161503314971924, -0.23346209526062012, 0.25413978099823, -0.2379712164402008, -0.3995245099067688, -0.718966543674469, 0.06769464910030365, 0.592893660068512, -0.06275885552167892, 0.020571991801261902...
script at the end of the page sure ensure the rest of the page is there, but making sure the DOM is ready is never a bad thing.
[ 0.30060383677482605, 0.02263542450964451, 0.3749432861804962, 0.09186707437038422, 0.2251434624195099, -0.21139484643936157, -0.07380443066358566, 0.11849161982536316, 0.04970184341073036, -0.5724702477455139, -0.015670275315642357, 0.5402327179908752, 0.3349396288394928, -0.22549407184123...
So I recently finish my 3rd year software engineering project. The project was a game. It was not easy in the least. The most challenging project I have done. After some reflection I noticed that the major problem our group had was: * Our SRS rarely matched our Design Diagrams * Our architecture was not well defi...
[ 0.2971176207065582, 0.1898271143436432, 0.03995872661471367, -0.18205229938030243, -0.1580614149570465, -0.04706883430480957, 0.8125960826873779, 0.02737710066139698, -0.43218153715133667, -0.4652177095413208, 0.39345505833625793, 0.3662882447242737, 0.10727284103631973, 0.0960322916507721...
year project. But I am afraid that I will not be able to **keep track of reqs -> design -> architecture -> test -> source.** Hence I am thinking of making a tool that does this on top of **git**. But It would be good if there is already one for this purpose. You could try [mingle](http://studios.thoughtworks.com/mingle...
[ -0.024629861116409302, -0.1799517720937729, 0.21813295781612396, 0.165265753865242, -0.0640113577246666, -0.1264319121837616, -0.03878716379404068, -0.003476561978459358, -0.41677460074424744, -0.3778364956378937, 0.07276327908039093, -0.023773420602083206, 0.5614371299743652, 0.0605297125...
into it, so you can easily track requirements and the resulting architecture as you just link from your requirements into design wiki pages. Also, academic users qualify for a free license if you plan to use Mingle for academic purposes, meaning in the classroom/lab or as part of a curriculum.
[ 0.5185078382492065, -0.10668203979730606, 0.1958869844675064, 0.36692577600479126, 0.3138163685798645, -0.5061419010162354, -0.07701436430215836, 0.08712328970432281, 0.06912965327501297, -0.8604644536972046, -0.2305641770362854, 0.10930737107992172, -0.11556629836559296, 0.071807160973548...
I'm just trying to get the hang of separate units to make my code more encapsulated. I'm trying to get the public/private declarations of my methods sorted out, so I can call them from other units that use `testunit`. In this example I want to make `hellofromotherunit` public, but `stickletters` private. ``` unit test...
[ 0.21534445881843567, 0.1233530268073082, 0.40034160017967224, -0.021809833124279976, -0.09084546566009521, 0.2200358361005783, 0.3873457610607147, -0.559695839881897, -0.02988404966890812, -0.6623440980911255, -0.19149039685726166, 0.3763682544231415, -0.3879248797893524, 0.123120985925197...
forerunner. But the syntax is different. You only have to declare the method header in the interface section, as in: ``` interface procedure hellofromotherunit(); implementation procedure hellofromotherunit(); begin .. end; ``` Only one of each section allowed.
[ 0.2357315570116043, 0.0467214472591877, 0.2537667453289032, -0.02147698774933815, -0.01931356079876423, -0.053047679364681244, -0.11189892888069153, 0.19773273169994354, -0.0008276143344119191, -0.6870556473731995, 0.21422511339187622, 0.4727340638637543, -0.09185133129358292, 0.2701121568...
If I type: ``` void doThis(){ System.out.println("Hello Stackoverflow."); } ``` what is the default scope of `doThis()`? Public? Protected? Private? The default scope is package-private. All classes in the same package can access the method/field/class. Package-private is stricter than protected and public ...
[ 0.06537655740976334, -0.1457570344209671, 0.44483834505081177, -0.28386422991752625, 0.10715536773204803, -0.12867315113544464, 0.18176956474781036, -0.3997148275375366, -0.04385361820459366, -0.5758377313613892, -0.2400369644165039, 0.610867977142334, -0.4839889109134674, 0.03302179276943...
By design, Selenium makes a new copy of your Firefox profile each time a new test is run. I find this copy time is a considerable bottleneck, especially when running 100s of tests. (5-15 seconds to copy the profile anew). Does anyone know of any override behavior for this? I'd prefer my Selenium server to just reuse t...
[ 1.09160578250885, 0.1704067885875702, 0.2852620482444763, 0.0022988878190517426, 0.1572934091091156, -0.2858734130859375, 0.3385525941848755, -0.37393444776535034, 0.20566481351852417, -0.8113692998886108, 0.3097933232784271, 0.5111109018325806, -0.14882098138332367, 0.0105995312333107, ...
nice to have a new copy of a Firefox process each time, but a bit overkill to double the startup time by regenerating the Firefox profile. If you open a bug report on <http://jira.openqa.org> and email me at patrick@browsermob.com I'll be happy to make sure we get a solution in place. PS: I've solved this problem as a...
[ 0.38416433334350586, 0.2553178668022156, 0.16662532091140747, 0.011980138719081879, -0.009569069370627403, -0.1814267337322235, 0.5118919610977173, 0.34863343834877014, -0.15868046879768372, -0.8787730932235718, -0.054247818887233734, 0.32450929284095764, -0.3206765651702881, -0.0055396994...
When it comes to navigating through an HTML form by hitting the TAB key, Internet Explorer 7 treats an `INPUT` element with `TYPE=FILE` as *two* controls ([see MSDN for details](http://msdn.microsoft.com/en-us/library/ms535263(VS.85).aspx)). The first time you hit TAB it focusses on the text field, and the second time ...
[ -0.325019896030426, -0.20388950407505035, 0.641671895980835, -0.23569637537002563, -0.23784993588924408, -0.04256705939769745, 0.3422534167766571, 0.11968223750591278, -0.33334991335868835, -0.7903271913528442, -0.06344323605298996, 0.663152813911438, -0.4063318967819214, -0.12948179244995...
change the script to allow you to TAB to the hidden file-input element and for this to trigger a CSS change so the fake button looks like it has focus, the upshot being that, on browsers other than IE7, it looks to the user as if you can tab to the button and activate it as you would expect. This cannot work on IE7 be...
[ 0.22876156866550446, -0.4158439636230469, 0.2858155071735382, -0.24060219526290894, -0.08052721619606018, -0.08052666485309601, 0.47138088941574097, 0.09140457957983017, 0.0418277382850647, -0.7426647543907166, -0.11373969167470932, 0.6685781478881836, -0.2955331802368164, -0.2299176454544...
calls the `click` event, but when I do this the `change` event I am depending on seems not to be fired. I am beginning to think the only accessible solution on IE7 (and, I assume, IE8) will be to replace the whole dialogue with a two part form -- the first part with a (visible) file-input element and Upload button, th...
[ -0.03646552190184593, -0.13742439448833466, 0.5711225271224976, -0.12520045042037964, -0.13609394431114197, -0.1331535130739212, 0.23008698225021362, 0.2111598253250122, 0.011358982883393764, -0.49340489506721497, -0.4327752888202667, 0.7281356453895569, -0.26542776823043823, -0.1794705688...
two parts. So I would be interested to know if anyone has a way to make IE7's file-input element behave like a single control, or, alternatively, to allow JavaScript to access both controls of the element (something the DOM was not designed for!). As should be obvious from my other answer, I have managed to build thi...
[ 0.37631985545158386, -0.13780467212200165, 0.4071708023548126, 0.040640320628881454, 0.0833696573972702, -0.16082340478897095, 0.3314904570579529, 0.059444691985845566, -0.08525058627128601, -0.39911818504333496, -0.07855366915464401, 0.7739847898483276, -0.09815846383571625, 0.03414403647...