text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
I have a bunch of JUnit 3 classes which extend TestCase and would like to automatically migrate them to be JUnit4 tests with annotations such as `@Before`, `@After`, `@Test`, etc. Any tool out there to do this in a big batch run? In my opinion, it cannot be that hard. So let's try it: 0. Imports ---------- You nee...
[ 0.2343834936618805, 0.06163547560572624, 0.07503171265125275, -0.06796550750732422, -0.2931288182735443, -0.2359374463558197, 0.23112162947654724, -0.4371093213558197, 0.22299902141094208, -0.8617540001869202, -0.033722106367349625, 0.6686014533042908, -0.25635796785354614, -0.181315913796...
methods -------------------------------------- Eclipse generates following `setUp()` method: ``` @Override protected void setUp() throws Exception { } ``` Must be replaced by: ``` @Before public void setUp() throws Exception { } ``` Same for `tearDown()`: ``` @Override protected void tearDown() throws Exception...
[ 0.02712041325867176, -0.0052474611438810825, 0.2894936800003052, 0.033868931233882904, 0.26337578892707825, -0.3624761402606964, 0.36140790581703186, -0.47464126348495483, 0.10766161233186722, -0.5530459880828857, -0.3280494213104248, 0.6718626022338867, -0.1528753936290741, 0.035362116992...
expressions, even if it will kill my brain ;)
[ 0.345630407333374, 0.3248293399810791, 0.1455119550228119, 0.26081374287605286, -0.01038612611591816, 0.3711579740047455, 0.7702636122703552, 0.16918298602104187, -0.3826746642589569, -0.5850723385810852, -0.3826567828655243, 0.7564097046852112, -0.11414755135774612, -0.344052791595459, ...
In CSS, with: ``` @page { @top-right { content: "Page " counter(page) " of " counter(pages); } } ``` I can have page numbers displayed at the top of every page when the page is printed. This works great. But now, how can I make it so the page number starts with 2 instead of 1? Can I do that by modifying the CSS rule...
[ 0.11238370835781097, 0.4303900897502899, 0.21391667425632477, 0.13418292999267578, -0.2841474115848541, -0.23076048493385315, 0.09931904822587967, 0.29466715455055237, -0.26843947172164917, -0.6029743552207947, -0.22516420483589172, 0.24452336132526398, -0.14219212532043457, -0.02637604065...
You launch a java program from a console (maybe using a .bat script). I don't want the console to remain visible, I want to hide it. Is there a simple way to do this ? Without JNI ? Use javaw. <http://java.sun.com/javase/6/docs/tooldocs/windows/java.html> > The javaw command is identical to java, except that with ja...
[ 0.3208656311035156, -0.17562904953956604, -0.06184624135494232, -0.07440551370382309, -0.09829600900411606, -0.19867007434368134, 0.20899787545204163, -0.14161676168441772, 0.028082218021154404, -0.7399571537971497, -0.24506746232509613, 0.5618715882301331, -0.38371238112449646, -0.2092246...
I am trying to use a business object that I am passing to the report.rdlc. The properties in my object are not directly exposed. The properties I require are embedded within another object inside the top level object. As this is a WCF project I can't control what goes on at the server end. I am just able to request the...
[ 0.32269591093063354, 0.2897922396659851, 0.41052210330963135, -0.24421103298664093, 0.10368578881025314, -0.3543776571750641, 0.0965719223022461, 0.06613528728485107, -0.10978542268276215, -0.5756478309631348, -0.021814189851284027, 0.679870069026947, -0.10042037069797516, 0.37742292881011...
-ClientName -ColumnName -DisplayName -FieldName -IsNull -KeyColumn -SenondKeyColumn -StringValue -ClientID -ColumnName -DisplayName -FieldName -IntValue -IsNull -KeyColumn -SenondKeyColumn +ClientAddress +Instrument +Telephone ``` etc etc I need to ...
[ -0.39466941356658936, 0.3091755509376526, 0.8406047224998474, -0.29418861865997314, -0.10699000954627991, -0.03676735237240791, 0.01240177359431982, -0.24088849127292633, -0.10184828191995621, -0.43676286935806274, -0.06505746394395828, 1.0458588600158691, -0.14071699976921082, 0.090927034...
is run, I assume because it can't qualify what `StringValue` it is talking about and there could be many. If I try dragging the `ClientName` object I get: ``` =First(Fields!ContactName.Value) ``` However this gives: ``` #ERROR ``` When the report is run. I would have thought you could use: ``` =First(Fields!C...
[ 0.41546666622161865, -0.06866582483053207, 0.6063030958175659, -0.26183566451072693, -0.21409662067890167, -0.44817647337913513, 0.16700150072574615, -0.0738680511713028, 0.023589396849274635, -0.5096975564956665, 0.060946788638830185, 1.1041100025177002, -0.30827128887176514, 0.1421703249...
I am using a GDI+ Graphic to draw a 4000\*3000 image to screen, but it is really slow. It takes about 300ms. I wish it just occupy less than 10ms. ``` Bitmap *bitmap = Bitmap::FromFile("XXXX",...); ``` //-------------------------------------------- // this part takes about 300ms, terrible! ``` int width = bitmap->G...
[ 0.20231720805168152, -0.22915206849575043, 0.8617701530456543, -0.14946137368679047, 0.009694143198430538, 0.17780235409736633, 0.4673526883125305, -0.16974690556526184, -0.0832139328122139, -1.0877372026443481, 0.06265892833471298, 0.7200455069541931, -0.0478728786110878, -0.1029599308967...
0, 0, width, height, BYTE* dib, dibinfo, DIB_RGB_COLORS, SRCCOPY); ``` //-------------------------------------------------------------- If I want to use StretchDIBits, I need to pass BITMAPINFO, But how can I get BITMAPINFO from a Gdi+ Bitmap Object? I did the experiment by FreeImage lib, I call StretchDIBit...
[ 0.19391988217830658, -0.35269057750701904, 0.5121535658836365, 0.009640834294259548, -0.04777713865041733, -0.038935136049985886, -0.08516812324523926, -0.09341903030872345, -0.1746906042098999, -0.8661376237869263, 0.20106768608093262, 0.5989798903465271, -0.2215839922428131, 0.0406820550...
you should draw only the visible part of the image, it would be much faster... [EDIT after first comment] My remark is indeed a bit stupid, I suppose DrawImage will mask/skip unneeded pixels. After your edit (showing StretchDIBits), I guess a possible source of speed difference might come from the fact that [StretchD...
[ 0.119944728910923, -0.3736431300640106, 0.43325361609458923, -0.09130032360553741, -0.251576691865921, -0.11281339079141617, -0.14089035987854004, -0.05166947469115257, 0.08150369673967361, -0.8270986676216125, -0.08402534574270248, 0.6175488829612732, -0.09915655106306076, -0.181539610028...
independent"). See [High Speed Win32 Animation](http://www.drdobbs.com/cpp/184403210?pgno=5 "High Speed Win32 Animation"): "*use CreateDIBSection to do high speed animation*". OK, it applies to DIB vs. GDI, in old Windows version (1996!) but I think it is still true. [EDIT] Maybe [Bitmap::GetHBITMAP](http://msdn.micro...
[ 0.22147385776042938, -0.6147525310516357, 0.4343149960041046, 0.22242401540279388, -0.1314896196126938, -0.03716026991605759, 0.08959699422121048, -0.22127725183963776, -0.24990448355674744, -0.4722839593887329, 0.11530715972185135, 0.599466860294342, -0.34965693950653076, -0.1242490261793...
Imagine the following A type T has a field Company. When executing the following method it works perfectly: ``` Type t = typeof(T); t.GetProperty("Company") ``` Whith the following call I get null though ``` Type t = typeof(T); t.GetProperty("company", BindingFlags.IgnoreCase) ``` Anybody got an idea? You've ove...
[ 0.22225138545036316, 0.3026341497898102, 0.1985064446926117, -0.20833732187747955, 0.3400023877620697, -0.07743947207927704, 0.20591679215431213, 0.09582141786813736, -0.3262925446033478, -0.4041339159011841, -0.26272591948509216, 0.2145431935787201, -0.5528172850608826, 0.4095124900341034...
My code works great in IE8, Firefox and Safari. But it doesn't work properly in Opera. What happens is that the DIV is hidden but the space occupied by the DIV remains to appear in my web-page. ``` <div style=" z-index:-1;height :380; width:760; position:relative; text-align:center" id="new-add"> <object id="bann...
[ 0.3612198531627655, 0.17512363195419312, 0.7106972932815552, -0.17065976560115814, -0.12231164425611496, -0.028734255582094193, 0.292877197265625, -0.5111085176467896, -0.18775291740894318, -0.7978898286819458, -0.047283679246902466, 0.5012396574020386, -0.070665642619133, -0.0745635107159...
<embed src="exp.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="780" height="382" name="mymoviename" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> </object> </div> <div id="fechar-link" style=" font-family: Verdana,A...
[ 0.051322076469659805, 0.051374662667512894, 0.8316717743873596, -0.12229626625776291, -0.2908438742160797, 0.15484170615673065, 0.24863776564598083, -0.42026060819625854, 0.021319761872291565, -0.38652941584587097, -0.5037894248962402, 0.44144296646118164, -0.37152978777885437, 0.113105855...
document.getElementById('new-add').style.visibility ='hidden'; document.getElementById('banner-flash').style.visibility ='hidden'; document.getElementById('fechar-link').style.visibility ='hidden'; " >Close</a> </div> ``` What do I need to do, so the space occupied by the DIV disappears? Th...
[ 0.5443793535232544, 0.1244899183511734, 0.6167430877685547, -0.04996619373559952, 0.028907865285873413, -0.26382970809936523, 0.23971189558506012, -0.3994956314563751, -0.07028260827064514, -0.3752572238445282, -0.4111831486225128, 0.5878751873970032, -0.3018312156200409, -0.04064856469631...
How to put a File path control in VBA front panel? I want the user to be able to select the browse button and select the file path rather than putting up dialog boxes all over the place. I need the user to select three or more file paths. After re-re-reading your Q, it seams you want to steer away from dialog boxes!Oh ...
[ 0.36281922459602356, -0.15784315764904022, 0.39875420928001404, 0.2298056036233902, -0.02287270501255989, -0.041215427219867706, 0.1288587599992752, -0.09356819093227386, -0.28599342703819275, -0.7982880473136902, 0.15403670072555542, 0.7863324284553528, -0.354940265417099, 0.1255351901054...
installed... but I rather have you > google that one... you can certainly > understand why. But you don't want Dialog Boxes... you want controls and buttons: Use ***listboxes***! To populate your listbox, use the **Dir** command (using method **additem** of the listbox). Two phases for achieving that: * first get ...
[ 0.04570911452174187, -0.3604477047920227, 0.7434117794036865, 0.04722161963582039, 0.19105631113052368, -0.26019346714019775, 0.017028046771883965, -0.19807714223861694, -0.2379480004310608, -0.8557770252227783, -0.360824853181839, 0.6438127756118774, -0.41633784770965576, -0.0538516119122...
you must interpret the listbox default property (Item), check for "->" and use ChDir to change directory and repopulate, or you'll have your file selected. The write up is sooooooo much more complicated than the code... trust me.
[ 0.3037559986114502, -0.1335260272026062, 0.38743385672569275, 0.034804556518793106, 0.04790080338716507, -0.22549806535243988, 0.2558426856994629, -0.04278283938765526, -0.05397949740290642, -0.579718291759491, -0.26674243807792664, 0.56561279296875, -0.3326890170574188, 0.0387524738907814...
How do you stop race conditions in MySQL? the problem at hand is caused by a simple algorithm: 1. select a row from table 2. if it doesn't exist, insert it and then either you get a duplicate row, or if you prevent it via unique/primary keys, an error. Now normally I'd think transactions help here, but because the r...
[ -0.010678015649318695, 0.03140144422650337, -0.11958958208560944, 0.11769749224185944, 0.2140941321849823, 0.022754937410354614, 0.0893268957734108, 0.07270795106887817, -0.13450436294078827, -0.6756076812744141, 0.21510383486747742, 0.59966641664505, -0.5494261980056763, 0.004595995415002...
better way? Are there no scalability issues here as well? And also, doing it for every table sounds a bit unnatural, as it sounds like a very common problem in high-concurrency databases to me. what you want is [LOCK TABLES](http://dev.mysql.com/doc/refman/5.0/en/lock-tables.html) or if that seems excessive how about ...
[ 0.17209935188293457, 0.018603244796395302, 0.2938818633556366, -0.06691250205039978, 0.2524024248123169, -0.28898340463638306, 0.44642385840415955, -0.3528939187526703, -0.3445805311203003, -0.644118070602417, -0.03174901008605957, 0.5366625189781189, -0.5202632546424866, -0.24647986888885...
Pretty simple question: When i have a persistable object, it usually has a property called ID (for abstract classes). So .. is the naming convention ID or Id? eg. ``` public int ID { get; set; } ``` or ``` public int Id { get; set; } ``` cheers :) PS. This is for .NET btw. FXCop conformat would be a bonus. I u...
[ 0.3711221218109131, -0.0024247674737125635, 0.45842045545578003, -0.0095041049644351, -0.14558660984039307, -0.08922719210386276, 0.08615223318338394, 0.12138169258832932, -0.2190757840871811, -0.4909379482269287, -0.11851534992456436, 0.41648855805397034, -0.035530343651771545, 0.01842577...
in a term or phrase. For example, HTML is an acronym for Hypertext Markup Language. You should include acronyms in identifiers only when they are widely known and well understood. Acronyms differ from abbreviations in that an abbreviation shortens a single word. For example, ID is an abbreviation for identifier. In gen...
[ 0.4070857763290405, 0.24306468665599823, 0.20173516869544983, 0.2751626670360565, -0.2813640236854553, -0.09072472900152206, 0.1394827663898468, 0.08885560184717178, -0.05794018507003784, -0.589801013469696, -0.4242318272590637, 0.10561949014663696, -0.1512903869152069, 0.2668900787830353,...
respectively.
[ -0.16228246688842773, 0.3632679283618927, 0.39322733879089355, -0.03001662902534008, 0.1509348601102829, 0.4468376338481903, -0.12080960720777512, -0.21167859435081482, -0.17403081059455872, -0.12098060548305511, 0.03315434977412224, 0.6657951474189758, 0.14437049627304077, 0.3223259150981...
There is a console Java application which is supposed to run until it is stopped by `Ctrl`+`C` or closing the console window. How that application can be programmed to execute a clean up code before exit? You could use a [Shutdown Hook](http://www.onjava.com/pub/a/onjava/2003/03/26/shutdownhook.html). Basically you ne...
[ 0.17323432862758636, 0.07288994640111923, 0.39649730920791626, -0.23119418323040009, 0.19289061427116394, -0.26648226380348206, 0.23646816611289978, -0.17425799369812012, -0.32782620191574097, -0.4840942621231079, -0.30508968234062195, 0.49904629588127136, -0.47952646017074585, 0.382297992...
My servlet application includes a number of library .jars, some of which contain embedded log4j.xml or log4j.properties files. I'd like to ensure that log4j finds my log4j.xml first! I've tried searching for some specification of the priorities of the various classpath elements in a servlet (e.g. does WEB-INF/classes a...
[ 0.296266108751297, 0.07038343697786331, 0.18465997278690338, 0.07060045748949051, -0.2584834396839142, 0.11984117329120636, 0.04124082997441292, -0.24071787297725677, -0.31244710087776184, -0.8148007988929749, -0.16048859059810638, 0.4116232991218567, -0.14915020763874054, 0.14155445992946...
selection from the classpath is non-deterministic (from the point of view of the app developer). Even if the same file is loaded consistently the behaviour could change: 1. When you upgrade the version of your current container. 2. If you switch containers. The simplest solution will be to *remove embedded log4j con...
[ 0.21761472523212433, -0.19888423383235931, -0.023216350004076958, 0.04519065096974373, 0.04547158628702164, 0.08691299706697464, 0.23543624579906464, -0.2969197928905487, -0.24822016060352325, -0.6409960985183716, -0.15598279237747192, 0.6146597266197205, -0.48397666215896606, 0.0991804525...
do you have idea, if there would be some nice way to browse/log JMS queues? (I'm using OpenJMS) For topics I can just add one consumer more and that's about it but with queues I haven't finished with a solution yet. I would like to log all the messages in certain queues and topics without "popping" them from the queue...
[ 0.610868513584137, -0.11428746581077576, 0.15046899020671844, 0.14824457466602325, -0.1195797249674797, 0.003286242950707674, 0.11611105501651764, 0.29546841979026794, -0.513218879699707, -0.6418771743774414, 0.3365662693977356, 0.4861685335636139, -0.23391591012477875, 0.04325094074010849...
that no messages happen to be both written and consumed before my snapshots - that didn't sound like a good solution. Another option would be to create two queues for each "logical queue" - one for logger and one for the actual use - logger would then forward the messages to the "actual queue" - that could maybe work ...
[ 0.39987751841545105, -0.0641947016119957, 0.310840904712677, 0.35151341557502747, -0.02104361541569233, 0.2069920152425766, 0.0416981540620327, 0.38195303082466125, -0.6390314698219299, -0.1970955729484558, 0.16293686628341675, 0.4924060106277466, -0.4022770822048187, -0.07670954614877701,...
We have a page that ordinarily has two elements arranged side-by-side. Despite exploring a few angles for this, we can't seem to make it work. We're not averse to using JavaScript, it just feels that a CSS based solution ought to be possible. Is there a way of using just CSS (and possibly extra markup if necessary) to ...
[ 0.07022200524806976, 0.1143963411450386, 0.24867384135723114, 0.05920051038265228, -0.19146478176116943, -0.013919739983975887, -0.07680173218250275, -0.2588677704334259, -0.27981629967689514, -0.8256768584251404, -0.19628393650054932, 0.03404201567173004, -0.46173709630966187, -0.01172498...
however it won't work in versions of IE less than 7 because it won't understand the sibling selector (+), for that you may want to consider a JavaScript solution (perhaps Dean Edwards' [IE7](http://dean.edwards.name/IE7/)). Anyway, some example css: ``` div#element2{ width:100px; margin:0 auto; } div#element1{ w...
[ -0.11275675147771835, -0.17838707566261292, 0.5829992294311523, -0.25726017355918884, -0.1677166223526001, 0.0024941081646829844, 0.192490816116333, -0.4355041980743408, 0.05180077999830246, -0.6363041996955872, -0.21582278609275818, 0.25216394662857056, -0.05201330780982971, 0.08233532309...
Currently i have this method: ``` static boolean checkDecimalPlaces(double d, int decimalPlaces){ if (d==0) return true; double multiplier = Math.pow(10, decimalPlaces); double check = d * multiplier; check = Math.round(check); check = check/multiplier; return (d==check); } ``...
[ -0.09564580768346786, 0.41690751910209656, 0.4914424419403076, -0.1763497143983841, 0.06905040889978409, -0.04927042871713638, 0.3814619183540344, -0.3199233114719391, -0.29648369550704956, -0.4315333962440491, -0.14570392668247223, 0.4644194543361664, -0.11481085419654846, 0.3620932996273...
double value and then check that with a regexp - but that felt weird. **EDIT:** Thanks for all the answers. There are cases where I really get a double and for those cases I implemented the following: ``` private static boolean checkDecimalPlaces(double d, int decimalPlaces) { if (d == 0) return true; final...
[ 0.231130450963974, -0.2165733128786087, 0.26119256019592285, -0.10262364894151688, -0.23687618970870972, 0.199415922164917, 0.5476149320602417, -0.36856141686439514, -0.0785890445113182, -0.2114754021167755, -0.1965552270412445, 0.5585898160934448, -0.20010137557983398, -0.1767520755529403...
double e = Math.abs(d - check); return e < epsilon; } ``` I changed the `round` to a truncation. Seems that the computation done in `round` increases the inaccuracy too much. At least in the failing testcase. As some of you pointed out if I could get to the 'real' string input I should use `BigDecimal` to chec...
[ 0.1320601850748062, -0.000791160564403981, 0.28000667691230774, -0.0941518023610115, -0.32125282287597656, 0.060728710144758224, 0.4970821142196655, -0.42584776878356934, -0.08737879246473312, -0.32155928015708923, -0.10648992657661438, 0.47549474239349365, -0.2869962453842163, -0.12255980...
the API returns `double` values for numeric cells I can get a accurate representation when I immediately format that `double` with the `DecimalFormat`: ``` DecimalFormat decimalFormat = new DecimalFormat(); decimalFormat.setMaximumIntegerDigits(Integer.MAX_VALUE); // don't use grouping for numeric-type cells decimalF...
[ 0.26668021082878113, -0.007512594107538462, 0.5334675312042236, -0.07026619464159012, 0.1232469379901886, 0.1352098137140274, 0.4618801474571228, -0.42821425199508667, -0.2137337625026703, -0.33563151955604553, 0.09554366767406464, 0.4519645571708679, -0.42208200693130493, 0.08292472362518...
see <http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems> A better way would be to check whether the `n+1` decimal places are below a certain threshold. If `d - round(d)` is less than [`epsilon`](http://en.wikipedia.org/wiki/Epsilon) (see [limit](http://en.wikipedia.org/wiki/Limit_(mathematics))), the decima...
[ -0.1904207170009613, -0.06283055245876312, 0.014467989094555378, -0.1575988531112671, -0.24896331131458282, 0.018429841846227646, 0.0200178399682045, -0.29379168152809143, -0.15242940187454224, -0.5836446285247803, -0.4762783944606781, -0.039050161838531494, -0.02249283157289028, 0.0656546...
I am using a machine on which I do not have root access and would like to access files on a Samba server in random access mode. I know I can transfer the files in their entirety using smbclient but the files are very large (>1GB) and I would rather just treat them as remote files on which I can do random access. The p...
[ 0.10453514009714127, 0.1929951161146164, -0.24037466943264008, 0.08576563745737076, -0.08200562745332718, -0.07665278762578964, 0.13641254603862762, -0.017980391159653664, -0.5844057202339172, -0.8124486207962036, 0.2207852154970169, 0.18675193190574646, -0.3661907911300659, 0.450177311897...
contents of a file on a Samba server? Seems it should be possible to do everything that the kernel file system client is doing but from a user-level application. I only need read-only access btw and the remote file is guaranteed not to change. To answer my own question after digging around in the Samba source: there i...
[ 0.007441085763275623, 0.2556723356246948, 0.5759791135787964, 0.03595694899559021, -0.07163278013467789, 0.02112753503024578, 0.13775092363357544, 0.15120506286621094, -0.47817450761795044, -0.7018061280250549, 0.02127040922641754, 0.09014725685119629, -0.3996005952358246, 0.20021426677703...
&st); for (offset = st.st_size - BUFLEN; offset > 0; offset -= BUFLEN) { smbc_lseek(fd, offset, SEEK_SET); smbc_read(fd, buffer, BUFLEN); } ``` (error checking removed for clarity)
[ -0.15888462960720062, 0.11961139738559723, 0.7474393248558044, -0.646082878112793, 0.2180079072713852, 0.42346179485321045, 0.2334306687116623, -0.22938978672027588, -0.15706543624401093, -0.5777152180671692, -0.5108630061149597, 0.4314965307712555, -0.36773383617401123, 0.0596125461161136...
We are in the process of upgrading our VS2008 to the new SP1, but noticed a change in the csproj files for something that we can't find information on. Seems that the ProductVersion in the csproj file is changed from: ``` <ProductVersion>9.0.21022</ProductVersion> ``` to ``` <ProductVersion>9.0.30729</ProductVersio...
[ 0.4300614297389984, -0.008877095766365528, 0.5296427011489868, -0.09826045483350754, -0.037232838571071625, 0.02580402046442032, 0.22842222452163696, 0.048225853592157364, -0.2836482524871826, -0.6515723466873169, -0.11123310774564743, 0.42866718769073486, -0.3088100254535675, 0.2133598178...
be consumed by. I'd be very surprised to see the build version make any tangible difference.
[ 0.7719262838363647, -0.07749686390161514, 0.04006274789571762, 0.29430365562438965, -0.33425185084342957, -0.20255711674690247, -0.3745502531528473, 0.24696412682533264, 0.0024557597935199738, -0.5574936270713806, -0.03364988788962364, 0.40706780552864075, -0.10019079595804214, 0.386445820...
How can I create unicode console application with Delphi 2009? If I do like this: ``` {$APPTYPE CONSOLE} uses SysUtils; begin writeln('öüğşç سيمانتت'); end. ``` I get the following: ``` ougsc ??????? ``` I'm not sure that is what you're after, but you can create Unicode console applications in all 32-bit Delp...
[ -0.5315682888031006, 0.2394779771566391, 0.7938483357429504, -0.20680344104766846, -0.025408584624528885, 0.1870860457420349, 0.35117796063423157, -0.29857462644577026, -0.012236345559358597, -0.8704904913902283, -0.23315368592739105, 0.610394299030304, -0.19102337956428528, -0.13828226923...
to try how entering Unicode strings in the editor works...
[ -0.15641996264457703, 0.08770124614238739, -0.1503678560256958, 0.024745695292949677, -0.18756261467933655, -0.04051743075251579, -0.06501904875040054, 0.023137107491493225, -0.07737601548433304, -0.6813573241233826, -0.23583175241947174, 0.024540593847632408, -0.23592537641525269, -0.4996...
I'm trying to make a PHP script, I have the script finished but it takes like 10 minutes to finish the process it is designed to do. This is not a problem, however I presume I have to keep the page loaded all this time which is annoying. Can I have it so that I start the process and then come back 10mins later and just...
[ 0.5574496984481812, 0.07498537749052048, 0.4084262549877167, 0.07855237275362015, 0.057669445872306824, -0.2567254900932312, 0.7505337595939636, 0.11472690850496292, -0.12370698899030685, -0.6405171751976013, 0.007660158909857273, 0.6053019762039185, -0.027686400339007378, -0.0777412876486...
to stop a script with these two lines: ``` ignore_user_abort(true); set_time_limit(0); ``` Except you can directly access the server and kill the process there! (Been there, done an endless loop, calling itself over and over again, made the server come to a screeching stop, got shouted at...)
[ 0.3847641050815582, 0.2632462978363037, 0.26693230867385864, -0.2920066714286804, 0.024130849167704582, -0.20676706731319427, 0.6584140658378601, 0.013107948936522007, -0.26362764835357666, -0.1945350617170334, -0.19312360882759094, 0.4057801067829132, -0.5105773210525513, 0.35121178627014...
I'm using event delegation to listen for events lower in the DOM, but it's not working for an onchange event on a select box. Does the onchange event propagate or bubble up the DOM? Googling has failed in finding a conclusive answer. [According to specification](http://www.w3.org/TR/DOM-Level-2-Events/events.html#Even...
[ -0.15361568331718445, -0.3108566403388977, 0.7136231064796448, -0.03802017867565155, 0.1724202185869217, -0.12786957621574402, 0.2869684100151062, -0.1475134789943695, -0.27844536304473877, -0.6329375505447388, -0.31115537881851196, 0.8421145081520081, -0.20888398587703705, -0.193477630615...
I'm trying to use `System.DirectoryServices` in a web site project and I'm getting this error: > The type or namespace name 'DirectoryServices' does not exist in the namespace 'System' (are you missing an assembly reference?) My project has a reference to `System.DirectoryServices` in `web.config`: ``` <add assembl...
[ 0.37908920645713806, 0.2541344463825226, 0.1288233995437622, -0.09197370707988739, 0.18160879611968994, -0.24888300895690918, 0.3346276581287384, 0.13299612700939178, -0.4688500463962555, -0.6953446269035339, -0.02167559415102005, 0.3174288272857666, -0.37964293360710144, 0.223051041364669...
If it is running as 1.1, bits of it might work - but it would fail to find that 2.0 assembly in the 1.1 GAC.
[ 0.36149606108665466, -0.022771866992115974, 0.17177338898181915, 0.023153014481067657, 0.14857742190361023, -0.16123415529727936, 0.31585514545440674, -0.12961140275001526, 0.18544213473796844, -0.2228914052248001, -0.08413726091384888, 0.42452558875083923, -0.15118961036205292, -0.0285759...
I've been working on a project called [Axial](http://www.codeplex.com/axial) that converts MSIL (compiled C# or VB.NET) to JavaScript. There are a few samples of working code, but some common situations don't work properly. (The current release doesn't work in production mode and the SVN code doesn't work in debug mode...
[ 0.7190696597099304, 0.22497598826885223, 0.14161112904548645, -0.15466302633285522, -0.22199569642543793, -0.13804608583450317, 0.2547343671321869, -0.019123829901218414, 0.02657368779182434, -0.7530831098556519, -0.017740001901984215, 0.5899450182914734, -0.0999101772904396, 0.02574747428...
a Visual Studio plug-in makes sure you're using the product correctly. Is this something you or your organization would use? What features other than straight code translation would interest you? You ought to be using [fgetcsv()](http://www.php.net/fgetcsv) if possible. Otherwise, there is always fgets().
[ 0.5944072604179382, -0.13435900211334229, 0.17494861781597137, 0.11529664695262909, 0.08782967925071716, -0.4816220998764038, 0.001016267342492938, 0.138275608420372, -0.08128984272480011, -0.503657341003418, -0.4255845844745636, 1.0498675107955933, -0.18482999503612518, -0.488202601671218...
OK, I have just been reading and trying for the last hour to import a CSV file from access into MySQL, but I can not get it to do it correctly, no matter what I try. My table is like so: ``` +-----------------+------------- | Field | Type +-----------------+------------- | ARTICLE_NO | varchar(20) | AR...
[ -0.21349337697029114, 0.17604728043079376, 0.7847127914428711, -0.17104996740818024, -0.1589938998222351, -0.049395639449357986, -0.0459703728556633, -0.4913826584815979, -0.22103740274906158, -0.5886514782905579, -0.053892429918050766, 0.3149268925189972, -0.21482262015342712, 0.337454676...
QUANT_TOTAL | varchar(20) | QUANT_SOLD | varchar(20) | STARTS | datetime | ENDS | datetime | ORIGIN_END | datetime | SELLER_ID | varchar(20) | BEST_BIDDER_ID | varchar(20) | FINISHED | varchar(20) | WATCH | varchar(20) | BUYITNOW_PRICE | varchar(20) | PIC_URL ...
[ 0.044800300151109695, -0.5621976256370544, 0.888843834400177, -0.0005952513311058283, 0.012190859764814377, 0.18659812211990356, -0.47533348202705383, -0.32464736700057983, -0.29716628789901733, -0.11176842451095581, -0.3176059126853943, 0.5884041786193848, 0.20001929998397827, 0.472806930...
PRIVATE_AUCTION | varchar(20) | AUCTION_TYPE | varchar(20) | INSERT_DATE | datetime | UPDATE_DATE | datetime | CAT_1_ID | varchar(20) | CAT_2_ID | varchar(20) | ARTICLE_DESC | varchar(20) | DESC_TEXTONLY | varchar(20) | COUNTRYCODE | varchar(20) | LOCATION | varchar(20) | CONDIT...
[ -0.29141512513160706, -0.3395345211029053, 0.49161961674690247, 0.14243184030056, 0.18882758915424347, 0.21723397076129913, 0.010446736589074135, -0.2639071047306061, -0.4725067615509033, -0.3452191650867462, -0.2347102165222168, 0.30162695050239563, -0.460305392742157, 0.3536328971385956,...
| varchar(20) | FEE_INSERTION | varchar(20) | FEE_FINAL | varchar(20) | FEE_LISTING | varchar(20) | PIC_XXL | tinyint(4) | PIC_DIASHOW | tinyint(4) | PIC_COUNT | varchar(20) | ITEM_SITE_ID | varchar(20) ``` Which should be fine, and my data is currently semicolon delimited, an example...
[ -0.1939343512058258, 0.29617488384246826, 0.830403208732605, 0.1766108125448227, -0.22021198272705078, 0.5273245573043823, 0.22341857850551605, -0.5286422371864319, -0.5633769035339355, -0.15360330045223236, -0.024459397420287132, 0.29943761229515076, -0.3917020261287689, 0.368445634841918...
€;0,00 €;0;0;0;77 "110293328957";"Orig. Ed Hardy Shirt - Tank Top - Gr. XS- OVP/NEU";"";25,05 €;0,00 €;7;1;0;27.9.2008 06:26:27;6.10.2008 18:26:21;6.10.2008 18:26:21;49;0;0;0;0,00 €;"";0;1;6.10.2008 16:21:56;6.10.2008 16:33:20;31058;0;;0;77;"";1;0;0;0;-1;0,00 €;0,00 €;0,00 €;0;0;0;77 ``` I am using a simple PHP pa...
[ 0.05193210765719414, 0.6150817275047302, 0.40316447615623474, -0.08792627602815628, -0.27294814586639404, 0.38900503516197205, 0.8226839303970337, -0.18970204889774323, -0.15946878492832184, -0.2902882695198059, 0.011991827748715878, 0.41694992780685425, -0.29706642031669617, -0.0958097279...
have tried to keep this question as specific as possible, and am not asking for people to do it for me as others have suggested, but I honestly can not see where the problem is. edit: When trying to display the data through PHP, at the moment the page is completely black with some table cells having borders and others...
[ 0.2645265758037567, 0.08223098516464233, 0.29253214597702026, 0.09599039703607559, -0.21204495429992676, -0.1351834386587143, 0.11388112604618073, 0.0026199650019407272, -0.4107016921043396, -0.5917859673500061, -0.08674823492765427, 0.2547946870326996, -0.33533862233161926, 0.029952717944...
FIELDS TERMINATED BY '\"' LINES TERMINATED BY '\n'; ``` It looks fine in the DB as far as I have been able to tell, apart from the starts field, which is not the main problem at the moment. edit2: I have serialized the result, and this is what was output to the screen: ``` i:0; ``` I have absolutely no idea what ...
[ 0.06609602272510529, 0.017206178978085518, 0.4881899654865265, -0.027282435446977615, -0.27166351675987244, -0.23377346992492676, 0.25220102071762085, 0.060630884021520615, -0.15033455193042755, -0.2903708219528198, -0.1551268994808197, 0.472017377614975, -0.4533438980579376, 0.14175684750...
in your DB, by the query to retrieve it from the DB, or in the way you output it. You need to narrow it down to one of those causes. 1. Have a direct look at the table you are selecting from. I suggest [phpMyAdmin](http://www.phpmyadmin.net/) for this. 2. Directly print the result of your query to the screen. A very c...
[ 0.3321143090724945, 0.14318910241127014, 0.1330905705690384, -0.1336519867181778, -0.3444173038005829, -0.11268851161003113, 0.3366294205188751, -0.4643978774547577, -0.08129306137561798, -0.4473536014556885, -0.1786685436964035, 0.3452911078929901, -0.55806964635849, 0.12771669030189514, ...
gets much easier to nail down *what* the cause is ;-) As Ted Elliot mentioned: *Your fields are terminated by ";" not "\"". Change `FIELDS TERMINATED BY '\"'` to `FIELDS TERMINATED BY ';'`* Also, the correct format for importing data into datetime fields in mysql seems to be the ISO format: YYYY-MM-DD HH:mm:ss (e.g. ...
[ 0.08471343666315079, -0.18633539974689484, 0.6157459020614624, -0.0324922613799572, -0.12842750549316406, -0.29737958312034607, 0.14370784163475037, 0.08260823041200638, -0.3044620156288147, -0.5687429308891296, -0.6591130495071411, 0.3536874055862427, -0.3001447319984436, 0.33749073743820...
I work on a medium sized development team that maintains a 8+ years old web application written in Java 1.4. For new development I always try to convince people to adhere to newer standards and best practices, That goes from simple things like using new naming standards like HtmlImplementation over HTMLImplementation,...
[ 0.32590997219085693, 0.505935549736023, 0.033161185681819916, -0.13176819682121277, -0.09139923006296158, -0.07471495866775513, 0.480673223733902, -0.08924773335456848, -0.044610027223825455, -0.5069532990455627, 0.10369879752397537, 0.40053287148475647, 0.08480428904294968, 0.079500317573...
suggest people buy the latest edition of Effective Java, but it's not every developer that takes my word without questioning (which is a good thing). When that happens, they often ask me for pointers where they could read further about that specific good practice and sometimes I fail to quickly find pointers about th...
[ 0.6906331777572632, 0.3772988021373749, -0.25379467010498047, 0.09646438807249069, -0.3022328317165375, -0.4851660430431366, 0.5808111429214478, 0.3027583956718445, -0.1780828982591629, -0.5126765370368958, 0.00370467035099864, 0.527104914188385, 0.42141711711883545, -0.18615874648094177, ...
[Software Engineeting Best Practices](http://prof.tfh-berlin.de/edlich/lecture-results/swt-best-practices/) (lists briefly out some practices and tools by name) One book (that concentrates mostly on tools worth considering): * [Java Power Tools (O'Reilly)](http://oreilly.com/catalog/9780596527938/)
[ 0.005951110273599625, 0.03126932308077812, -0.29008355736732483, -0.01280234009027481, -0.11809655278921127, 0.09526892751455307, 0.44315215945243835, -0.257935494184494, -0.12182576209306717, -0.3052771985530853, -0.4814363121986389, 0.5004015564918518, 0.14361509680747986, -0.29107034206...
Let's say I'm developing an application that installs COM component and installer registers them. This works great. Now the software is required to run from a memory stick. How can I register my libraries runtime and make sure, that the registry is cleaned up after running the application? Are you always running on XP...
[ 0.7110577821731567, 0.14577358961105347, 0.1291913241147995, 0.2559218406677246, -0.07764878869056702, -0.4130071699619293, -0.00838093739002943, -0.039987292140722275, -0.4347269535064697, -0.591905951499939, 0.14070259034633636, 0.7849851846694946, -0.1448412537574768, 0.2145271301269531...
Activation of COM Components: A Walkthrough](http://msdn.microsoft.com/en-us/library/ms973913.aspx) "Step 6" and "Step 7" in that article show how to create the manifests. If your main program is native, not managed, you may have to make some API calls as well, also explained there.
[ 0.17244656383991241, -0.27200913429260254, 0.3007182478904724, 0.03538740426301956, -0.029163651168346405, -0.1772645115852356, 0.12265830487012863, -0.33579254150390625, -0.3035137951374054, -0.7236864566802979, -0.1772337704896927, 0.5689054727554321, -0.2356966882944107, -0.239992558956...
I have some function to find a value: ``` struct FindPredicate { FindPredicate(const SomeType& t) : _t(t) { } bool operator()(SomeType& t) { return t == _t; } private: const SomeType& _t; }; bool ContainsValue(std::vector<SomeType>& v, SomeType& valueToFind) { return find_if(v.begin(),...
[ -0.07541156560182571, -0.08887384831905365, 0.5407456755638123, -0.07250040769577026, 0.1294160783290863, -0.13847880065441132, 0.2252059429883957, -0.28478696942329407, 0.20183414220809937, -0.8072666525840759, -0.028452299535274506, 0.5451460480690002, -0.3825072646141052, -0.10756374150...
that involves negating the predicate? The best solution is to use the [STL functional library](http://www.keithschwarz.com/cs106l/fall2007/handouts/200_STL_Functional_Library.pdf). By deriving your predicate from `unary_function<SomeType, bool>` , you'll then be able to use the `not1` function, which does precisely wha...
[ -0.05443212762475014, -0.27302777767181396, 0.31288766860961914, -0.20139092206954956, 0.08621527999639511, 0.055529091507196426, 0.4229326844215393, -0.5581385493278503, 0.11019052565097809, -0.5489142537117004, -0.3670184016227722, 0.6915260553359985, -0.37847983837127686, 0.036752924323...
v.end(), not1(FindPredicate(valueToFind))) == v.end(); } ``` --- If you want to roll your own solution (which is, IMHO, not the best option...), well, you could write another predicate that is the negation of the first one : ``` struct NotFindPredicate { NotFindPredicate(const SomeType& t) ...
[ 0.0717792958021164, -0.3373635709285736, 0.507712721824646, -0.26566240191459656, 0.14541095495224, -0.030326468870043755, 0.31493526697158813, -0.23175254464149475, 0.01185535080730915, -0.2280120551586151, -0.35790207982063293, 0.8107883930206299, -0.3275142014026642, -0.0362187772989273...
_t; } private: const SomeType& _t; }; bool AllSatisfy(std::vector<SomeType>& v) { return find_if(v.begin(), v.end(), NotFindPredicate(valueToFind)) == v.end(); } ``` Or you could do better and write a template functor negator, like : ``` template <class Functor> ...
[ 0.06130148470401764, -0.39261603355407715, 0.32544487714767456, -0.2036263644695282, 0.09440356492996216, 0.045545198023319244, 0.24398356676101685, -0.5186890363693237, -0.09627050906419754, -0.5088741183280945, -0.3563794195652008, 0.7508586645126343, -0.648685872554779, -0.0594494305551...
! func(arg); } private: Functor & func; }; ``` that you could use as follow : ``` bool AllSatisfy(std::vector<SomeType>& v, SomeType& valueToFind) { FindPredicate f(valueToFind); return find_if(v.begin(), v.end(), Not<FindPredicate>(f)) == v.end(); } ``` Of course, the latter solution is better beca...
[ -0.13927534222602844, -0.10509850829839706, 0.5229527950286865, -0.3197117745876312, -0.03255235776305199, -0.1085415631532669, 0.23603038489818573, -0.25110018253326416, -0.12455037236213684, -0.43189460039138794, -0.41060811281204224, 0.8832374811172485, -0.41780003905296326, -0.04999803...
I am doing 2^1000 and I am getting this: 1.07151e+301 Is there any way to actually turn this into a proper number without the e+301, or at least can anyone show me where I can see how to turn this in to a real number, by some way working with the e+301 part? So, I'm thinking that what you really want is just the abil...
[ 0.16161678731441498, 0.20288552343845367, 0.37306562066078186, -0.22510139644145966, -0.15412159264087677, 0.17231866717338562, 0.07967298477888107, -0.1280532032251358, -0.20504224300384521, -0.6575477123260498, 0.04193251579999924, 0.5657913088798523, -0.21361492574214935, -0.45866408944...
<< setprecision(0) << value; ``` If you want to print it as a power of two (2^1000 vs 10715...), you're on your own.
[ 0.3603053092956543, 0.008885401301085949, 0.2593234181404114, -0.11620777100324631, -0.035581495612859726, 0.004048534203320742, 0.1301340013742447, -0.42919373512268066, -0.025767197832465172, -0.72093266248703, -0.14807969331741333, 0.7286109924316406, -0.20997990667819977, -0.1247375458...
I have an ASP.Net MVC Ajax.BeginForm that submits and updates my page properly when I click the submit button. The problem is I need additional events to do the same thing, like when they change the text of an input. The additonal events do properly submit the form but they circumvent the onsubmit javascript generate...
[ 0.12355586141347885, 0.008987195789813995, 0.8467493653297424, -0.038210462778806686, -0.2161257266998291, 0.0001672080106800422, 0.15913236141204834, -0.4718005657196045, -0.11114141345024109, -0.6975657343864441, -0.10134679824113846, 0.6596113443374634, -0.04391252249479294, -0.12234510...
.ddl").bind("change", function() { $("#ViewCartPage form").submit() }); ``` Any ideas on how to get these additional events to trigger onsubmit like I need it too? Decided to just use a regular form and then the jQuery.Form plugin and this worked in 2 seconds! Wish i would have just went this route orginally. ``` va...
[ 0.019916512072086334, -0.23172225058078766, 0.6954112648963928, -0.144810751080513, -0.2979820668697357, -0.05874911695718765, 0.730188250541687, -0.3059259355068207, -0.19085024297237396, -0.6576815247535706, -0.19246287643909454, 0.6332631707191467, -0.34060564637184143, 0.04821203276515...
First some background. I am trying to run [Community Engine](http://www.communityengine.org/) on a fresh install of Ubuntu. CE is a open src social networking plugin running on Rails. I was able to get CE up and running on my windows box w/o issue. I have decided to use Ubuntu 8.10 as my development environment now, an...
[ 0.39131051301956177, 0.43337225914001465, 0.013654493726789951, -0.26443925499916077, -0.12416253983974457, -0.3118464946746826, 0.30825018882751465, 0.05652177333831787, -0.16818179190158844, -0.8457480669021606, -0.07651476562023163, 0.4033561944961548, -0.3976985216140747, 0.24881149828...
script/generate plugin_migration /home/myuser/Projects/MyProject/config/../vendor/plugins/engines/boot.rb:4: This version of the engines plugin requires Rails 2.1.1 or later! (RuntimeError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1....
[ -0.063437819480896, 0.28660786151885986, 0.6001923680305481, -0.40152356028556824, -0.13827234506607056, 0.2998928129673004, 0.5193779468536377, -0.8060605525970459, 0.054119620472192764, -0.5887475609779358, -0.3539721667766571, 0.8489504456520081, -0.2564103305339813, -0.2479095309972763...
(2.1.2) capistrano (2.5.0) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) fastthread (1.0.1) gem_plugin (0.2.3) haml (2.0.4) highline (1.4.0) hpricot (0.6.164) htmlentities (4.0.0) mime-types (1.15) mongrel (1.1.5) net-scp (1.0.1) net-sftp (2.0.1) net-ssh (2.0.4) net-ssh-gateway (1.0.0) rails (2.2.0, 2.1.2, 2.1.1) <--...
[ 0.2851159870624542, 0.14022019505500793, 0.4889093339443207, 0.04528356343507767, -0.18551139533519745, -0.14665648341178894, 0.7223542928695679, -0.11055944114923477, -0.32875627279281616, -0.6641117930412292, -0.11638931185007095, 0.6568130254745483, -0.42132967710494995, 0.1847086995840...
on an XP box. I have asked this question in the Community Engine google group, however, I have a feeling that this is more related to my setup of Ruby and Rails on my machine than to CE itself. Help would be appreciated. This issue ended up being due to not usind sudo to install rails. I ended up blowing away ruby co...
[ 0.5123125910758972, 0.4014072120189667, 0.0957191064953804, 0.1971513330936432, -0.5703251957893372, -0.17907246947288513, 0.5018225908279419, -0.06373918056488037, 0.017527125775814056, -0.3403356671333313, 0.06928424537181854, 0.7024855017662048, -0.17171292006969452, 0.1642603725194931,...
had to be run a second, or even third time before they would install. regarding Orion's suggestion, I had checked the RAILS\_GEM\_VERSION and it was 2.1.1 or greater. That's what was causing the most confusion with this issue since it was saying what version was needed, and then gem -v would show me the right version.
[ 0.6472822427749634, -0.11847182363271713, -0.119098000228405, 0.03635620325803757, -0.3045084476470947, 0.009021230973303318, 0.18562154471874237, -0.0724140852689743, 0.031492892652750015, -0.534298300743103, 0.17196904122829437, 0.8595958948135376, -0.12920217216014862, -0.12733334302902...
Delphi 2009 introduced a hierarchical system for project options configuration, where you set "base" options and then have different build styles with their own option sets. But can you extend the hierarchy even further? I do most of my coding with debug options on, of course, but sometimes there are special cases wher...
[ -0.2928445637226105, -0.20732344686985016, 0.1940108835697174, -0.15253391861915588, -0.11403313279151917, -0.22140400111675262, 0.2856963276863098, -0.0692184716463089, -0.19208014011383057, -0.40290379524230957, -0.1629527509212494, 0.5068491697311401, -0.347810834646225, -0.322337448596...
I just missing something? Yes, it's straightforward. In the project manager, just right-click on the "Debug" configuration, and select "New Configuration". Your new configuration will appear as descended from "Debug" in the way that you expect.
[ 0.46542149782180786, -0.038338977843523026, 0.006233838852494955, 0.1486651748418808, 0.2637626826763153, -0.25150588154792786, 0.12415818125009537, 0.4181312024593353, -0.27959468960762024, -0.4025646448135376, -0.20667414367198944, 0.4623238444328308, -0.11316104233264923, 0.417596906423...
I want to implement Scrum, but I can't decide on a Sprint length. Ken Schwaber seems to relate that 30 days it the defacto... but I can't imagine waiting 30 days without the possibility of changing direction or reprioritizing. Our projects usually only last 1-3 months using the waterfall method and moving to Scrum wo...
[ 0.2474719136953354, -0.19269506633281708, -0.01207475271075964, -0.1377107948064804, -0.20358076691627502, -0.1434665322303772, 0.7282781600952148, -0.4882742464542389, -0.35968419909477234, -0.5211108326911926, 0.44846829771995544, 0.22702521085739136, 0.12327199429273605, -0.212116196751...
downsides? Is it more work/less work/same about of work to manage a team with shorter sprints? BTW... 3 week sprints seem odd to me, who does a 3 week sprint? Why not just make it 4 weeks. ;) I've worked on teams doing 1, 2 and 4 week sprints. It really is dependent on your organization. I prefer 1 or 2 week sprints. ...
[ 0.21648964285850525, -0.27089574933052063, -0.042767975479364395, -0.04539484530687332, -0.2148258090019226, 0.2378583401441574, 0.5830315947532654, 0.1349976509809494, -0.6858271956443787, -0.6610881090164185, 0.3608929514884949, 0.38959595561027527, 0.19245408475399017, -0.25261861085891...
For some teams, this means in production. For others, it may mean verified by the business to meet their needs using an internal release. I'd start by defining done, done, then looking at how to structure your sprints around that. Ideally all stories are getting to done at the end of the sprint - and you aren't just do...
[ 0.6613475680351257, -0.188385009765625, -0.265078067779541, 0.21411845088005066, 0.11504700034856796, -0.3355061709880829, 0.6803951263427734, -0.13953056931495667, -0.2986977994441986, -0.15386289358139038, 0.12231439352035522, 0.4834054708480835, 0.48026952147483826, -0.6472041606903076,...
what is the best way to convert a UTF-16 files to UTF-8? I need to use this in a cmd script. There is a GNU tool [recode](http://www.gnu.org/software/recode/recode.html) which you can also use on Windows. E.g. ``` recode utf16..utf8 text.txt ```
[ 0.2597369849681854, 0.17806081473827362, 0.45063671469688416, 0.05524953827261925, -0.11075796186923981, -0.007232569623738527, -0.03627627715468407, -0.03449201583862305, -0.4298904240131378, -0.877587080001831, -0.25492775440216064, 0.6811748147010803, -0.2719700336456299, 0.110197879374...
Is it possible to turn off all HTML formatting in Visual Studio 2008? It just totally messes everything up. For example, I'll add a grid with columns, styles, etc. with them all indented and on separate lines. I'll switch to design view or split view and all the work I just did is on one line! It is so frustrating. I'...
[ 0.45308172702789307, -0.17608454823493958, 0.4686286151409149, 0.026415934786200523, -0.31721311807632446, -0.21831613779067993, 0.19980843365192413, -0.026019185781478882, -0.23764605820178986, -0.711959719657898, 0.24039362370967865, 0.47066357731819153, -0.6518602967262268, 0.0973429381...
look at something. There are some formatting options under *Tools-->Options-->Text Editor-->HTML-->Format* while there doesn't seem to be an option to turn it off, there may be something there to define how you want it to format. To reformat the document hit (`CTRL`+`K`,`CTRL`+`D`) or *Edit-->Advanced-->Format Documen...
[ 0.367056667804718, -0.11432697623968124, 0.2829705774784088, 0.287704199552536, -0.1052534431219101, -0.16573254764080048, 0.05203144624829292, 0.23013760149478912, -0.2808992862701416, -0.777978777885437, 0.02541685290634632, 0.6160523891448975, -0.10220565646886826, 0.04789507016539574, ...
I have Expression Blend 2, Service Pack 1, and cannot create a Silverlight 2 project. When I attempt to create a Silverlight 2 project, I get the following error: > Blend cannot continue because a compatible Silverlight version could not be found. I installed Blend a few weeks ago, and service packed it yesterday. Th...
[ 0.302425742149353, -0.08288883417844772, 0.5993632078170776, -0.3676675260066986, -0.45304644107818604, -0.19146864116191864, 0.43829837441444397, -0.4112164080142975, 0.21996650099754333, -0.6628634929656982, -0.03704366460442543, 0.7751066088676453, -0.3598921298980713, -0.11783575266599...
5 were a few weeks ago.) 6. Silverlight SDK 2 (yesterday) 7. Expression Blend 2 SP1 (downloaded then installed, yesterday) 8. Expression Blend 2 SP1 (installed straight from Microsoft site, yesterday, after reading [this](http://social.expression.microsoft.com/Forums/en-US/blend/thread/2a58747b-1bd3-4bb3-8073-7d9ef9125...
[ 0.07528671622276306, -0.3013972342014313, 0.7597426772117615, -0.13304241001605988, -0.22091913223266602, -0.11264288425445557, 0.5128517150878906, -0.31806954741477966, -0.08930125832557678, -0.6912444233894348, -0.11223255842924118, 1.022121548652649, -0.3213363289833069, -0.613219738006...
32-bit only). I've posted (essentially) this same question on [Blend's own forums](http://social.expression.microsoft.com/Forums/en-US/blend/thread/2442f10d-ac06-4633-a6c3-7e2d1e42681b). If I get a response there that works, I'll post it here in case anyone else ever has this issue. What version of Blend do you have i...
[ 0.45345744490623474, -0.20990003645420074, 0.8180785179138184, -0.2875947952270508, -0.06131141260266304, -0.3395378887653351, 0.34083834290504456, -0.28056129813194275, -0.01725861243903637, -0.6076146960258484, -0.08194877207279205, 0.5805596113204956, -0.5693855881690979, -0.23557530343...
didn't see any install of the Silverlight runtime. Do you have that insalled as well?
[ 0.5660446286201477, 0.066337950527668, 0.3291720449924469, 0.034673288464546204, 0.1860005408525467, -0.17179131507873535, 0.3851933181285858, 0.12669914960861206, -0.3376091420650482, -0.15785369277000427, 0.4522174298763275, 0.16337673366069794, -0.041385404765605927, -0.1287925690412521...
Are hints really necessary for every sql statement? We have a dba who is anal about it and asks us to put hints on every select and update statements in our stored procs. Is this really necessary? Not usually. Putting them on everything sounds like overkill. The [documentation](http://msdn.microsoft.com/en-us/library/...
[ 0.06758896261453629, 0.021845178678631783, -0.03370092436671257, 0.06424015760421753, 0.1864360272884369, -0.09755448997020721, 0.12053869664669037, 0.1449032723903656, 0.0658516064286232, -0.5310454368591309, 0.01326053962111473, 0.17929716408252716, -0.20286676287651062, -0.3527252078056...
Create a flat text file in c++ around 50 - 100 MB with the content 'Added first line' should be inserted in to the file for 4 million times using old style file io **fopen** the file for write. **fseek** to the desired file size - 1. **fwrite** a single byte **fclose** the file
[ 0.15406079590320587, 0.11375908553600311, 0.7802239656448364, -0.025920242071151733, 0.17020022869110107, 0.23280441761016846, 0.016542654484510422, -0.22879961133003235, -0.04776814952492714, -0.7433575391769409, -0.2895451784133911, 0.39710941910743713, -0.14386026561260223, -0.317784905...
Many web sites support folksonomy tags. You may have heard of [rel-tag](http://microformats.org/wiki/reltag), where it says that "The last path component of the URL is the text of the tag". I am looking for a bookmarklet or greasemonkey script (javascript) to get the "last path component" for the URL currently being v...
[ 0.68718022108078, 0.1248113140463829, 0.457480251789093, 0.023035112768411636, 0.010471584275364876, -0.36810731887817383, 0.07364281266927719, 0.35501420497894287, -0.5384100079536438, -0.5135408043861389, -0.23331068456172943, 0.3822705149650574, -0.1513601690530777, 0.1273615062236786, ...
multiple tags in the last path component, such as, [foo+bar](http://delicious.com/popular/foo+bar). Some [regexp suggestions](http://microformats.org/discuss/mail/microformats-discuss/2008-June/012144.html) have been offered. Since you're using JavaScript, there's no need to worry about hostnames, querystrings, etc - ...
[ 0.04903866723179817, -0.3648700416088104, 0.4874114394187927, 0.02434285171329975, -0.08673329651355743, -0.14409098029136658, -0.045169565826654434, -0.11415746062994003, -0.3402917981147766, -0.7777602672576904, -0.3397526741027832, 0.3180825114250183, -0.2857387065887451, 0.210023760795...
IDE: Microsoft Visual Studio Professional 2008 Language: C# Background: I have one form and two groupboxes that are going to be used as preference catagory groupboxes. My problem is that everytime I drag one groupbox on top of the other (hide/show groupboxes upon listview catagory select), the base groupbox auto-pare...
[ 0.1524290293455124, 0.06781650334596634, -0.23552358150482178, -0.07735364139080048, -0.20857666432857513, 0.30473464727401733, 0.00007490173447877169, -0.237090602517128, 0.09308633208274841, -0.6011410355567932, 0.003818515921011567, 0.4681969881057739, -0.3492124080657959, -0.6110824346...
runtime but I'd like to make that my last option in case there is a more appropriate solution. You may consider resizing your second GroupBox into position over the first. Drag one side or one corner of the second group box until it covers the first GroupBox and continue to resize the second GroupBox until it is positi...
[ 0.21166643500328064, -0.5428004264831543, 0.5126152634620667, -0.054886505007743835, 0.1976311355829239, 0.08747215569019318, 0.1542460024356842, -0.10060771554708481, -0.24301117658615112, -0.7855488657951355, -0.045418836176395416, 0.462286114692688, -0.2992275655269623, -0.4918271601200...
buttons, which include options to "Make Same Size" and "Align Middle". Furthermore, don't forget the keyboard right in front of you. The arrow keys will move the selected controls. Try holding various combinations of `Ctrl`+`Alt`+`Shift` while using the arrow keys.
[ -0.2826160788536072, -0.16821995377540588, 0.5708920955657959, 0.1645006537437439, 0.08060631901025772, 0.25382936000823975, -0.06298289448022842, -0.22486233711242676, -0.36240172386169434, -0.5062780976295471, 0.11352222412824631, 0.8405593633651733, -0.09593325853347778, -0.398240774869...
I'm using Windows CE Platform Builder and my code is written in C++ . For each of the folders in the project I'm creating a lib ( the code is statically linked ) . However , there are about 20 libs so far . Is there a way to reduce their number ? I was thinking of creating a lib from other libs , but I don't know if th...
[ 0.4513738751411438, 0.20657266676425934, 0.34596484899520874, -0.09449005126953125, -0.05666813254356384, -0.013521630316972733, 0.17954856157302856, 0.11119244992733002, -0.23413875699043274, -0.890489935874939, -0.07502090185880661, 0.2600434422492981, -0.2491069883108139, 0.237203136086...
sort of thing. ``` $ lib /? Microsoft (R) Library Manager Version 8.00.50727.762 Copyright (C) Microsoft Corporation. All rights reserved. usage: LIB [options] [files] options: /DEF[:filename] /ERRORREPORT:{NONE|PROMPT|QUEUE|SEND} /EXPORT:symbol /EXTRACT:membername /INCLUDE:symbol...
[ 0.19746819138526917, 0.19395047426223755, 0.2390405684709549, 0.04692709073424339, 0.29731807112693787, -0.3445367217063904, 0.32492223381996155, 0.04157831892371178, -0.42274659872055054, -0.41698145866394043, -0.4778902232646942, -0.1749812811613083, -0.4433540403842926, 0.57188880443573...
/NODEFAULTLIB[:library] /NOLOGO /OUT:filename /REMOVE:membername /SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION| EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER| NATIVE|POSIX|WINDOWS|WINDOWSCE}[,#[.##]] /VERBOSE /WX[:NO] ``` Normally the...
[ -0.4221925437450409, -0.20021070539951324, 0.24882878363132477, -0.055086344480514526, 0.23779694736003876, 0.046327751129865646, 0.21632495522499084, 0.2966304421424866, -0.04521851986646652, -0.8965853452682495, -0.44039440155029297, 0.14904603362083435, -0.42878448963165283, 0.281809240...