text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
I need to find a way to crawl one of our company's web applications and create a static site from it that can be burned to a cd and used by traveling sales people to demo the web site. The back end data store is spread across many, many systems so simply running the site on a VM on the sale person's laptop won't work. ...
[ 0.7867298126220703, 0.26653772592544556, 0.11926101893186569, 0.41659218072891235, 0.1523198038339615, -0.19516170024871826, -0.01000706385821104, 0.28216972947120667, -0.13846907019615173, -0.530379593372345, 0.11612607538700104, 0.5234286785125732, -0.017790960147976875, 0.49368995428085...
ajax, css, etc? I know odds are slim, but I figured I'd throw the question out here before I jump into writing my own tool. wget or curl can both recursively follow links and mirror an entire site, so that might be a good bet. You won't be able to use truly interactive parts of the site, like search engines, or anythin...
[ 0.5485410690307617, -0.05336952209472656, 0.19942514598369598, 0.5105035901069641, -0.16369399428367615, -0.08366326987743378, -0.045168038457632065, 0.39758214354515076, -0.34937986731529236, -0.38494589924812317, 0.1355840116739273, 0.5405482649803162, -0.017041895538568497, -0.033254723...
Like the title says, how do you create custom code snippets in Visual Studio 2008? Here's a link to a utility for Creating/editing Snippets. It works for more languages than just VB despite the classification in the link. <http://msdn.microsoft.com/en-us/vbasic/bb973770.aspx>
[ 0.4777083396911621, -0.196112260222435, -0.08179497718811035, 0.21306400001049042, -0.3169339597225189, 0.02233543060719967, 0.12176776677370071, 0.22406113147735596, -0.5310943126678467, -0.35683029890060425, -0.007026377134025097, 0.27495643496513367, -0.18643052875995636, 0.026974078267...
Documentation can be found [here](http://github.com/madrobby/scriptaculous/wikis/droppables) It says in the example: **onDrop: Called whenever a Draggable is released over the Droppable and the Droppable is accepts it. The callback gets three parameters: the Draggable element, the Droppable element and the Event. You...
[ 0.43748629093170166, -0.32888880372047424, 0.6163903474807739, 0.35218313336372375, 0.04501478001475334, -0.14057613909244537, -0.15745539963245392, -0.2854404151439667, -0.15497785806655884, -0.1943250447511673, -0.2891494631767273, 0.6953212022781372, -0.2806818187236786, -0.255874186754...
reference the draggable element and the droppable element in this callback javascript function?** Going by the example further down the page, the callback function can take as many of the parameters as you need: ``` onDrop: function() { $('droppable_demo').highlight(); } ``` In this case, they have used none of the ...
[ 0.33170583844184875, -0.3032365143299103, 0.3158422112464905, 0.15073542296886444, 0.1025628075003624, -0.11130425333976746, -0.1103334128856659, 0.016550477594137192, -0.41958704590797424, -0.30379927158355713, -0.3062538206577301, 0.7056655883789062, -0.5505414009094238, -0.2990036904811...
I am re-designing an application for a ASP.NET CMS that I really don't like. I have made som improvements in performance only to discover that not only does this CMS use MS SQL but some users "simply" use MS Access database. The problem is that I have some tables which I inner join, that with the MS Access version are...
[ 0.19293352961540222, 0.23471643030643463, 0.2185666710138321, -0.12887892127037048, -0.188865527510643, -0.12671053409576416, 0.1973542720079422, 0.14255152642726898, -0.3400287330150604, -0.8616534471511841, 0.27548646926879883, 0.3222627639770508, -0.3930439352989197, 0.5163566470146179,...
I have fetch all the data and the do it programmatically! Thanks If you have access to the MDBs, and are able to change them, you might consider using Linked Tables. Access provides the ability to link to external data (in other MDBs, in Excel files, even in SQL Server or Oracle), and then you can perform your joins a...
[ 0.51789391040802, 0.19901102781295776, 0.44184890389442444, 0.2907050549983978, -0.060129858553409576, -0.36701083183288574, -0.1854410171508789, 0.023507021367549896, -0.2403583824634552, -0.7244527339935303, 0.1316952407360077, 0.7434818744659424, -0.3777817487716675, 0.18582072854042053...
anymore, so if the app is ever hosted in a 64-bit environment, these users will be hosed.
[ 0.5976811647415161, 0.16107580065727234, 0.3655881881713867, 0.15518684685230255, 0.327449768781662, -0.23542092740535736, 0.6607785224914551, 0.5542193651199341, -0.20609036087989807, -0.223031684756279, -0.4919794797897339, 0.3073727786540985, -0.4079726040363312, 0.1222846657037735, -...
Is there a tool to integrate [Mercurial](http://en.wikipedia.org/wiki/Mercurial) into Visual Studio? I am just curious. Mercurial is pretty nice, even with 'just' [TortoiseHG](http://tortoisehg.sourceforge.net), but integration with Visual Studio would be better. [VisualHG](http://sharesource.org/project/visualhg/) W...
[ 0.15195833146572113, -0.10244782269001007, 0.09377451986074448, 0.2404557764530182, -0.06467019766569138, 0.12608323991298676, -0.10808347910642624, 0.4060371220111847, -0.45567941665649414, -0.4583418071269989, -0.08256925642490387, 0.5075494050979614, 0.26012054085731506, -0.242744043469...
Backstory: I'm using [log4net](http://logging.apache.org/log4net/index.html) to handle all logging for a project I'm working on. One particular method can be called under several different circumstances -- some that warrant the log messages to be errors and others that warrant the log messages to be warnings. So, as a...
[ 0.22711965441703796, 0.18851110339164734, 0.27307426929473877, -0.05399361625313759, 0.0008915914222598076, 0.030189886689186096, 0.3950279653072357, -0.17326079308986664, -0.19944004714488983, -0.24295413494110107, 0.036174118518829346, 0.3314860165119171, -0.19248497486114502, 0.15413963...
"Some delegate info here") If (B - A) > 5 Then **delegateinfo**.Invoke("Difference ({0}) is outside of acceptable range.", (B - A)) End If End Sub ``` So that I could call it and pass either log.ErrorFormat or log.WarnFormat as the delegate? I'm using VB.NET with VS 2008 and .NET 3.5 SP1. Also, I'm fairly ne...
[ 0.24623680114746094, -0.23502948880195618, 0.253375381231308, 0.14764389395713806, -0.1150100976228714, -0.046525988727808, 0.10190846025943756, -0.4358239471912384, -0.13387636840343475, -0.5087428092956543, 0.11161640286445618, 0.4991861581802368, -0.021328458562493324, 0.214755460619926...
= log.ErrorFormat`? I would imagine there is more to it than that (pardon my ignorance on the subject -- delegates are really something I want to learn more about, but so far they have eluded my understanding). Declare your delegate signature: ``` Public Delegate Sub Format(ByVal value As String) ``` Define your Tes...
[ 0.41714558005332947, 0.07173609733581543, -0.01082536205649376, 0.21064302325248718, 0.2950136065483093, -0.3200598657131195, 0.35767754912376404, -0.34405452013015747, -0.16210496425628662, -0.3867867887020111, -0.28656747937202454, 0.37064868211746216, -0.10194921493530273, 0.20566788315...
ByVal format As Format) If (B - A) > 5 Then format.Invoke(String.Format( _ "Difference ({0}) is outside of acceptable range.", (B - A))) End If End Sub ``` Somewhere in your code call your Test function: ``` CheckDifference(Foo, Bar, AddressOf log.WriteWarn) ``` Or ``` CheckDifference(Foo...
[ 0.3509587347507477, 0.28800034523010254, 0.6729512810707092, -0.25879040360450745, 0.23134906589984894, -0.13434365391731262, 0.3429763913154602, -0.5014013648033142, 0.22629326581954956, -0.7019156217575073, -0.1887313723564148, 0.477705717086792, -0.03166275471448898, 0.36275020241737366...
Problem ------- Language: C# 2.0 or later --- I would like to register context handlers to create menues when the user right clicks certain files (in my case \*.eic). What is the procedure to register, unregister (clean up) and handle events (clicks) from these menues? I have a clue it's something to do with the wi...
[ -0.01000109501183033, 0.09081931412220001, 0.06437437236309052, 0.10303165763616562, -0.014122266322374344, -0.09698065370321274, 0.2895622253417969, 0.4121616780757904, -0.3988078236579895, -0.7266382575035095, -0.09806602448225021, 0.8017457127571106, -0.37724173069000244, -0.06025832146...
several users have commented. Is there any other preferred way of achieving the same behaviour, or should I spend time looking into these workarounds? I don't mind doing that at all, I'm glad people have put effort into making this possible - but I still want to know if there is a "proper/clean" way of achieving this. ...
[ 0.6443646550178528, 0.09244652092456818, -0.0709071010351181, -0.06687851995229721, -0.05466124787926674, -0.2032054364681244, 0.8431428670883179, 0.26996296644210815, -0.38898131251335144, -0.2793336808681488, -0.05851077660918236, 0.7105288505554199, 0.014047705568373203, -0.061258077621...
why it can be done, but shouldn't. <http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/1428326d-7950-42b4-ad94-8e962124043e/> You're back to unmanaged C/C++ as your only real tools here.
[ 0.5388327240943909, -0.05507032945752144, -0.15037110447883606, 0.28300580382347107, 0.14209389686584473, -0.35339826345443726, 0.21436727046966553, -0.021188432350754738, -0.3369120657444, -0.43826571106910706, 0.0008690166869200766, 0.535288393497467, -0.05161662772297859, -0.05737666040...
I got this bad feeling about how I insert larger amounts of HTML. Lets assume we got: `var html="<table>..<a-lot-of-other-tags />..</table>"` and I want to put this into `$("#mydiv")` previously I did something like `var html_obj = $(html);` `$("#mydiv").append(html_obj);` Is it correct that jQuery is parsing `ht...
[ 0.01692546159029007, 0.09445665031671524, 0.7011083364486694, -0.1784949153661728, -0.2792884111404419, -0.11875628679990768, 0.18784375488758087, -0.3539598882198334, -0.4940693974494934, -0.4938677251338959, -0.04083651304244995, 0.7840057015419006, -0.24802367389202118, -0.0075431382283...
some additional expensive stuff in the background ? Would love to learn alternatives as well. innerHTML is remarkably fast, and in many cases you will get the best results just setting that (I would just use append). **However, if there is much already in "mydiv" then you are forcing the browser to parse and render a...
[ 0.25786706805229187, 0.08766358345746994, 0.3119962513446808, 0.09380730986595154, -0.1339728683233261, -0.22536610066890717, 0.5880904197692871, 0.04157932475209236, -0.33824285864830017, -0.8404490351676941, -0.3377455472946167, 0.6735906004905701, -0.1887134462594986, 0.0499834120273590...
My bad... I've discovered that innerHTML isn't well supported on document fragments. You can use the same technique with any node type. For your example, you could create the root table node and insert the innerHTML into that: ``` var frag = document.createElement('table'); frag.innerHTML = tableInnerHtml; $("#mydiv")...
[ 0.18362513184547424, 0.2378627359867096, 0.28381532430648804, -0.11188662797212601, 0.10299496352672577, 0.11463307589292526, 0.46345070004463196, 0.1817670315504074, -0.20064698159694672, -0.647607684135437, 0.00862479954957962, 0.607155442237854, -0.3012069761753082, 0.26971426606178284,...
Given an array of integers, what is the simplest way to iterate over it and figure out all the ranges it covers? for example, for an array such as: ``` $numbers = array(1,3,4,5,6,8,11,12,14,15,16); ``` The ranges would be: ``` 1,3-6,8,11-12,14-16 ``` If the array is sorted in ascending order, then the problem is ...
[ 0.09076686203479767, 0.04047064483165741, 0.16431213915348053, -0.14328807592391968, 0.12986226379871368, 0.2778279483318329, 0.10918622463941574, -0.6150518655776978, -0.2512761652469635, -0.2804906666278839, -0.19453005492687225, 0.3023715019226074, -0.4891771674156189, 0.189408719539642...
print them out as you go. If the array may not be sorted, then sort it first.
[ 0.3906501531600952, 0.07911428809165955, -0.0016187758883461356, -0.012536224909126759, 0.15814264118671417, 0.19767247140407562, -0.24020488560199738, -0.1136687621474266, -0.36516430974006653, -0.7010117769241333, -0.21543338894844055, 0.4912337362766266, -0.196262389421463, -0.138964548...
I've recently inherited the job of maintaining a database that wasn't designed very well and the designers aren't available to ask any questions. And I have a couple more coming my way in the near future. It's been tough trying to figure out the relationships between the tables without any kind of visual aid or datab...
[ 0.6355904340744019, 0.16115160286426544, 0.21093885600566864, 0.20513994991779327, 0.41669970750808716, 0.03579343855381012, -0.11502464860677719, 0.2763206958770752, -0.4790262281894684, -0.7870122790336609, 0.31185978651046753, 0.3415762782096863, 0.27594077587127686, 0.17209692299365997...
of visual aid to help me understand how things are laid out and try to figure out what the designer was thinking about how the data should relate. --- Additional answer data: SchemaSpy was the kind of thing I was looking for, but having not done a lot with the command line in ages, I opted to use [SchemaSpyGUI](http:...
[ -0.13732168078422546, -0.17534276843070984, 0.33401215076446533, -0.006805682089179754, -0.4854443371295929, 0.09597588330507278, 0.2896830141544342, -0.305385023355484, -0.1835932731628418, -0.882948100566864, 0.2432396560907364, 0.44219985604286194, -0.31403061747550964, -0.1801241487264...
and I was quite pleased by the result, with advice on optimization.
[ -0.05190394073724747, 0.4969328045845032, -0.09846628457307816, -0.0717911496758461, -0.19631503522396088, 0.1117841824889183, -0.1698058545589447, 0.0685935690999031, -0.03863586112856865, -0.27212977409362793, -0.07511129975318909, 0.3527289628982544, 0.3712339401245117, 0.04627553373575...
I've used [WWW SQL Designer](http://ondras.zarovi.cz/sql/) several times to design databases for applications. I'm now in charge of working on an application with a lot of tables (100+ mysql tables) and I would love to be able to look at the relations between tables in a manner similar to what WWW SQL Designer provides...
[ 0.3007657825946808, 0.2577165961265564, 0.2718045115470886, -0.007865575142204762, -0.013161744922399521, 0.09503258764743805, -0.09024498611688614, -0.13670556247234344, -0.23836451768875122, -0.6933818459510803, 0.18464115262031555, 0.0972762405872345, -0.23579774796962738, 0.24172267317...
My ASP.NET MVC application will take a lot of bandwidth and storage space. How can I setup an ASP.NET upload page so the file the user uploaded will go straight to Amazon S3 without using my web server's storage and bandwidth? Update Feb 2016: The AWS SDK can handle a lot more of this now. Check out [how to build the ...
[ 0.47275885939598083, -0.1589566171169281, 0.6699366569519043, -0.17876695096492767, -0.39827761054039, 0.1040564551949501, 0.5410822033882141, -0.5409438610076904, -0.06283910572528839, -0.7474956512451172, 0.04850681126117706, 0.3951866924762726, 0.05309101194143295, 0.045873552560806274,...
Anybody have any good FizzBuzz type questions that are not *the* FizzBuzz problem? I am interviewing someone and FB is relatively well known and not that hard to memorize, so my first stop in a search for ideas is my new addiction SO. I've seen a small list of relatively simple programming problems used to weed out ca...
[ 0.3564426600933075, 0.3730875849723816, 0.3281225264072418, -0.138858363032341, -0.12644392251968384, -0.0479298010468483, 0.2925107777118683, 0.2370108813047409, -0.31510671973228455, -0.3001084625720978, 0.20669132471084595, 0.7719974517822266, -0.3865295648574829, -0.31594276428222656, ...
a remainder (given a numerator and denominator) 6. Return distinct values from a list including duplicates (i.e. "1 3 5 3 7 3 1 1 5" -> "1 3 5 7") 7. Return distinct values and their counts (i.e. the list above becomes "1(3) 3(3) 5(2) 7(1)") 8. Given a string of expressions (only variables, +, and -) and a set of varia...
[ -0.10799173265695572, 0.08430017530918121, 0.1929709017276764, -0.13068781793117523, -0.18168969452381134, 0.33536964654922485, 0.4097902774810791, -0.9602560997009277, -0.14359219372272491, 0.20893995463848114, -0.23913106322288513, -0.04081238433718681, -0.140767902135849, -0.00617094477...
they work like FizzBuzz. If you have a clue about programming you should be able to do most pretty quickly. Even if you don't know the language well you should at least be able to give the idea behind how to do something. Using this test one of my previous bosses saw everything from people who aced it all pretty quick...
[ 0.6767454147338867, 0.0012000837596133351, 0.024648254737257957, 0.24834105372428894, 0.13482257723808289, -0.17211627960205078, 0.13644668459892273, 0.16518613696098328, 0.008193922229111195, -0.5626615881919861, 0.08303247392177582, 0.6313281059265137, 0.034978240728378296, -0.2496850043...
that they *could* use Google and the like.
[ 0.4763853847980499, 0.4161486327648163, -0.54255610704422, 0.42164480686187744, -0.25573015213012695, -0.022460676729679108, 0.24513593316078186, 0.21536394953727722, 0.005299183074384928, -0.11910523474216461, -0.12443173676729202, 0.23556317389011383, -0.1625252515077591, 0.0857683196663...
I'm trying to convert an incoming sting of 1s and 0s from stdin into their respective binary values (where a string such as "11110111" would be converted to 0xF7). This seems pretty trivial but I don't want to reinvent the wheel so I'm wondering if there's anything in the C/C++ standard libs that can already perform su...
[ 0.21017758548259735, 0.0035890601575374603, 0.32412323355674744, -0.4534008502960205, -0.07309839129447937, 0.18676313757896423, 0.43777745962142944, -0.25739386677742004, 0.008813551627099514, -0.452303946018219, 0.022143281996250153, 0.6143714189529419, -0.3549348711967468, 0.11510923504...
I have an application that loads external SWF files and plays them inside a Adobe Flex / Air application via the [SWFLoader Flex component](http://livedocs.adobe.com/flex/3/html/controls_15.html). I have been trying to find a way to unload them from a button click event. I have Google'd far and wide and no one seems to...
[ 0.5461919903755188, 0.04291842505335808, 0.3345387279987335, -0.30128663778305054, -0.2276526540517807, -0.1006934717297554, 0.21043196320533752, -0.26126766204833984, -0.2708624303340912, -0.6809646487236023, -0.0059348540380597115, 0.8333585858345032, -0.13474227488040924, 0.087931834161...
seems to still be playing in memory. flash.media.SoundMixer.stopAll(); // Stops the sound. This works on my development machine, but not // on the client's. ``` If the SWFs are closed (hidden) this way, eventually the program crashes. Any ideas? I have found tons of posts in various forums with people having the sa...
[ 0.7691393494606018, 0.3289986550807953, 0.23306205868721008, 0.0015033764066174626, 0.06519636511802673, -0.23510804772377014, 0.14899247884750366, 0.17246535420417786, -0.37679144740104675, -0.6780515909194946, -0.12698610126972198, 0.6444113850593567, -0.24864910542964935, 0.430034101009...
with the Flex architecture? Is my only option sending the SWFs to the web browser? > ... isn't that a problem with the Flex architecture? Yes it is, and it also affects Flash in general. Until you can take advantage of the [Loader.unloadAndStop()](http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Loader.html...
[ 0.44344794750213623, -0.034626591950654984, 0.24690954387187958, 0.01866842620074749, -0.28889819979667664, -0.35115066170692444, -0.012346462346613407, 0.08054476976394653, -0.5272935032844543, -0.7052533626556396, -0.3208254873752594, 1.0266289710998535, -0.3196137249469757, -0.231633424...
of the content you load adhere to a set of guidelines, including exposing something like a `dispose()` method which your app can call to ask it to release as many resources as possible before you `unload()` it. If this isn't possible, then your application will almost definitely bloat in memory and cpu usage each time ...
[ 0.36507731676101685, 0.22140328586101532, 0.19883276522159576, 0.19097962975502014, 0.0100719528272748, -0.3996303081512451, 0.4266286790370941, 0.12496954947710037, -0.39607420563697815, -0.516364574432373, -0.5504328608512878, 0.4567968249320984, -0.31748127937316895, 0.1018930971622467,...
I am writing a .NET wrapper class for an existing native class which throws exceptions. What are the best practices for translating between native C++ exceptions and Managed exceptions? Catch and re-throw on a one-to-one basis (e.g. std::invalid\_argument -> System.System.ArgumentException)? Is there a mapping already ...
[ 0.20050251483917236, 0.1464162915945053, -0.04500694200396538, -0.05094260722398758, -0.11520030349493027, -0.12076572328805923, 0.2941462993621826, 0.059793099761009216, -0.014837550930678844, -0.7766743898391724, -0.14215761423110962, 0.26682278513908386, -0.46536785364151, 0.06499149650...
you should get a nice stack trace. Then you can go and look at the exception and write the wrapper. But on the last project I had to do this on, I went with something much more simple, I ended up writing a couple of System.Exception derivatives for logic\_error and runtime\_error. Then I would catch those 2 base class...
[ -0.16068245470523834, -0.2921426296234131, -0.030343040823936462, 0.060487888753414154, -0.19792619347572327, -0.016110064461827278, 0.07484647631645203, -0.20487244427204132, -0.15763340890407562, -0.7586839199066162, 0.4333108067512512, 0.5914844870567322, -0.47987255454063416, -0.181655...
I have two tables containing Tasks and Notes, and want to retrieve a list of tasks with the number of associated notes for each one. These two queries do the job: ``` select t.TaskId, (select count(n.TaskNoteId) from TaskNote n where n.TaskId = t.TaskId) 'Notes' from Task t -- or select t.TaskId, coun...
[ -0.18229083716869354, 0.04773411527276039, 0.34470170736312866, -0.07916504889726639, -0.20660175383090973, 0.25952866673469543, -0.18993063271045685, -0.4924692213535309, -0.19936810433864594, -0.8491421937942505, 0.09345396608114243, 0.17156830430030823, 0.11614169180393219, -0.078894942...
they just two ways of doing the same job? Thanks. On small datasets they are wash when it comes to performance. When indexed, the LOJ is a little better. I've found on large datasets that an inner join (an inner join will work too.) will outperform the subquery by a very large factor (sorry, no numbers).
[ 0.2819174826145172, -0.19605788588523865, 0.14780595898628235, 0.28204116225242615, -0.05203395336866379, 0.2259172648191452, -0.05094160884618759, 0.08986587077379227, -0.31829532980918884, -0.6630180478096008, 0.3230877220630646, 0.6189777851104736, 0.072337806224823, -0.1664137989282608...
I have two tables, both with start time and end time fields. I need to find, for each row in the first table, all of the rows in the second table where the time intervals intersect. For example: ``` <-----row 1 interval-------> <---find this--> <--and this--> <--and this--> ``` Please phrase your answer ...
[ -0.30048292875289917, 0.10654164850711823, 0.6091471910476685, -0.04386136308312416, -0.1097424104809761, 0.05772571265697479, -0.17717519402503967, -0.09434610605239868, 0.0640697330236435, -0.747532844543457, 0.036567240953445435, 0.3265431821346283, -0.3127381503582001, 0.33774659037590...
<= table1.end AND (table2.end IS NULL OR table2.end >= table1.start) ```
[ -0.3489265441894531, 0.40551337599754333, 0.32156315445899963, -0.15848855674266815, -0.04093586280941963, -0.14558571577072144, 0.31876128911972046, -0.1472557634115219, -0.1807674616575241, -0.48583167791366577, -0.3980464041233063, 0.11471866071224213, -0.32522904872894287, 0.1877346038...
In SQL you can use SELECT \* FROM INFORMATION\_SCHEMA.TABLES etc to get information about the database structure. I need to know how to achieve the same thing for an Access database. The equivalent operation can be accomplished using OleDbConnection.GetOleDbSchemaTable() method. see <http://support.microsoft.com...
[ 0.6770141124725342, 0.04902781918644905, 0.21729791164398193, 0.22264507412910461, -0.0020027202554047108, -0.1940332055091858, 0.1355002224445343, -0.04987308755517006, -0.09379605203866959, -0.3511735796928406, -0.048354554921388626, 0.48547062277793884, -0.27712300419807434, 0.344233661...
Are there any automatic, online or off, tools for testing xhtml/css for compliance with screen readers and other visual guidelines of the [Americans with Disabilities Act (ADA)](http://www.access-board.gov/sec508/guide/1194.22.htm)? Mike Cohn in his [Agile Estimating and Planning](https://rads.stackoverflow.com/amzn/cl...
[ 0.1386466771364212, -0.17902152240276337, 0.1152995303273201, 0.516552746295929, 0.1886439174413681, 0.11695893108844757, -0.013163449242711067, 0.07263865321874619, -0.4869486391544342, -0.4184843599796295, 0.020239856094121933, 0.5122844576835632, 0.025185056030750275, -0.617236733436584...
precision goes the functional points are very good. In my experience they are great but expensive in terms of effort involved if you want do it properly. Not that many projects could afford an elaboration phase to get the FP-based estimates right. *2) And is the effort required worth the benefit you get out of it?* F...
[ 0.7585318088531494, 0.06180233135819435, 0.28469279408454895, 0.2512524724006653, -0.16652223467826843, -0.10619152337312698, -0.01906994916498661, -0.07446138560771942, -0.4086296558380127, -0.2774081528186798, 0.1344655156135559, 0.5413957834243774, 0.4899812340736389, 0.0097237378358840...
is big to start with (like other vendors integration, legacy system, loose requirements etc.) you will not get anywhere near precision anyway so usually you have to just accept this and re-iterate the estimations later. If it is the case a cheaper way of doing the estimates (user stories and story points) are better. ...
[ 0.3838688135147095, -0.2676834762096405, 0.06673076748847961, 0.3499256670475006, -0.002753055654466152, 0.15306685864925385, -0.18607747554779053, -0.2516308128833771, -0.16631855070590973, -0.3844064772129059, 0.18016855418682098, 0.8845550417900085, -0.055376410484313965, -0.26235684752...
internal functionality. *4) Do you use any tools for doing this?* Excel is great with all the formulas you could use. Using Google Spreadsheets instead of Excel helps if you want to do that collaboratively. There is also a great tool built-in to the [Sparx](http://www.sparxsystems.com.au/) Enterprise Architect which...
[ 0.1734919399023056, 0.18150834739208221, 0.07751258462667465, 0.41616353392601013, 0.038347113877534866, 0.1595938354730606, 0.13684652745723724, -0.20849625766277313, -0.0795152485370636, -0.6118378639221191, 0.09272206574678421, 0.7233599424362183, 0.11277429014444351, -0.303979873657226...
We are just starting on a pretty big project with lots of sub projects. we don't currently use any kind of named process but I am hoping to get some kind of agile/scrumlike process in by the back door. The area I will be focusing on most is having a good backlog for the whole project and, at least in my head, the idea...
[ 0.6269376277923584, 0.022866567596793175, -0.20745961368083954, 0.14161112904548645, 0.21310558915138245, 0.01984291337430477, 0.2709125876426697, 0.3318837881088257, -0.28887632489204407, -0.5648971796035767, 0.3844371736049652, 0.1580272763967514, 0.3191026747226715, 0.04504886269569397,...
backlog, and once the backlog is created how it is maintained and ordered. also how relationships between elements are maintained (ie this must be done before it is possible to do that, or this was one story now it is five) I am not sure what I expect the answer for this question to look like. I think what may be most...
[ 0.5204514861106873, 0.08537042140960693, 0.3148913085460663, 0.3386707007884979, -0.228302001953125, -0.2160400152206421, 0.16610212624073029, 0.15507002174854279, -0.3606855273246765, -0.41688454151153564, 0.06295988708734512, 0.5068026185035706, -0.10514060407876968, 0.1730291098356247, ...
from real projects (the "a user can log on" story does not help me picture things in my project. Thanks. I would counsel you to think carefully before adopting a tool, especially since it sounds like your process is likely to be fluid at first as you find your feet. My feeling is that a tool may be more likely to cons...
[ 0.5880563259124756, -0.35758012533187866, -0.04938745126128197, 0.32242488861083984, 0.02550809644162655, -0.40025806427001953, 0.29136887192726135, -0.03412708640098572, -0.44822925329208374, -0.5350149869918823, -0.16453616321086884, 0.45104482769966125, 0.19899259507656097, -0.198504269...
feel like you really need one. By that stage you'll more likely have a clear idea of your requirements. I have run several agile projects now and we have never needed a more complex tool than a spreadsheet, and that on a project with a budget of over a million pounds. Mostly we find that a whiteboard and index cards (...
[ 0.5154640078544617, 0.07380883395671844, 0.12988358736038208, 0.2778560221195221, 0.3185126483440399, -0.21464499831199646, 0.4132489860057831, 0.07652445137500763, -0.20343731343746185, -0.581636905670166, -0.13127915561199188, 0.5211097598075867, 0.18973229825496674, -0.2929137647151947,...
stories about technical details that you could not demonstrate to a user. The skill when scheduling the stories is to try to prioritise the things you know least about first (plan for what you want to learn, rather than what you want to do) whilst also starting with the stories that will allow you to develop the core ...
[ 0.774771511554718, 0.16465981304645538, -0.1386779248714447, 0.6536474823951721, 0.25049641728401184, -0.1660826951265335, 0.13880382478237152, 0.2537764608860016, -0.31311991810798645, -0.49655571579933167, -0.19793643057346344, 0.693847119808197, 0.21010515093803406, -0.16665904223918915...
card that represents the big conversation you'll need to have later, and get on with the more important stuff. If you need to have a feel for the size of what's to come, look at a wideband delphi estimation technique called [planning poker](http://www.planningpoker.com/). The Mike Cohn books, particularly [Agile Estim...
[ 0.2694339454174042, -0.16024444997310638, 0.19097863137722015, 0.2163006067276001, 0.4145004153251648, -0.20413950085639954, -0.4023362100124359, -0.11739076673984528, -0.3900909721851349, -0.6419757604598999, 0.24470335245132446, 0.5825927257537842, 0.18447764217853546, -0.291122615337371...
I am trying to learn how to use MSBuild so we can use it to build our project. There's what seems to be a very big hole in the documentation, and I find the hole everywhere I look, the hole being how do you name or otherwise designate the MSBuild project file? For example, the tutorial on MSBuild that can be download...
[ 0.3986453115940094, 0.2622852623462677, 0.13850633800029755, -0.16359972953796387, 0.06542874872684479, -0.2760064899921417, 0.2897680103778839, 0.39994287490844727, 0.06762484461069107, -0.7473348379135132, 0.02242940105497837, 0.3707452118396759, -0.08147147297859192, 0.45407789945602417...
<Item Type = "CSFile" Include = "consolehwcs1.cs"/> <Target Name = "Compile"> <Task Name = "CSC" Sources = "@(CSFile)"> <OutputItem TaskParameter = "OutputAssembly" Type = "EXEFile" Include = "$(appname).exe"/> </Task> <Message Text="The output file is @(EXEFile)"/> </Target> </Project...
[ 0.3373386263847351, -0.007338943425565958, 0.35984304547309875, 0.011007255874574184, -0.2809002995491028, 0.025541430339217186, 0.10438515990972519, -0.2105758786201477, -0.5016193985939026, -0.6371487975120544, -0.38289299607276917, 0.31147876381874084, -0.11601632833480835, -0.060692094...
file is supposed to be recognized by the MSBuild app. Is it supposed to be named in a particular way? Is it supposed to be placed in a particular directory? Both? Neither? It isn't just the MS tutorial where they don't tell about it. I haven't been able to find it on MSDN, or on any link I can wring out of Groups.Goo...
[ 0.36089783906936646, 0.08202198892831802, 0.4919249415397644, 0.13080058991909027, 0.21754278242588043, -0.13050763309001923, 0.1573619395494461, 0.3302115201950073, -0.42197561264038086, -0.4910702705383301, -0.2122011035680771, 0.15170159935951233, -0.39507752656936646, 0.089208632707595...
it took the answer below before I saw this. > It should have been rather obvious, but I missed it. You can name the file as you see fit. From the help for MSBuild ``` msbuild.exe /? Microsoft (R) Build Engine Version 2.0.50727.3053 [Microsoft .NET Framework, Version 2.0.50727.3053] Copyright (C) Microsoft Corporati...
[ 0.10075081884860992, 0.3429747521877289, 0.2392295002937317, -0.2071601152420044, -0.003922095987945795, -0.3849671185016632, 0.24185186624526978, 0.11799274384975433, -0.21469639241695404, -0.35254967212677, -0.49724191427230835, 0.33737385272979736, -0.4717545211315155, 0.410646200180053...
Although ASP.NET MVC seems to have all the hype these days, WebForms are still quite pervasive. How do you keep your project sane? Let's collect some tips here. * Create web user controls for anything that will be shown on more than one page that isn't a part of masterpage type content. Example: If your application dis...
[ 0.7397618293762207, -0.15552648901939392, 0.2812519669532776, 0.20112717151641846, -0.3145989179611206, -0.2319355309009552, 0.5878907442092896, -0.09037099033594131, -0.5546605587005615, -0.537003219127655, 0.12227057665586472, 0.460904061794281, -0.21046194434165955, -0.00892744120210409...
business layer to perform the work that isn't directly related to putting things on the page and sending data back and forth from the business layer. * Do not reinvent the wheel. A lot of sloppy codebehinds that I've seen are made up of code that is doing things that the framework already provides. * In general, avoid ...
[ 0.3868040144443512, 0.05794563516974449, 0.22643789649009705, 0.07699945569038391, -0.4848497807979584, -0.3689163327217102, 0.6189880967140198, 0.009818782098591328, -0.31282544136047363, -0.7665185332298279, -0.006396731361746788, 0.6617523431777954, -0.30402544140815735, -0.164458647370...
edit, you are better off having multiple pages for each sub mode with reuse through user controls. You really need to avoid going a bunch of nested IFs to determine what your user is trying to do and then showing the correct things depending on that. Things get out of control quickly if your page has many possible stat...
[ 0.4930715262889862, -0.07577188313007355, -0.10207033902406693, 0.3663700222969055, -0.3415030837059021, -0.06924895197153091, 0.5624443292617798, 0.17120154201984406, -0.2610428035259247, -0.9431700110435486, 0.23824483156204224, 0.5881917476654053, -0.018819594755768776, 0.08082751184701...
I'm using Windows Vista and C#.net 3.5, but I had my friend run the program on XP and has the same problem. So I have a C# program that I have running in the background with an icon in the SystemTray. I have a low level keyboard hook so when I press two keys (Ctr+windows in this case) it'll pull of the application's m...
[ 0.1862916648387909, -0.027573026716709137, 1.06220281124115, -0.41973522305488586, 0.005605986807495356, -0.21056509017944336, 0.24628284573554993, -0.21910332143306732, 0.07394730299711227, -0.8468088507652283, -0.11679653078317642, 1.044533610343933, -0.2585362493991852, -0.0799034014344...
have given focus to. But sometimes, the taskbar will still show up over the form, which I don't want. I want it to always be full screen when I hit that key combo. I figure it has something to do with what application has focus originally. But even when I click on my main form, the taskbar sometimes stays there. So I ...
[ 0.6383455991744995, -0.015595100820064545, 0.6753596067428589, 0.1566350907087326, -0.015186999924480915, -0.04932769387960434, 0.16480708122253418, 0.24689741432666779, -0.24025556445121765, -0.5507891178131104, 0.025210179388523102, 0.57570880651474, -0.10457969456911087, 0.0172727741301...
same effect that a web browser has when you put it into fullscreen mode, or when you put powerpoint into presentation mode. In a windows form you do that by putting the border style to none and maximizing the window. But sometimes the window won't cover the taskbar for some reason. Half the time it will. If I have th...
[ 0.2970772683620453, -0.15656694769859314, 0.8185234665870667, -0.12948741018772125, -0.0517558753490448, -0.3341474235057831, 0.3870701789855957, -0.16386686265468597, -0.09425133466720581, -0.836986780166626, -0.17879562079906464, 0.5888140797615051, -0.13124172389507294, -0.2980654239654...
taskbar.
[ -0.025588786229491234, -0.08762484788894653, 0.17263391613960266, -0.002575801219791174, -0.12747731804847717, 0.06842003762722015, -0.021517351269721985, 0.21694883704185486, -0.37562257051467896, -0.74476158618927, -0.3761538565158844, 0.3359919488430023, -0.1182110458612442, 0.049787156...
I have an application where 2 threads are running... Is there any certanty that when I change a global variable from one thread, the other will notice this change? I don't have any syncronization or Mutual exclusion system in place... but should this code work all the time (imagine a global **bool** named **dataUpdate...
[ 0.3205907642841339, -0.07212091237306595, 0.510589063167572, -0.11670766770839691, 0.15606917440891266, -0.11201105266809464, 0.3243308365345001, -0.2346445620059967, -0.19924019277095795, -0.6686068773269653, 0.12354874610900879, 0.624427080154419, -0.4391571879386902, 0.22874003648757935...
that it doesn't check for the global value, only considering it value at compile time (because it nevers get changed at the same thred)? PS: Being this for a game-like application, it really doen't matter if there will be a read while the value is being written... all that matters is that the change gets noticed by th...
[ 0.14152532815933228, -0.0840764120221138, 0.39644041657447815, 0.28713762760162354, 0.05989817529916763, -0.23579581081867218, 0.11170289665460587, 0.18655581772327423, -0.3681405186653137, -0.4835413694381714, 0.07643774896860123, 0.5589346885681152, -0.22759945690631866, 0.08687404543161...
your processor and ordering needs, you may need memory barriers. volatile is enough to guarentee that the other processor will see the change eventually, but not enough to guarentee that the changes will be seen in the order they were performed. Your example only has one flag, so it doesn't really show this phenomena. ...
[ 0.10830435156822205, 0.14963474869728088, 0.15541759133338928, 0.10676845908164978, 0.2712482810020447, 0.042668942362070084, -0.0019454261055216193, 0.04371676221489906, -0.5245624780654907, -0.7678089737892151, -0.04103883355855942, 0.7026533484458923, -0.29173925518989563, 0.11638839542...
often as hardware peripherals do, though the sort of case you describe (a flag indicating completion, with other data presumed to be valid if the flag is set) is exactly the sort of thing where ordering matterns...
[ 0.3308292627334595, -0.1398255079984665, 0.2536378800868988, 0.2671988606452942, 0.2339429259300232, -0.17501652240753174, -0.3588810861110687, 0.002694942057132721, -0.4981362819671631, -0.2678576409816742, -0.564176082611084, 0.2194896787405014, 0.009721538983285427, 0.3576097786426544, ...
I just wanted to compare different solutions used when implementing ACLs in Rails. I use the authorization plugin (Created by [Bill Katz](http://www.billkatz.com/)): > Roles can be authorized for the entire application, a model class, or a specific object. The plugin provides a way of checking authorization at the cla...
[ 0.3084697723388672, -0.14068420231342316, 0.386353999376297, 0.19334203004837036, 0.21377348899841309, -0.15671561658382416, 0.24356478452682495, -0.49948617815971375, -0.1417669951915741, -0.5141777396202087, 0.005914617329835892, 0.4053192436695099, -0.3202783465385437, -0.11272820830345...
comparison (from last year but still somewhat useful; it's where I got the above quote from): <http://www.vaporbase.com/postings/Authorization_in_Rails> And a more recent comparison: <http://steffenbartsch.com/blog/2008/08/rails-authorization-plugins/>
[ 0.05167347937822342, -0.05027063190937042, 0.18123404681682587, 0.21316218376159668, 0.13654382526874542, -0.12327685207128525, 0.20714899897575378, -0.5110732913017273, -0.26878219842910767, -0.4474463164806366, 0.26127463579177856, 0.2750958800315857, -0.11525299400091171, -0.05424577370...
I'm trying to teach Komodo to fire up [IDLE](http://en.wikipedia.org/wiki/IDLE_(Python)) when I hit the right keystrokes. I can use the exact path of the shortcut in start menu in the Windows Explorer location bar to launch IDLE so I was hoping Komodo would be able to use it as well. But, giving this path to Komodo cau...
[ 0.10962686687707901, 0.10456730425357819, -0.012306252494454384, -0.41018879413604736, -0.14039619266986847, 0.10708484798669815, 0.3161718547344208, -0.0013180767418816686, -0.22895483672618866, -0.33709028363227844, 0.06758607178926468, 0.8557955026626587, -0.17922359704971313, -0.288100...
at the properties. The target is grayed out, but says "Python 2.5.2". The "Start in" is set to, "C:\Python25\". The "Open File Location" button is also grayed out. How do I find out where this shortcut is really pointing? I have tried starting python.exe and pythonw.exe both in C:\Python25, but neither starts up IDLE....
[ 0.25612959265708923, 0.14938001334667206, 0.26401287317276, -0.32654356956481934, 0.1000216156244278, -0.09646886587142944, 0.2601429224014282, 0.10417968034744263, -0.3322281241416931, -0.856398344039917, 0.007817390374839306, 0.7444934844970703, -0.09093111008405685, -0.00450887763872742...
I thought I had seen a bug report about this on the jQuery site, but now I cannot find it. I'm trying to resize a dialog in IE6. But when the element is resized, the content and title bar don't resize down. They will resize up if the dialog is made larger, however. The result is that the close button ends up being cut ...
[ 0.28717324137687683, -0.007462623529136181, 0.7145328521728516, 0.0691896602511406, 0.15225371718406677, -0.26013147830963135, 0.5273856520652771, -0.14231707155704498, -0.04509306326508522, -0.3978365361690521, -0.3208106756210327, 0.5851618647575378, -0.22840413451194763, 0.3333456814289...
sizes and positions of elements in the content area were still off. Also, even though I resize the title bar, the close button still doesn't move back into view. Any ideas? If this is a bug in jQuery-ui, does anyone know a good workaround? ``` <html> <head> <title>Example of IE6 resize issue</title> <link rel="sty...
[ 0.0501411072909832, -0.16894418001174927, 0.6742870807647705, 0.024704724550247192, -0.0631985291838646, -0.08568460494279861, 0.2911806106567383, -0.17181597650051117, -0.27266764640808105, -0.7615997195243835, -0.24280433356761932, 0.2895145118236542, -0.11065709590911865, 0.121474511921...
function() { $(document).ready(function() { $("#main-dialog").dialog(); }); }); </script> </head> <body> <div id="main-dialog">
[ 0.249886155128479, -0.09195009618997574, 0.8603317141532898, -0.16875223815441132, 0.6029842495918274, 0.11632318049669266, 0.018992893397808075, -0.3198869228363037, 0.001258229254744947, -0.5838856101036072, -0.5733355283737183, 0.7398507595062256, -0.44925209879875183, -0.10163592547178...
This is just some simple content that will fill the dialog. This example is sufficient to reproduce the problem in IE6. It does not seem to occur in IE7 or FF. I haven't tried with Opera or Safari. </div> </body> </html> ``` I was able to come up with a solution. If you add the style **overflo...
[ 0.30864042043685913, 0.060980863869190216, 0.3811947703361511, -0.08522404730319977, -0.044122904539108276, -0.2883397340774536, 0.4351675808429718, 0.06567522883415222, -0.13185930252075195, -0.8910751342773438, -0.19117431342601776, 0.4758317470550537, -0.4162611961364746, -0.10407975316...
everything resizes correctly. All I did was add a css rule as follows to the flora theme: ``` .ui-dialog .ui-dialog-container { overflow: hidden; } ``` It could also be corrected by executing the following: ``` if ($.browser.msie && $.browser.version == 6) { $(".ui-dialog-container").css({ overflow: 'hidden' })...
[ 0.09780234843492508, -0.03455393761396408, 0.4073825180530548, -0.27674242854118347, 0.39575374126434326, -0.16525417566299438, 0.4785459339618683, -0.22814175486564636, -0.10238088667392731, -0.5520424246788025, -0.08636876940727234, 0.48635944724082947, -0.6915513873100281, 0.10523515194...
I have a string with possible command line arguments (using an Read-Eval-Print-Loop program) and I want it to be parsed similar to the command line arguments when passed to Getopt::Long. To elaborate: I have a string ``` $str = '--infile /tmp/infile_location --outfile /tmp/outfile' ``` I want it to be parsed by Ge...
[ 0.3589198887348175, 0.1503116935491562, 0.19505414366722107, -0.29235902428627014, 0.08293051272630692, 0.14735227823257446, 0.17182928323745728, -0.41201815009117126, -0.17341014742851257, -0.622633695602417, -0.026105796918272972, 0.5830219984054565, -0.4928514063358307, -0.0856089517474...
is : @ARGV\n"; GetOptions ( 'infile=s' => \$infile, 'outfile=s' => \$outfile ); ``` Is there any good/better way? Check out the section [parsing options from an arbitrary string](http://perldoc.perl.org/Getopt/Long.html#Parsing-options-from-an-arbitrary-string) in the [man page for...
[ -0.11844012141227722, -0.023899134248495102, 0.23184910416603088, -0.0316552110016346, 0.1806604564189911, 0.2035895138978958, 0.2733191251754761, -0.10057125240564346, -0.4210669696331024, -0.6402079463005066, -0.17008639872074127, 0.5680692791938782, -0.23017634451389313, -0.236803933978...
I'm creating a login page. I want to create ASP.NET TextBox controls that have "Username" and "Password" as their Text, but as soon as they receive focus, these words should disappear and whatever the user types should appear, just like normal textbox. If the user leaves it blank and tabs to the next textbox, then thes...
[ 0.3381815552711487, 0.0015886445762589574, 0.18681089580059052, 0.13996466994285583, -0.1271115094423294, -0.3123634457588196, 0.016352424398064613, -0.018772803246974945, -0.021194076165556908, -0.9466933608055115, -0.09159957617521286, 0.41716432571411133, 0.037362296134233475, -0.137567...
I have Drupal 5 site where a button is clicked and it calls a JavaScript function. The function basically builds a string, and then redirects to another page on our site. After clicking the button, sometimes the user gets logged out and sees the "Access Denied" screen, even though they were previously logged in. The pa...
[ 0.2275925576686859, -0.08677961677312851, 0.5206407308578491, -0.08943460881710052, -0.08490794152021408, -0.15276052057743073, 0.2771517038345337, -0.07922890782356262, -0.10800908505916595, -0.6524637937545776, 0.006049933843314648, 0.2550351619720459, -0.2484813928604126, 0.380447149276...
reported always being logged out when clicking that button. However, I'm always able to run it without a hitch on the machines I use, and I suspect it has to do with them using IE6. Has anyone run across this issue before, or have any ideas on what could be causing this? I've searched and posted in the Drupal forum, an...
[ 0.6544589996337891, 0.04440298303961754, 0.3626469373703003, 0.1476295441389084, -0.2597940266132355, -0.3053857684135437, 0.3708232045173645, 0.3904086649417877, -0.5695711970329285, -0.6051269173622131, 0.13517549633979797, 0.24870960414409637, -0.27641037106513977, 0.3898625671863556, ...
how they are set).. * Can you reproduce it 100% reliably in any browser? No offense to your users, but users are liars (or at least bad at reporting technical bugs). I wouldn't trust something a user told me as fact ("oh, well, yeah, I was closing the browser between tries. but that shouldn't matter."). * Is there some...
[ 0.7218119502067566, 0.09242396056652069, 0.2250804603099823, 0.2547961175441742, -0.0449545681476593, -0.24188904464244843, 0.3854885995388031, 0.1308666616678238, -0.314188688993454, -0.6807658076286316, -0.33567866683006287, 0.6179128885269165, -0.3256627917289734, -0.1703675538301468, ...
general cookie problems, and Fiddler2 (a proxy) for debugging IE.
[ -0.3190096318721771, 0.30105069279670715, -0.02423926256597042, -0.1568640023469925, -0.1297590732574463, -0.07648423314094543, 0.5416315197944641, 0.22319430112838745, -0.15864303708076477, -0.5095725655555725, -0.42350542545318604, 0.577109694480896, -0.28235310316085815, 0.1336337476968...
The question is a fairly open one. I've been using Stored Procs with MS SQLServer for some time with classic ASP and ASP.net and love them, lots. I have a small hobby project I'm working on and for various reasons have gone the LAMP route. Any hints/tricks/traps or good starting points to get into using stored procedu...
[ 0.32900863885879517, 0.040423717349767685, 0.04970960319042206, 0.07530081272125244, -0.15122343599796295, -0.09395266324281693, -0.020193710923194885, 0.15659983456134796, -0.24490158259868622, -0.622923731803894, 0.11223676800727844, 0.5615621209144592, -0.18189804255962372, -0.187752172...
sometimes requires enormous effort over PDO i.e. associative `fetchAll`. Instead, take a look at [PDO](http://www.php.net/manual/en/book.pdo.php), specifically [prepared statements and stored procedures](http://www.php.net/manual/en/pdo.prepared-statements.php). ``` $stmt = $dbh->prepare("CALL sp_takes_string_returns...
[ -0.03181401640176773, 0.024246418848633766, 0.235185906291008, -0.38117891550064087, -0.4095129668712616, 0.03565489500761032, 0.22828741371631622, -0.8104703426361084, -0.2304840087890625, -0.4127861559391022, -0.4041793942451477, 0.17344829440116882, -0.3451402485370636, -0.2215580791234...
What is the best way to retire a currently active project? I've been working on this one for a while now and I think its time to let go. Without going into too much detail, there are other projects and technologies that are way ahead now and I don't see much value in investing in it any further. What have you done to ...
[ 0.3321245610713959, 0.12687678635120392, -0.03680717945098877, 0.20698629319667816, 0.5494594573974609, -0.14075970649719238, 0.1533975750207901, 0.2433309406042099, -0.3425898849964142, -0.3650221824645996, 0.30579328536987305, 0.5420297384262085, 0.029752781614661217, 0.4260905981063843,...
update it for some reason in the future. Archive that VM along with the source code, etc.
[ 0.9012694358825684, 0.00010103850218001753, 0.6080965995788574, 0.45115071535110474, 0.03359273076057434, -0.6399630308151245, 0.05321982502937317, 0.4113219976425171, 0.33296364545822144, -0.8147481083869934, -0.30964842438697815, 0.28588318824768066, -0.01790126971900463, 0.0106914527714...
I've actually solved this, but I'm posting it for posterity. ------------------------------------------------------------ I ran into a very odd issue with the DataGridView on my dual-monitor system. The issue manifests itself as an EXTREMELY slow repaint of the control (*like 30 seconds for a full repaint*), but only ...
[ -0.03316224738955498, -0.13029152154922485, 0.588032066822052, 0.5052293539047241, 0.15689586102962494, 0.028510333970189095, 0.32476097345352173, 0.42274436354637146, -0.24560314416885376, -0.564296305179596, 0.12851788103580475, 0.6025673747062683, 0.026120582595467567, 0.142604812979698...
cards, though...) The paint speed has nothing to do with the cell contents, and custom drawing doesn't improve the performance at all - even when just painting a solid rectangle. I later find out that placing a ElementHost (from the System.Windows.Forms.Integration namespace) on the form corrects the problem. It does...
[ 0.3827245235443115, -0.13813307881355286, 0.5538973212242126, 0.2350323498249054, 0.10770906507968903, -0.10659802705049515, -0.04127601534128189, -0.44524455070495605, -0.3547290861606598, -0.6353594064712524, 0.23871268332004547, 0.3005857765674591, -0.29789355397224426, -0.0071710119955...
create this control at runtime (if it can) using reflection. It works, and at least it fails gracefully on machines that don't have the required library - it just goes back to being slow. This method also lets me apply to fix while the app is running, making it easier to see what the WPF libraries are changing on my f...
[ 0.4566347002983093, -0.31579524278640747, 0.2624655067920685, 0.40915414690971375, -0.07386283576488495, -0.15389405190944672, 0.3745965361595154, -0.21362152695655823, -0.05030824989080429, -0.691805362701416, 0.1948956698179245, 0.6246917843818665, -0.3633371889591217, -0.065938301384449...
you can enable its DoubleBuffering. That's it! ``` class CustomDataGridView: DataGridView { public CustomDataGridView() { DoubleBuffered = true; } } ``` As long as all of my instances of the grid are using this custom version, all is well. If I ever run into a situation caused by this where I'm n...
[ 0.34434929490089417, -0.23564152419567108, 0.6186795234680176, -0.1858016550540924, -0.02152930200099945, -0.18456408381462097, 0.6345162391662598, -0.05329209193587303, -0.20001018047332764, -0.6802772879600525, 0.029547907412052155, 0.8152826428413391, -0.386943519115448, 0.0010378189617...
property on from the outside to once again avoid the dependency*). It is sad that such a trivially simple thing ate up so much of my time... You just need to make a custom class based off of DataGridView so you can enable its DoubleBuffering. That's it! ``` class CustomDataGridView: DataGridView { public CustomD...
[ 0.6495128870010376, -0.24092137813568115, 0.508344829082489, -0.1376868188381195, -0.14605994522571564, -0.13142766058444977, 0.6053340435028076, -0.1984322965145111, -0.21838156878948212, -0.729376494884491, 0.15157152712345123, 0.9172419309616089, -0.2970162332057953, 0.3134440779685974,...
not able to use the subclass solution (if I don't have the code), I suppose I could try to inject that control onto the form :) (although I'll be more likely to try using reflection to force the DoubleBuffered property on from the outside to once again avoid the dependency). It is sad that such a trivially simple thin...
[ 0.00924484059214592, 0.19303449988365173, 0.1730050891637802, 0.05761208012700081, -0.03617100045084953, -0.18977971374988556, 0.5579957365989685, -0.09499325603246689, -0.09816307574510574, -0.20716173946857452, -0.10494871437549591, 0.3247428238391876, -0.09454038739204407, 0.33424922823...
I would like to be able to render a view and send it as an email, similar to what can be done with Ruby on Rails. What is the best way to do this? EDIT: My solution so far is to use a templating engine (NHaml, StringTemplate.net). It works but I would prefer not to have a second template engine in my site. Once the po...
[ 0.22517967224121094, -0.12190159410238266, 0.4860718548297882, -0.12976518273353577, -0.4531272351741791, 0.06187950819730759, 0.26592543721199036, 0.04081545025110245, -0.06631872057914734, -0.8270503282546997, 0.06980432569980621, 0.5836899876594543, -0.08941106498241425, 0.0688783451914...
/ SmtpClient).
[ 0.13000506162643433, -0.35171300172805786, 0.20888939499855042, 0.10413045436143875, -0.20245355367660522, -0.36284390091896057, 0.7934173345565796, 0.4449583888053894, -0.3313550651073456, -0.355435311794281, -0.5141722559928894, -0.029889727011322975, -0.37229466438293457, -0.07314033061...
I've been having tons of problems getting the non-xml configuration for Castle Windsor set up working properly. In the meantime I've seen more and more people giving advice via the Windsor Container fluent interface. I've been Gooogling about for the last day and I cannot find this API anywhere. I am talking about the...
[ 0.48027104139328003, 0.3091203570365906, 0.2866520285606384, 0.10458289086818695, 0.1665729284286499, 0.017557157203555107, 0.4709642827510834, 0.17222581803798676, -0.23270416259765625, -0.5377894043922424, -0.06349239498376846, 0.5993166565895081, 0.09436453133821487, 0.27603182196617126...
copy of Castle.MicroKernel in the [sample project here](http://rhysc.blogspot.com/2008/08/masstransit-classic-webforms.html) has more namespaces then the one I was using (even though this one is eight days older and v1.0.0 whereas mine is v1.0.3...), still having trouble finding the .Register() method or any samples th...
[ -0.11011762171983719, 0.09988340735435486, 0.4884883761405945, -0.11792285740375519, 0.10743988305330276, 0.2035321593284607, 0.6173259019851685, -0.2472401112318039, -0.2767171859741211, -0.4809851050376892, -0.020509526133537292, 0.43865785002708435, 0.45642462372779846, 0.34843051433563...
to reference Castle.Dynaproxy, Castle.Dynaproxy2 and Castle.Windsor too). PS This post is the #1 Google result for "castle fluent interface documentation" sad guys, you need to get on that. *Crickets chirp* What's that? Fine. Let me figure this out then I'll get on it then. The Fluent interfaces were introduced a whil...
[ 0.22688746452331543, -0.2234344482421875, 0.3930419087409973, 0.2749443054199219, 0.13903547823429108, -0.29578346014022827, 0.40356042981147766, 0.07451457530260086, -0.18549597263336182, -0.6211979985237122, -0.0721420869231224, 0.6533538103103638, 0.03455447778105736, 0.0422366298735141...
use, in the MicroKernel assembly - once you have a reasonably fresh build of Castle you should be able to find Register(...) methods on both IKernel and IWindsorContainer interfaces, allowing the application of "registration components" (anything which implements IRegistration) which includes the various fluent compone...
[ 0.48223215341567993, 0.27028343081474304, 0.2281484603881836, 0.030649976804852486, -0.012768127955496311, -0.13084803521633148, 0.5449805855751038, -0.37309685349464417, -0.12796829640865326, -0.29212486743927, -0.46532905101776123, 0.39652127027511597, 0.15976007282733917, -0.23911486566...
to answer questions about the various fluent interface features, as they are not widely documented yet.
[ 0.0203386303037405, -0.08085121214389801, 0.0393829420208931, 0.07388586550951004, 0.02747296914458275, -0.013431904837489128, 0.5512474179267883, 0.2639380693435669, 0.0799432173371315, -0.534460723400116, -0.2961302399635315, 0.5149350762367249, 0.0876186266541481, -0.28812485933303833, ...