text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
should work for S60 as well. Just replace the S40 SDK in phase 3 with S60's.
[ 0.08595863729715347, -0.3425489664077759, 0.34006819128990173, 0.2712792456150055, 0.04436035454273224, -0.0815657377243042, 0.06364130973815918, -0.1443185657262802, 0.14941230416297913, -0.6912857890129089, -0.1304314136505127, 0.48914989829063416, -0.12672924995422363, -0.05887585505843...
I have a number of tracks recorded by a GPS, which more formally can be described as a number of line strings. Now, some of the recorded tracks might be recordings of the same route, but because of inaccurasies in the GPS system, the fact that the recordings were made on separate occasions and that they might have bee...
[ 0.5262489318847656, 0.04183086380362511, 0.1230056881904602, 0.4285818338394165, 0.2918575704097748, 0.14015378057956696, 0.08287831395864487, -0.03604651242494583, -0.2166634500026703, -0.4355553686618805, 0.21221116185188293, 0.3195423483848572, -0.07607334107160568, 0.07424391061067581,...
the similarity between two line strings. I have come up with some home grown methods to do this, but would like to know if this is a problem that's already has good algorithms to solve it. How would you calculate the similarity, given that similar means represents the same path on a map? **Edit:** For those unsure of...
[ 0.21146045625209808, -0.2591429352760315, 0.2769457995891571, 0.31128832697868347, -0.32187044620513916, 0.37188857793807983, 0.12480833381414413, 0.014471427537500858, -0.3467164635658264, -0.7882182598114014, 0.24295814335346222, 0.3132617175579071, 0.03579464182257652, 0.155857399106025...
your tracks. *Math alert:* Fréchet was a pioneer in the field of [metric space](http://en.wikipedia.org/wiki/Metric_space) which is relevant to your problem.
[ 0.2760331630706787, 0.05622028559446335, -0.05912188068032265, 0.38963887095451355, -0.0775727853178978, 0.35347896814346313, 0.21230003237724304, 0.24618251621723175, -0.5630149245262146, -0.6180468201637268, -0.1251833289861679, 0.4141407310962677, 0.051129162311553955, -0.34560674428939...
In C#, `int` and `Int32` are the same thing, but I've read a number of times that `int` is preferred over `Int32` with no reason given. Is there a reason, and should I care? [ECMA-334](https://www.ecma-international.org/publications/standards/Ecma-334.htm):2006 *C# Language Specification* (p18): > Each of the predefin...
[ -0.053910885006189346, 0.16184154152870178, 0.11735625565052032, -0.3067260980606079, -0.4412989020347595, -0.2187470942735672, -0.040158092975616455, 0.06391220539808273, 0.064604252576828, -0.12552481889724731, -0.48540428280830383, 0.6286458373069763, -0.42962417006492615, -0.1082277223...
I wish Subversion had a better way of moving tags. The only way that I know to move a tag is to remove the file from the tag and then copy it again. Revision tree browsers don't seem to handle that very well. This also requires keeping the directory structure under the trunk and tag in sync. Use case: We have thousand...
[ 0.42672061920166016, -0.17244361340999603, 0.2776468098163605, 0.23510338366031647, -0.10244151949882507, -0.31117895245552063, 0.1893598884344101, 0.0728728398680687, -0.4467335045337677, -0.67445307970047, 0.16412188112735748, 0.3712567985057831, -0.258617639541626, 0.1393505483865738, ...
case? I have considered properties also but then we can't get the prod version of all files easily. Merging to the tag doesn't appear to be very easy either. (Originally posted to <http://jamesjava.blogspot.com/2007/12/subversion-moving-tags.html>) I don't think you can ever do this with the way that subversion operate...
[ 0.466152161359787, -0.28963541984558105, 0.2059878557920456, -0.13257095217704773, -0.13656377792358398, -0.3878539204597473, 0.2085852324962616, -0.07440720498561859, -0.30766618251800537, -0.4718407988548279, 0.2635171413421631, 0.4249870479106903, -0.5039186477661133, 0.0537438206374645...
on why git's pull based development model is a better match to your scenario is [here](http://utsl.gen.nz/talks/git-svn/intro.html). There are also tutorials on how to start migrating like [this](http://git.or.cz/course/svn.html).
[ 0.17643199861049652, -0.4934856593608856, 0.26352623105049133, 0.22050504386425018, 0.03752089664340019, -0.1050652340054512, -0.11310386657714844, 0.07232071459293365, -0.14185018837451935, -0.6855126023292542, -0.07325967401266098, 0.3791804015636444, 0.28205713629722595, 0.0127174053341...
I would like to find out safe ways of implementing three dimensional arrays of integers in C++, using pointer arithmetic / dynamic memory allocation, or, alternatively using `STL` techniques such as vectors. Essentially I want my integer array dimensions to look like: ``` [ x ][ y ][ z ] ``` x and y are in the rang...
[ 0.2632030248641968, 0.17197185754776, 0.4227015972137451, -0.21118533611297607, -0.25525686144828796, 0.2386157512664795, -0.03614950180053711, -0.619770348072052, -0.4483341872692108, -0.35625192523002625, 0.06835584342479706, 0.5295653939247131, -0.3072807490825653, -0.2004822939634323, ...
30; int z = 4; typedef boost::multi_array<int, 3> array_type; typedef array_type::index index; array_type my_array(boost::extents[x][y][z]); // Assign values to the elements int values = 0; for (index i = 0; i != x; ++i) { for (index j = 0; j != y; ++j) { for (index k = 0; k != z; ++k) { ...
[ -0.17235757410526276, -0.03532784804701805, 0.4588605761528015, -0.4662940800189972, 0.023852292448282242, 0.31460440158843994, 0.17810554802417755, -0.5994737148284912, -0.02603360451757908, -0.37065690755844116, -0.31830012798309326, 0.8691034317016602, -0.3078659474849701, -0.3509864807...
What is the dependency inversion principle and why is it important? Check this document out: [The Dependency Inversion Principle](https://drive.google.com/file/d/0BwhCYaYDn8EgMjdlMWIzNGUtZTQ0NC00ZjQ5LTkwYzQtZjRhMDRlNTQ3ZGMz/view). It basically says: * High level modules should not depend upon low-level modules. Both ...
[ 0.19610774517059326, -0.01760830357670784, 0.11235509067773819, 0.22902916371822357, 0.06821510940790176, -0.08422306925058365, -0.010648641735315323, -0.3141773045063019, -0.166474387049675, -0.11324194818735123, -0.07216791063547134, 0.5300359129905701, -0.41430652141571045, 0.1217449754...
way you would use it should be relatively stable in time. If you can extract an interface that represents the concept of logging, this interface should be much more stable in time than its implementation, and call sites should be much less affected by changes you could make while maintaining or extending that logging m...
[ 0.2800598740577698, -0.13778972625732422, 0.3326549828052521, 0.2753579616546631, 0.2356719672679901, -0.17459945380687714, 0.07972408086061478, -0.14277397096157074, -0.4621323347091675, -0.4993424415588379, 0.0810815691947937, 0.6778724193572998, -0.2740013599395752, -0.2091887891292572,...
I'm not talking about bug tracking software (like Bugzilla or Jira). I'm looking for something that: 1. Stores test specifications in text format 2. Combines test specs into test coverage scenarios 3. Keeps track of the progress through testing scenarios 4. Links test specs with bug reports stored in Bugzilla 5. Gener...
[ 0.877169132232666, -0.07353945821523666, 0.024985821917653084, 0.2224237620830536, -0.014867241494357586, -0.38725733757019043, 0.042905256152153015, 0.15812678635120392, -0.18258024752140045, -0.7510269284248352, 0.21684518456459045, 0.34036582708358765, -0.38278478384017944, -0.033213991...
I would like to move a file or folder from one place to another within the same repository without having to use Repo Browser to do it, and without creating two independent add/delete operations. Using Repo Browser works fine except that your code will be hanging in a broken state until you get any supporting changes c...
[ 0.26680850982666016, -0.49607574939727783, 0.37486258149147034, 0.002688751323148608, 0.10925526916980743, 0.13210323452949524, 0.17538827657699585, -0.17140503227710724, -0.602284848690033, -0.5995180606842041, -0.28050854802131653, 0.6750749349594116, -0.1473609060049057, -0.014754278585...
button. The popup menu will have a `SVN move versioned files here` option. **Note that the destination folder must have already been added to the repository for the `SVN move versioned files here` option to appear.**
[ -0.0348040834069252, -0.13379287719726562, 0.7875974178314209, -0.17442092299461365, 0.18730978667736053, -0.0332588367164135, 0.0998656377196312, 0.4979231655597687, -0.593007504940033, -0.6091393232345581, -0.5197164416313171, 0.5612683892250061, -0.025199104100465775, 0.3026334047317505...
I have some ASP.NET web services which all share a common helper class they only need to instantiate one instance of *per server*. It's used for simple translation of data, but does spend some time during start-up loading things from the web.config file, etc. *The helper class is 100% thread-safe. Think of it as a simp...
[ 0.20282649993896484, -0.10062608867883682, 0.3405928313732147, -0.03484603017568588, -0.1917271614074707, 0.05910922959446907, 0.2716245949268341, -0.07264168560504913, -0.17933359742164612, -0.8433270454406738, -0.19298763573169708, 0.4176892340183258, -0.07659056037664413, 0.074824430048...
the helper class as a Private Shared variable in Global.asax, and added a lazy load Shared ReadOnly property like this: ``` Private Shared _helper As MyHelperClass Public Shared ReadOnly Property Helper() As MyHelperClass Get If _helper Is Nothing Then _helper = New MyHelperClass() End...
[ -0.3482832908630371, -0.23985810577869415, 0.47411975264549255, -0.22833456099033356, -0.0649581104516983, 0.06299251317977905, 0.2441902756690979, -0.010857842862606049, -0.08684670925140381, -0.5799005031585693, -0.23749244213104248, 0.6253303289413452, -0.5240209102630615, 0.29417952895...
each request, even on the same thread. I'm sure I'm just missing some key detail of ASP.NET but MSDN hasn't been very helpful. I've tried doing similar things using both `Application("Helper")` and `Cache("Helper")` and I still saw the constructor run with each request. It's not wise to use application state unless yo...
[ 0.44214069843292236, -0.26750054955482483, 0.32918164134025574, 0.08735910803079605, -0.18398532271385193, 0.043153513222932816, 0.4077903628349304, -0.3339459002017975, -0.22480320930480957, -0.8627082109451294, -0.24869339168071747, 0.4244426190853119, -0.27133631706237793, 0.25745514035...
be sure not to make it stateful.
[ 0.19045498967170715, 0.286062091588974, -0.05020352452993393, -0.06689322739839554, 0.1769946664571762, -0.14410458505153656, 0.36306846141815186, 0.5458131432533264, 0.005684145726263523, -0.3997098207473755, -0.05654561147093773, 0.27162569761276245, 0.06316682696342468, -0.1155259460210...
How do you define your UserControls as being in a namespace below the project namespace, ie. [RootNameSpace].[SubSectionOfProgram].Controls? **Edit due to camainc's answer:** I also have a constraint that I have to have all the code in a single project. **Edit to finalise question:** As I suspected it isn't possible ...
[ 0.260202020406723, 0.1849232316017151, 0.22620508074760437, 0.2643490433692932, 0.11326220631599426, 0.0128864711150527, 0.07544226199388504, -0.04726491868495941, -0.20356623828411102, -0.6370928287506104, -0.07229664921760559, 0.3869338929653168, -0.16428981721401215, 0.00780436489731073...
do it through a combination of the project window and in code. Each solution gets a namespace like this: ``` [CompanyName].[SolutionName].[ProjectName] ``` So, our user controls are normally in a project called "Controls," which would have a namespace of: ``` OurCompany.ThisSolution.Controls ``` If we have contr...
[ 0.10589146614074707, 0.1808157116174698, 0.38967165350914, 0.24323327839374542, 0.5661271214485168, 0.15243791043758392, -0.09830779582262039, -0.09143778681755066, -0.23480042815208435, -0.8055716753005981, -0.39040955901145935, 0.2618558406829834, -0.21242141723632812, 0.0156646147370338...
\Projects\MySolution\Controls -- or -- \Projects\ \Projects\Common \Projects\Common\Assemblies \Projects\Common\Controls etc. Hope that helps...
[ 0.2056167721748352, 0.2845017910003662, 0.23161475360393524, 0.23020660877227783, 0.6271497011184692, 0.11495286971330643, 0.018940726295113564, 0.09093526750802994, -0.11291687935590744, -1.0158718824386597, -0.05654870346188545, 0.06926670670509338, 0.013466840609908104, -0.0883830040693...
I've got many, many mp3 files that I would like to merge into a single file. I've used the command line method ``` copy /b 1.mp3+2.mp3 3.mp3 ``` but it's a pain when there's a lot of them and their namings are inconsistent. The time never seems to come out right either. As Thomas Owens pointed out, simply concatenat...
[ 0.38586893677711487, 0.034135185182094574, -0.012668419629335403, 0.1887952834367752, 0.04139183834195137, -0.1785096973180771, -0.08055880665779114, -0.19056743383407593, -0.30999627709388733, -0.6287733316421509, -0.005066554993391037, 0.592085599899292, -0.3149811029434204, 0.0619653686...
join together MP3 files, without needing to decode + re-encode the data (which would result in a loss of audio quality) and will also deal with the ID3 tags intelligently. The resulting file can also be split back into its component parts using the mp3splt tool - mp3wrap adds information to the IDv3 comment to allow t...
[ 0.13720691204071045, -0.03736881539225578, 0.41095003485679626, 0.03796130791306496, -0.11966981738805771, -0.2982024848461151, 0.22418591380119324, -0.5325800180435181, -0.18535307049751282, -0.440329372882843, -0.1984923630952835, 0.24776066839694977, -0.5358653664588928, -0.265229970216...
Using C#, I need a class called `User` that has a username, password, active flag, first name, last name, full name, etc. There should be methods to *authenticate* and *save* a user. Do I just write a test for the methods? And do I even need to worry about testing the properties since they are .Net's getter and sette...
[ 0.20424102246761322, 0.21658456325531006, -0.04256497323513031, 0.15136045217514038, -0.3258172869682312, -0.4039033055305481, 0.172291561961174, -0.026284394785761833, -0.15105056762695312, -0.3992071747779846, -0.09565160423517227, 0.4199222922325134, -0.11689373105764389, -0.00103926949...
**I Don’t Know Where to Start?** > > > * Start afresh. Only think about writing tests when you are writing new > code. This can be re-working of old > code, or a completely new feature. > * Start simple. Don’t go running off and trying to get your head round > a testing framework as well as being > TDD-esque. Deb...
[ 0.6713101267814636, 0.27686965465545654, -0.1007581278681755, 0.24825379252433777, -0.28825128078460693, 0.011037689633667469, 0.9012793302536011, -0.21442978084087372, -0.07544972747564316, -0.8253982067108154, 0.3084082007408142, 0.5842013955116272, 0.24997349083423615, -0.05692196637392...
of developers > out there that are happy to stagnate > and not try new things to better > themselves. You are doing the right > thing, remember this and it will help > stop you from giving up. > * Start ready for a challenge. It is quite hard to start getting into > testing. Expect a challenge, but > remember – ...
[ 0.3948817551136017, 0.2684895992279053, -0.22375540435314178, 0.16458845138549805, -0.19980917870998383, -0.16178742051124573, 0.7139859795570374, -0.012284654192626476, -0.09112265706062317, -0.8167532086372375, 0.25611114501953125, 0.7989101409912109, -0.01893700286746025, -0.07017043977...
that could occur and > then trying to test for it and fix. > This is a quick way to a headache. > Testing should be a real YAGNI > process. If you know there is a > problem, then write a test for it. > Otherwise, don’t bother. > > > **Only Test One Thing** > > > Each test case should only ever test > one thi...
[ 0.3281412422657013, 0.2785976231098175, -0.010312826372683048, 0.17913316190242767, -0.16017787158489227, -0.15724673867225647, 0.4791182279586792, -0.08369667828083038, -0.1912798285484314, -0.7251318693161011, 0.09793294221162796, 0.6960963606834412, -0.21219433844089508, 0.0489864237606...
What's the simplest-to-use techonlogy available to save an arbitrary Java object graph as an XML file (and to be able to rehydrate the objects later)? The easiest way here is to serialize the object graph. Java 1.4 has built in support for serialization as XML. A solution I have used successfully is XStream (<http://x...
[ 0.3140619397163391, -0.2442016303539276, 0.5109965205192566, 0.2054775059223175, -0.07784320414066315, -0.24134215712547302, 0.009654455818235874, 0.37338730692863464, -0.2508721649646759, -0.8959223031997681, 0.02180086262524128, 0.4393605887889862, -0.3879335820674896, 0.0702866241335868...
SVN externals allow you to make an SVN folder appear as if it's at another location. A good use for this is having a common folder shared across all of your projects in SVN. I have a /trunk/common folder in SVN that I share via several different project. Example: * Project1 : /trunk/project1/depends * Project2 : /tr...
[ 0.17158222198486328, -0.00032387979445047677, 0.23552921414375305, -0.2880880832672119, -0.09400241822004318, 0.3107869625091553, 0.009085264056921005, -0.06407960504293442, -0.4429464042186737, -0.6111925840377808, 0.17695607244968414, 0.5779872536659241, -0.06431737542152405, 0.081438556...
tortoise SVN as my SVN client. Does anyone know how to change this behavior? I would like for the show log of /trunk/projectX to include any changes to any defined svn:externals as well. This is not possible with the current release of Subversion, other than explicitly calling svn log on the target of the externals d...
[ 0.12696033716201782, -0.13401438295841217, 0.3191210627555847, -0.35341793298721313, -0.10794011503458023, 0.040954504162073135, 0.4155394434928894, 0.3303898274898529, -0.5480120182037354, -0.332455575466156, -0.018661854788661003, 0.8506013751029968, -0.18496495485305786, 0.3527988493442...
I want to include a batch file rename functionality in my application. A user can type a destination filename pattern and (after replacing some wildcards in the pattern) I need to check if it's going to be a legal filename under Windows. I've tried to use regular expression like `[a-zA-Z0-9_]+` but it doesn't include m...
[ 0.20791220664978027, 0.11986205726861954, 0.2106313854455948, 0.0998443141579628, 0.042453594505786896, 0.05206189677119255, 0.39963552355766296, 0.010435454547405243, -0.34805724024772644, -0.6194015145301819, -0.18263544142246246, 0.35193437337875366, -0.164983332157135, 0.11033090949058...
that according to the Remarks section in MSDN "The array returned from this method is not guaranteed to contain the complete set of characters that are invalid in file and directory names." [The answer provided by sixlettervaliables](https://stackoverflow.com/questions/62771/how-check-if-given-string-is-legal-allowed-f...
[ 0.04315705597400665, 0.09587326645851135, 0.09096364676952362, 0.12184500694274902, 0.10271239280700684, -0.052218180149793625, 0.1777748018503189, -0.0718020647764206, -0.3184104561805725, -0.10229192674160004, -0.42136484384536743, 0.4637632966041565, 0.0026292288675904274, 0.08790548890...
It's fall of 2008, and I still hear developers say that you should not design a site that requires JavaScript. I understand that you should develop sites that degrade gracefully when JS is not present/on. But at what point do you not include funcitonality that can only be powered by JS? I guess the question comes do...
[ 0.21916770935058594, -0.06000369042158127, 0.4174969494342804, 0.04531991481781006, -0.09684793651103973, -0.3936805725097656, 0.45834898948669434, 0.47016873955726624, -0.4299103021621704, -0.7317348718643188, 0.34576359391212463, 0.11080758273601532, 0.34931042790412903, 0.12815567851066...
We currently deploy web applications by creating a database and running SQL scripts through query analyzer. Then we copy the output from "publish website" and set up that website in IIS. We have seen websetup in visual studio, but that part seems to be thinly documented. For example, we are not clear how to ask the us...
[ 0.6781081557273865, 0.2444692999124527, 0.011457258835434914, 0.15290096402168274, -0.055489420890808105, -0.36780551075935364, -0.0497441403567791, 0.04703765735030174, -0.2697635591030121, -0.8110332489013672, 0.0008300697663798928, 0.3270938992500305, -0.14251896739006042, -0.0237520094...
have physical access to the servers. Pretty soon though we are going to be shipping CDROMs. What is the practical tradeoff between manual intervention and automation? Avoid Visual Studio deployment, and automate as much as possible. Web Deployment Projects and NAnt can be your friends! Briefly, our deployment setup: ...
[ 0.477901816368103, -0.045557014644145966, 0.38352131843566895, 0.07193968445062637, -0.05875297635793686, -0.21371297538280487, 0.1590997725725174, -0.22183357179164886, -0.3690181076526642, -0.7917414903640747, -0.14539210498332977, 0.5656108260154724, -0.23719805479049683, -0.22160619497...
there is another NAnt build file which takes the application offline, backs up the database, backs up the website. runs the SQL change script, unzips the new version and brings the app online. Step 3 is usually run "manually" (one double-click), but sometimes scheduled for late at night. You could do exactly the same ...
[ 0.23156607151031494, -0.022457128390669823, 0.40379729866981506, -0.09881523996591568, -0.05834925174713135, -0.14554308354854584, 0.3207615315914154, -0.37647339701652527, -0.13453510403633118, -0.6573081612586975, -0.16945210099220276, 0.5525879263877869, -0.018180781975388527, -0.332040...
Is it possible to determine the MAC address of the originator of a remote connection under Windows NT 4? The remote PC opens a socket connection into my application and I can get the IP address. However I need to determine the MAC address from the information available from the socket such as the IP address of the remo...
[ 0.0638725683093071, -0.11372356861829758, 0.43982791900634766, 0.03843993321061134, 0.08741002529859543, -0.2193492352962494, 0.1644030213356018, 0.08000704646110535, -0.12600556015968323, -0.639135479927063, -0.28999459743499756, 0.6251530647277832, -0.2605219781398773, 0.2795578539371490...
In VB.NET is there a library of template dialogs I can use? It's easy to create a custom dialog and inherit from that, but it seems like there would be some templates for that sort of thing. I just need something simple like Save/Cancel, Yes/No, etc. Edit: MessageBox is not quite enough, because I want to add drop-d...
[ 0.5527826547622681, -0.2536742687225342, 0.3010481297969818, 0.13400636613368988, -0.09780025482177734, -0.06764417141675949, 0.10827178508043289, -0.043166354298591614, -0.33821359276771545, -0.6836675405502319, 0.1852872520685196, 0.5872559547424316, -0.5064697861671448, -0.1337307691574...
create your own template? I've done that with several types of forms, not just dialogs. It is a great way to give yourself a jump-start. Create your basic dialog, keeping it as generic as possible, then save it as a template. Here is an article that will help you: <http://www.builderau.com.au/program/dotnet/soa/Save...
[ 0.9314324855804443, -0.1468055099248886, 0.06831330806016922, 0.08171331882476807, 0.016319958493113518, 0.04260201007127762, 0.3211909532546997, -0.11722564697265625, -0.22200079262256622, -0.7908635139465332, 0.1417165845632553, 0.3758726418018341, -0.3335590660572052, -0.224555328488349...
**Is there a way to utilise the GCC compiler whilst still being able to develop via the Visual Studio IDE?** Our project is cross-platform, and I quite frequently get into trouble from my [colleague](https://stackoverflow.com/users/912/jkp) because I'm checking in code that's not standards compliant (this can be attri...
[ 0.8712359070777893, 0.34298279881477356, -0.14264684915542603, -0.19389651715755463, -0.12249820679426193, -0.4169418513774872, 0.4128444790840149, -0.005731198471039534, -0.21778856217861176, -0.5404921770095825, -0.020557859912514687, 0.49064287543296814, -0.0778786912560463, 0.032274030...
to suggest would still require a makefile, so I am partially repeating the advice from an earlier reply. Or, as was also mentioned earlier, maybe you already have a makefile, in which case you will have even fewer steps in order to accomplish what I am about to describe. Once you know your specific windows command-lin...
[ 0.7559744119644165, -0.08516933023929596, 0.03481743112206459, -0.09224962443113327, 0.028434807434678078, -0.09664037823677063, 0.1543782502412796, -0.39519768953323364, 0.15132038295269012, -0.8547940850257874, -0.1005377322435379, 0.40063557028770447, 0.025812428444623947, 0.02390112355...
machine, and that script will be able to return an error-code. Essentially, "script OK," or "script FAILED" is the extent of the amount of communication your script can have BACK to visual studio. The script doesn't automatically see all the visual studio environment variables (such as $(InputDir), $(ProjectDir), $(So...
[ 0.07568635791540146, 0.318600058555603, 0.30901655554771423, -0.16624537110328674, 0.1396651417016983, 0.006683523301035166, 0.7180221676826477, -0.06311068683862686, -0.08177326619625092, -0.6471225023269653, -0.15901720523834229, 0.7054446339607239, -0.2713147699832916, 0.159441083669662...
your script (the one that calls make/g++) detects any problems, then the script returns an error and the build can be STOPPED right then and there. The script can print to stdout or stderr and that output should be visible to you in the Visual Studio Build output window (the window that usually shows stuff like "======...
[ 0.22621910274028778, 0.09492012858390808, 0.36091330647468567, -0.2356051206588745, 0.06824039667844772, -0.06159137934446335, 0.7622319459915161, 0.0005959421978332102, -0.11047225445508957, -0.6823766827583313, -0.24597445130348206, 0.9501543641090393, -0.18956580758094788, -0.1441356092...
you build.
[ 0.8771522045135498, 0.5386477708816528, -0.6415984034538269, 0.22144365310668945, -0.12667329609394073, 0.3765934407711029, 0.29167234897613525, 0.01826709695160389, -0.5089836120605469, -1.0973836183547974, 0.19960863888263702, 0.6892510652542114, 0.16030821204185486, 0.15507864952087402,...
Last year, Scott Guthrie [stated](http://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspx) “You can actually override the raw SQL that LINQ to SQL uses if you want absolute control over the SQL executed”, but I can’t find documentation describing an extensibility method. I would like to mod...
[ 0.47791969776153564, 0.2618655264377594, 0.3208676874637604, -0.17253896594047546, 0.027799192816019058, -0.04569346457719803, 0.2021564543247223, -0.36648890376091003, -0.3288401663303375, -0.13557638227939606, -0.06507950276136398, 0.06983782351016998, -0.16664645075798035, 0.23223221302...
row.ContactName, orderCount }; } ``` Which results in the following TSQL: ``` SELECT [t0].[ContactName], ( SELECT COUNT(*) FROM [dbo].[Orders] AS [t1] WHERE [t1].[CustomerID] = [t0].[CustomerID] ) AS [orderCount] FROM [dbo].[Customers] AS [t0] ``` To: ``` using (Northwind...
[ -0.36205407977104187, 0.09762607514858246, 0.7382371425628662, -0.5559700727462769, 0.04628762975335121, 0.5286333560943604, 0.08730054646730423, -0.35456937551498413, -0.23177485167980194, -0.44433391094207764, -0.4692593216896057, 0.28512105345726013, -0.3109340965747833, 0.2154100984334...
TableHint.NoLock, TableHint.Index (0)) let orderCount = row.Orders.With ( TableHint.HoldLock).Count () select new { row.ContactName,
[ -0.33055591583251953, -0.0961202010512352, 0.763052761554718, -0.36119645833969116, 0.5519477725028992, 0.20843616127967834, 0.05180780589580536, -0.3580951392650604, -0.3266957998275757, -0.5779618620872498, -0.1777677834033966, 0.5503398180007935, -0.4594276249408722, 0.2456504851579666,...
orderCount }; } ``` Which *would* result in the following TSQL: ``` SELECT [t0].[ContactName], ( SELECT COUNT(*) FROM [dbo].[Orders] AS [t1] WITH (HOLDLOCK) WHERE [t1].[CustomerID] = [t0].[CustomerID] ) AS [orderCount] FROM [dbo].[Customers] AS [t0] WITH (NOLOCK, INDEX(0)) ``` Using: ```...
[ -0.308022677898407, -0.009199435822665691, 0.617345929145813, -0.3450232446193695, 0.028203358873724937, 0.48756301403045654, 0.09248138219118118, -0.6207565665245056, -0.3274303376674652, -0.40459585189819336, -0.5327807068824768, 0.11105386912822723, -0.521233856678009, 0.309993118047714...
TableHint[] args) where TEntity : class { //TODO: implement return entitySet; } ``` And ``` public class TableHint { //TODO: implement public static TableHint NoLock; public static TableHint HoldLock; public static TableHint Index (int id) { return null; } public static Table...
[ -0.19391745328903198, 0.028716709464788437, 0.6404222249984741, -0.017197230830788612, -0.2699202299118042, 0.08137674629688263, 0.10772638022899628, -0.14744774997234344, -0.26608091592788696, -0.3034608066082001, -0.1786411702632904, 0.30709514021873474, -0.32397907972335815, -0.00198146...
change the underlying provider and thus modify the SQL did not make the final cut in LINQ to SQL.
[ 0.11432690918445587, -0.02148488163948059, 0.5156818628311157, 0.1600414365530014, -0.119411900639534, -0.12476667761802673, 0.010873527266085148, 0.15355190634727478, 0.022051962092518806, -0.40383923053741455, -0.04974781349301338, 0.25828808546066284, -0.21859677135944366, 0.03229406476...
Could someone write-up a step by step guide to developing a C++ based plugin for FireFox on Windows? The links and examples on <http://www.mozilla.org/projects/plugins/> are all old and inaccurate - the "NEW" link was added to the page in 2004. The example could be anything, but I was thinking a plugin that lets Jav...
[ 0.08165711909532547, 0.14726652204990387, 0.06320459395647049, -0.016940902918577194, -0.3384628891944885, -0.3216186761856079, 0.33975541591644287, -0.09713444113731384, -0.3650730550289154, -0.5484879612922668, 0.057716358453035355, 0.5713583827018738, -0.5427761673927307, -0.10945647209...
Google Chrome as well. [edit 2015: Chrome removes support for NPAPI soon <http://blog.chromium.org/2014/11/the-final-countdown-for-npapi.html> ]
[ -0.16974663734436035, -0.07343728840351105, 0.3705918490886688, 0.20603051781654358, -0.2391095906496048, 0.3911436200141907, 0.2967729866504669, 0.3345024585723877, -0.20782411098480225, -0.27637243270874023, -0.46328920125961304, 0.29360058903694153, -0.5590330362319946, -0.1013005152344...
I am currently building in Version 3.5 of the .Net framework and I have a resource (.resx) file that I am trying to access in a web application. I have exposed the .resx properties as public access modifiers and am able to access these properties in the controller files or other .cs files in the web app. My question is...
[ 0.36481568217277527, 0.015905622392892838, 0.6542025804519653, 0.051541075110435486, 0.20594607293605804, -0.08575654029846191, 0.021668558940291405, -0.18666449189186096, -0.27935147285461426, -1.1252856254577637, -0.006489605642855167, 0.6016835570335388, -0.006076625548303127, 0.4548913...
I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using NotePad++. Is there maybe an IDE that would take care of the tabs and indenting? > I'm currently usin...
[ 0.2585484981536865, -0.11288834363222122, 0.11272495985031128, -0.19868171215057373, -0.337109237909317, 0.06116455793380737, 0.255904883146286, 0.09664450585842133, -0.3853318691253662, -0.6887645721435547, 0.20801639556884766, 0.5619479417800903, -0.3045644462108612, -0.22530564665794373...
I see many user interface control libraries for .NET, but where can I get similar stuff for win32 using simply C/C++? Things like prettier buttons, dials, listviews, graphs, etc. Seems every Win32 programmers' right of passage is to end up writing his own collection. :/ --- No MFC controls please. I only do pure C/...
[ 0.26526734232902527, 0.18063656985759735, 0.17812344431877136, 0.2461145520210266, -0.13319338858127594, 0.10121773928403854, 0.09475842118263245, 0.2672331929206848, -0.17034904658794403, -0.6981435418128967, 0.1447630524635315, 0.6292273998260498, -0.1174311488866806, 0.08692105114459991...
many developer companies have gone crazy with making pretty looking .NET components and wondered where the equivalent C/C++ Win32 components have gone? I read about how many people ended up writing their own gradient button class, etc. So you would think that there would be some commercial classes for this stuff. It's...
[ 0.45802226662635803, -0.031003572046756744, -0.0522332638502121, 0.2782415747642517, -0.26436957716941833, -0.008798378519713879, 0.21021924912929535, 0.10618311166763306, 0.07922836393117905, -0.8402337431907654, 0.03915516659617424, 0.6620520353317261, -0.24779966473579407, 0.14580795168...
with it: In addition, it's also cross-platform, so in theory you can target Win, Mac, & Linux (provided you don't do anything platform-specific in the rest of your code, of course ;) ) Edit: I notice that you're targeting Windows Mobile; that definitely adds to Qt's strength, as its cross-platform support extends to [...
[ 0.3294331133365631, -0.28931766748428345, 0.43235093355178833, 0.09378375858068466, -0.16152836382389069, -0.36899927258491516, 0.10104288160800934, 0.14120154082775116, -0.10030926018953323, -0.6942130923271179, -0.2331095188856125, 0.5654022097587585, -0.18477299809455872, 0.140285268425...
While working in a Java app, I recently needed to assemble a comma-delimited list of values to pass to another web service without knowing how many elements there would be in advance. The best I could come up with off the top of my head was something like this: ``` public String appendWithDelimiter( String original, S...
[ 0.01823195070028305, 0.08768344670534134, 0.5522561073303223, -0.2756950259208679, 0.042802441865205765, 0.2480699121952057, 0.2284458726644516, -0.6004807949066162, -0.06559135764837265, -0.43494072556495667, 0.06304676830768585, 0.4605437219142914, -0.39938291907310486, 0.195703342556953...
} } String parameterString = ""; if ( condition ) parameterString = appendWithDelimiter( parameterString, "elementName", "," ); if ( anotherCondition ) parameterString = appendWithDelimiter( parameterString, "anotherElementName", "," ); ``` I realize this isn't particularly efficient, since there are strings being c...
[ -0.1796528697013855, -0.11925575137138367, 0.299860417842865, -0.2766824960708618, 0.0020982783753424883, -0.39796069264411926, 0.40878981351852417, -0.40371599793434143, -0.03713316470384598, -0.5642237067222595, 0.010813990607857704, 0.6378990411758423, -0.4651866853237152, 0.12096954137...
your friend here - it provides a join method very similar to the one you refer to in Ruby: [`StringUtils.join(java.lang.Iterable,char)`](http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#join(java.lang.Iterable,%20char)) --- ### Java 8: Java 8 provides joining out of t...
[ -0.32308581471443176, 0.11084763705730438, 0.8204731345176697, -0.28660690784454346, 0.19795729219913483, 0.043016452342271805, 0.45388227701187134, -0.1580626517534256, -0.20755931735038757, -0.4436817765235901, -0.005396666936576366, 0.7799243927001953, -0.29665321111679077, -0.154092863...
If Java application requires certain JRE version then how can I check its availability on Mac OS X during installation? It should be as simple as looking at /System/Library/Frameworks/JavaVM.framework/Versions/ E.g. from my machine: ``` manoa:~ stu$ ll /System/Library/Frameworks/JavaVM.framework/Versions/ total 56 77...
[ -0.4210759699344635, 0.259963721036911, 0.6902890205383301, -0.27194297313690186, -0.21423548460006714, 0.08447600901126862, 0.6348638534545898, -0.3743915259838104, -0.2521563768386841, -0.5141686797142029, -0.220616415143013, 0.5332763195037842, -0.3896116018295288, 0.04617063328623772, ...
root wheel 272 Feb 21 2008 1.4.2 168494 lrwxr-xr-x 1 root wheel 5 Feb 21 2008 1.5 -> 1.5.0 166930 drwxr-xr-x 8 root wheel 272 Feb 21 2008 1.5.0 774585 lrwxr-xr-x 1 root wheel 5 Jul 23 15:31 1.6 -> 1.6.0 747415 drwxr-xr-x 8 root wheel 272 Jul 23 10:24 1.6.0 167155 drwxr-xr-x 8 root wheel 272 Jul ...
[ -0.7540106177330017, 0.21554666757583618, 0.8419995307922363, -0.19421033561229706, -0.32969439029693604, 0.7292516827583313, 0.645017683506012, -0.19070763885974884, -0.19480206072330475, -0.49048665165901184, 0.1710030734539032, 0.42056024074554443, 0.08194579184055328, 0.324142515659332...
wheel 3 Jul 23 15:31 CurrentJDK -> 1.5 manoa:~ stu$ ```
[ -0.1610613614320755, 0.4647706151008606, 0.6326870322227478, 0.0333508625626564, -0.01638827472925186, 0.2662371098995209, 0.3088928163051605, -0.10643273591995239, -0.10542389750480652, -0.5658792853355408, 0.2370002716779709, 0.8225550651550293, -0.003811202012002468, 0.2878594398498535,...
How do I select all the columns in a table that only contain NULL values for all the rows? I'm using **MS SQL Server 2005**. I'm trying to find out which columns are not used in the table so I can delete them. Here is the sql 2005 or later version: Replace ADDR\_Address with your tablename. ``` declare @col varchar(25...
[ -0.41509002447128296, -0.15788999199867249, 0.8020499348640442, -0.19343501329421997, -0.39819401502609253, 0.07756220549345016, 0.08653317391872406, -0.44214028120040894, -0.35681626200675964, -0.4478558599948883, 0.008359825238585472, 0.5494403839111328, -0.45428168773651123, -0.08130385...
WHERE [' + @col + '] IS NOT NULL) BEGIN print ''' + @col + ''' end' EXEC(@cmd) FETCH NEXT FROM getinfo into @col END CLOSE getinfo DEALLOCATE getinfo ```
[ -0.37182751297950745, -0.16793516278266907, 1.029761552810669, -0.18928618729114532, 0.1529923379421234, -0.24937531352043152, -0.07567816227674484, -0.2770173251628876, -0.11552786082029343, -0.5315566062927246, -0.6943665146827698, 0.49218976497650146, -0.4384463131427765, 0.021498922258...
Here's an interesting problem. On a recently installed Server 2008 64bit I opened IE and through the Tools -> Options I changed the homepage to iGoogle.com. Clicked okay and then clicked the homepage button. IE crashes. Now you'd think that I could just remove iGoogle as the homepage but when I open IE it immediately ...
[ 0.06236102432012558, 0.329098641872406, 0.11234141886234283, -0.1010524109005928, -0.5410789251327515, -0.15598365664482117, 0.5547136068344116, 0.6352884769439697, -0.33690404891967773, -0.9301469922065735, 0.06591307371854782, 0.3725263774394989, -0.42530786991119385, 0.7531504034996033,...
IE? Control Panel -> Internet Options
[ 0.049496687948703766, -0.18113623559474945, 0.0485750287771225, 0.3047155439853668, 0.22350206971168518, -0.14087465405464172, 0.009337699972093105, 0.29756712913513184, -0.07107821106910706, -1.0686237812042236, -0.31587839126586914, 0.5880336761474609, -0.2219022512435913, -0.05508212000...
I would like to be able to display some dynamic text at the mouse cursor location in a win32 app, for instance to give an X,Y coordinate that would move with the cursor as though attached. I can do this during a mousemove event using a TextOut() call for the window at the mouse coordinates and invalidate a rectange...
[ 0.11359316855669022, -0.1902608424425125, 0.3162041902542114, 0.19196340441703796, 0.05273029953241348, -0.1933230608701706, 0.2503839135169983, -0.10780385136604309, 0.009503737092018127, -0.7729807496070862, 0.07220209389925003, 0.6772633194923401, -0.2618892192840576, -0.011143176816403...
perhaps using the existing cursor drawing/invalidating mechanism ? You may want to consider a small transparent window that you move to follow the mouse. In particular, since Windows 2000, [Layered](http://msdn.microsoft.com/en-us/library/ms632599(VS.85).aspx#layered) windows seem to be the weapon of choice (confessio...
[ -0.09807487577199936, -0.2674301266670227, 0.18181000649929047, 0.22460699081420898, -0.27317652106285095, -0.3156129717826843, 0.2317391186952591, 0.22808030247688293, -0.7390111684799194, -0.38918304443359375, -0.13577784597873688, 0.581950306892395, -0.07472900301218033, 0.0849497690796...
How can I programatically cause a control's tooltip to show in a Winforms app without needing the mouse to hover over the control? (P/Invoke is ok if necessary). If you are using the `Tooltip` control on the form, you can do it like this: `ToolTip1.Show("Text to display", Control)` The [MSDN documentation for the Too...
[ 0.3285655975341797, -0.12082134932279587, 0.40500250458717346, 0.060751985758543015, 0.07989731431007385, -0.25125518441200256, 0.11722317337989807, -0.2983587980270386, -0.06717418879270554, -0.6209701299667358, -0.04652073234319687, 0.37461888790130615, -0.2350776642560959, 0.00899194926...
I discovered [template metaprogramming](http://en.wikipedia.org/wiki/Template_metaprogramming) more than 5 years ago and got a huge kick out of reading [Modern C++ Design](https://rads.stackoverflow.com/amzn/click/com/0201704315) but I never found an opertunity to use it in real life. Have *you* ever used this techniq...
[ 0.08845780789852142, 0.04063030704855919, 0.0021244597155600786, 0.05929716303944588, -0.08160093426704407, 0.08636347204446793, 0.18075565993785858, -0.45827430486679077, -0.17813463509082794, -0.21383075416088104, 0.15711569786071777, 0.588922917842865, -0.6836591958999634, -0.3612734973...
this kind of thing with templates is more efficient than, say, writing expression trees using objects and doing the analysis at runtime. It's faster because the modified (perturbed) expression tree is then available to the optimizer at the same level as the rest of your code, so you get the full benefits of optimizatio...
[ 0.24888260662555695, -0.08504180610179901, -0.0772419199347496, 0.30616673827171326, 0.09803199023008347, -0.19673466682434082, 0.08628501743078232, -0.22757917642593384, -0.207065612077713, -0.6291767954826355, -0.14442400634288788, 0.6734574437141418, -0.5125889182090759, -0.281187117099...
get you all the same optimization benefits and also be more legible -- but the tradeoff is that you have to maintain a parser.
[ -0.17191766202449799, 0.2941097319126129, 0.020644411444664, 0.525483250617981, 0.06952698528766632, -0.00977026205509901, 0.2597019076347351, -0.15474243462085724, 0.12079257518053055, -0.5189220905303955, -0.07074767351150513, 0.8466084003448486, -0.11685074120759964, -0.5933418869972229...
I'm absolutely stunned by the fact that MS just couldn't get it right to navigate to the definition of a method, when you're combining C# and VB projects in one solution. If you're trying to navigate from VB to C#, it brings up the "Object Explorer", and if from C# to VB, it generates a metadata file. Honestly, what i...
[ 0.5354976058006287, 0.10979729145765305, 0.045681461691856384, 0.2442678064107895, 0.0004827170632779598, -0.4450981020927429, 0.31830546259880066, 0.142313614487648, -0.27166715264320374, -0.3377577066421509, 0.18137866258621216, 0.32596293091773987, -0.32360947132110596, 0.20593807101249...
answer. I am truly stunned that Microsoft screwed this up so badly. Does anyone have any ideas for a workaround? --- @Mladen Mihajlovic - that's exactly the situation I'm describing. Try it out yourself; project references don't make a shred of difference. This is general to both languages. * F12 in VB.Net always ta...
[ 0.4395276606082916, 0.14044056832790375, 0.1324450820684433, 0.0018726505804806948, -0.1811572164297104, 0.07138048112392426, 0.4710003733634949, -0.0500832125544548, -0.20062671601772308, -0.4729265868663788, -0.12860271334648132, 0.5630442500114441, -0.2243431955575943, -0.25536546111106...
behaviour is the same in VS2008. These are the rules for external projects, both should take you to the code if it is in the same solution. --- You're quite right - VB projects treat C# projects as external and vice versa - you can't navigate from code in one to the other. I've tested this in the latest VS2008 and i...
[ -0.08576098829507828, -0.17146903276443481, 0.4449901878833771, -0.012709617614746094, -0.3170584440231323, 0.05198704078793526, 0.7283406257629395, -0.1928081065416336, -0.7397704720497131, -0.6957160234451294, 0.2847898006439209, 0.6927122473716736, -0.3746711313724518, -0.13188017904758...
the normal navigate to code functionality is a feature of code with a common compilers, and everything else uses some kind of reflection. As long as you're still building a PDB it should be able to find the files, I guess it doesn't because they need it to support release builds too. It couldn't find the line of code ...
[ 0.1894211322069168, 0.22334034740924835, 0.09216833114624023, 0.2571903467178345, -0.05138179287314415, -0.22991208732128143, 0.48565173149108887, 0.24602119624614716, 0.02938896231353283, -0.709819495677948, 0.11773642152547836, 0.7935240864753723, -0.20469406247138977, -0.169615685939788...
I'm using [PopBox](http://www.c6software.com/Products/PopBox/) for magnifying thumbnails on my page. But I want my website to work even for users which turned javascript off. I tried to use the following HTML code: ``` <a href="image.jpg"> <img src="thumbnail.jpg" pbsrc="image.jpg" onclick="Pop(...);"/> </a> `...
[ 0.6011148691177368, 0.5180379152297974, 0.818459689617157, -0.19578136503696442, -0.29411834478378296, -0.08841641992330551, 0.44812095165252686, -0.15684360265731812, -0.20669445395469666, -0.43164706230163574, -0.026296285912394524, 0.5061764121055603, -0.3764553964138031, 0.176242053508...
default behaviour.
[ -0.07557821273803711, -0.28041714429855347, 0.14499741792678833, -0.09443085640668869, 0.06648213416337967, -0.1387467086315155, 0.5885332822799683, 0.31056004762649536, -0.0731741189956665, -0.4542606770992279, -0.37111884355545044, 0.7455193400382996, -0.5527742505073547, -0.259368568658...
We have an issue using the `PEAR` libraries on `Windows` from `PHP`. Pear contains many classes, we are making use of a fair few, one of which is the Mail class found in `Mail.php`. We use PEAR on the path, rather than providing the full explicit path to individual PEAR files: ``` require_once('Mail.php'); ``` Rath...
[ 0.3414034843444824, 0.16703933477401733, 0.03414865955710411, 0.15752193331718445, -0.14183710515499115, -0.07911128550767899, 0.39176538586616516, 0.0036592823453247547, -0.047520823776721954, -0.6921404004096985, 0.0029244141187518835, 0.41618454456329346, -0.22982031106948853, -0.031808...
they are approved from the moderation queue) and we attempt to include `Mail.php` we "accidentally" include mail.php. Without changing to prepend the full path to the PEAR install explicitly requiring the PEAR modules (non-standard, typically you install PEAR to your path...) is there a way to enforce PHP on Windows t...
[ 0.6161506175994873, 0.24441330134868622, 0.10843617469072342, -0.013024773448705673, -0.04954037815332413, -0.1929311752319336, 0.4261740744113922, -0.2963891923427582, -0.11902981251478195, -0.35667142271995544, -0.0739094540476799, 0.6294670701026917, -0.269287645816803, -0.2818188965320...
an include file, but a controller), has been in the repository for some years, and plugins specifically generate URLS to provide links/redirects to this page in their processing. > (We support Apache, Microsoft IIS, LightHTTPD and Zeus, using PHP 4.3 or later (including PHP5)) having 2 files with the same name in the ...
[ 0.35762810707092285, -0.16165344417095184, -0.12772415578365326, 0.2130180299282074, -0.1567234992980957, -0.4135735034942627, 0.41270774602890015, -0.2978733777999878, -0.33662283420562744, -0.36890697479248047, 0.022769395262002945, 0.25713783502578735, -0.5543234348297119, 0.15427574515...
the include paths, one by one. when the required file is found in the include path, PHP will stop searching for the file. so in the administration section of your application, if you want to include the PEAR Mail file, instead of the mail.php that you wrote, change your include path so the PEAR path is before the curre...
[ 0.47441956400871277, 0.0837741494178772, 0.18441005051136017, -0.26184359192848206, 0.060220420360565186, -0.01758802868425846, 0.48578745126724243, -0.32512542605400085, -0.17898918688297272, -0.4523991048336029, -0.31581664085388184, 0.5059037208557129, -0.7059993743896484, -0.1767432987...
I seem to remember reading something about how it is bad for structs to implement interfaces in CLR via C#, but I can't seem to find anything about it. Is it bad? Are there unintended consequences of doing so? ``` public interface Foo { Bar GetBar(); } public struct Fubar : Foo { public Bar GetBar() { return new Bar()...
[ 0.15138015151023865, 0.37106746435165405, 0.49758264422416687, -0.1906539797782898, -0.31044629216194153, -0.11667381972074509, 0.24163827300071716, -0.23471903800964355, -0.03217769041657448, -0.5877304673194885, -0.1304430365562439, 0.7112967371940613, -0.533884584903717, -0.048329282552...
for objects that have value-type semantics. By implementing an interface on a struct you can run into boxing concerns as the struct is cast back and forth between the struct and the interface. As a result of the boxing, operations that change the internal state of the struct may not behave properly.
[ -0.09007605165243149, 0.11301108449697495, -0.1322057992219925, 0.3046533167362213, -0.0181382168084383, 0.15207122266292572, 0.3009324073791504, -0.275024950504303, -0.03196562081575394, -0.3971234858036041, -0.15492363274097443, 0.47597962617874146, -0.3615570664405823, -0.12435475736856...
I am developing a web page code, which fetches dynamically the content from the server and then places this content to container nodes using something like ``` container.innerHTML = content; ``` Sometimes I have to overwrite some previous content in this node. This works fine, until it happens that previous content ...
[ 0.2384459674358368, 0.07619097828865051, 0.4832853078842163, 0.05505523085594177, 0.07972822338342667, -0.017383983358740807, 0.06625828891992569, -0.01189469639211893, -0.327254056930542, -0.6721084117889404, 0.17044489085674286, 0.2926616072654724, -0.23221421241760254, 0.321507692337036...
of artifacts, by minimizing and restoring the browser (or force the window to be redrawn in an other way), however this does not seem very convenient. I am testing this only under Safari (this is a iPhone-optimized website). Does anybody have the idea how to deal with this? The easiest solution that I have found woul...
[ -0.2183763086795807, 0.24582979083061218, 0.2585451602935791, 0.26792049407958984, 0.01293033268302679, -0.3237515985965729, 0.36836931109428406, 0.1469605565071106, -0.30599021911621094, -0.7791621088981628, -0.2147361934185028, 0.5872303247451782, -0.22881674766540527, -0.015582047402858...
scrolled down too far when you update the content and you shouldn't get the issue in the first place. (tested in the latest FF beta and latest safari)
[ 0.5528020858764648, 0.06858550757169724, 0.33622512221336365, 0.26975685358047485, -0.12782157957553864, -0.5435777902603149, 0.3120676577091217, 0.2698911726474762, -0.24717596173286438, -0.5506042838096619, -0.023684276267886162, 0.4198748767375946, -0.046527307480573654, -0.046859737485...
I'm needing to check the differences between two XMLs but not "blindly", Given that both use the same DTD, I'm actually interested in verifying wether they have the same amount of elements or if there's differences. * [xmldiff](http://www.logilab.org/859) from Logilab * [diffxml](http://diffxml.sourceforge.net/) * A co...
[ 0.18440204858779907, -0.1707666665315628, 0.4479646682739258, 0.01722770184278488, -0.09147780388593674, 0.15812724828720093, -0.17846794426441193, -0.24409380555152893, -0.24246543645858765, -0.24071499705314636, -0.023201867938041687, 0.7110297083854675, 0.15091723203659058, -0.142495468...
I talked to a few friends who say that Drupal is amazing, and it is a way better than Joomla. What are the major differences/advantages? The general consensus is that programmers prefer Drupal whereas mere mortals prefer Joomla. Joomla is praised for having a simpler user interface. (I personally don't agree with that;...
[ -0.0021500317379832268, 0.1268506795167923, 0.31990742683410645, 0.14084583520889282, -0.6240766644477844, -0.2403649240732193, 0.09999135136604309, 0.18445776402950287, -0.234044149518013, -0.7601903080940247, -0.3478779196739197, 0.48506173491477966, -0.12997981905937195, -0.256431579589...
in Drupal lingo) and many of which are extensible themselves. Start using Joomla today, and you'll probably end up with a decent but not quite perfect web site tonight. Start using Drupal today, and you'll be able to build exactly the web site you're wishing for - once you've put the time in. If you're considering pa...
[ 0.3630271553993225, 0.03342581167817116, 0.11721494793891907, 0.06887809187173843, -0.4631853699684143, -0.17308396100997925, 0.35317134857177734, 0.20496675372123718, -0.2628895938396454, -0.5193164348602295, -0.11518527567386627, 0.47854846715927124, -0.13376915454864502, -0.313462913036...
When attempting to open a project from source control on a newly formatted pc, I receive an "unable to get the project file from the web server" after getting the sln file from VSS. If I attempt to open the sln file from explorer, I also receive the same error. Any pointers or ideas? Thanks! This question is very old...
[ 0.22762364149093628, 0.039616506546735764, 0.20715786516666412, 0.21162499487400055, -0.09911049157381058, -0.4060179889202118, 0.4141174256801605, 0.23079149425029755, -0.17495661973953247, -0.6935254335403442, -0.15986084938049316, 0.4668128490447998, -0.016102032735943794, 0.50267308950...
Also, there should be more detail about the message in the Output window when you open the solution which should help you find the cause. With VS2003, you also need to add your user account to the "Debugger Users" and "VS Developers" and possibly the account that is running the AppPool (possibly Network Server, ASPNET,...
[ 0.23558637499809265, -0.0011954476358368993, 0.5015560984611511, 0.057275254279375076, -0.3809666037559509, -0.0899900570511818, 0.47858527302742004, -0.028492769226431847, -0.2505625784397125, -0.8835612535476685, 0.014731124974787235, 0.5840959548950195, -0.1710922122001648, -0.118338882...
I am trying to create a rather simple effect on a set of images. When an image doesn't have the mouse over it, I'd like it to have a simple, gray border. When it does have an image over it, I'd like it to have a different, "selected", border. The following CSS works great in Firefox: ```css .myImage a img { borde...
[ 0.17044521868228912, 0.0037930652033537626, 0.6936230063438416, -0.19561563432216644, 0.04090423509478569, 0.04574569687247276, -0.20306164026260376, 0.09721674770116806, -0.18650950491428375, -0.9493116140365601, -0.08810479938983917, 0.2694950997829437, -0.14673325419425964, 0.1970725506...
me there is a bug in IE that is causing this problem. Unfortunately, I can't seem to locate a way to fix that bug. Try using a different colour. I'm not sure IE understands 'grey' (instead, use 'gray').
[ 0.7690269947052002, 0.26101332902908325, -0.21497014164924622, -0.03561154752969742, -0.06672845035791397, 0.21113760769367218, 0.5571713447570801, 0.4640062153339386, 0.08710598200559616, -0.9460914134979248, 0.09396592527627945, 0.4717505872249603, -0.3557623624801636, 0.3904226422309875...
I'm a front-end developer and I was looking for opinions about the best all-round online documentation for javascript/css/html/xhtml/dom/browser quirks and support. I've tried Sitepoint, Quirksmode, W3Schools but all of these seem to be lacking in certain aspects and have been using them in combination. I like gotapi.c...
[ 0.4411536753177643, 0.11173910647630692, 0.3819986879825592, 0.05987256392836571, -0.37842193245887756, -0.08596418052911758, 0.16900695860385895, 0.08863690495491028, -0.4292375445365906, -0.34116727113723755, 0.03092506341636181, 0.2483767867088318, 0.023896293714642525, 0.00264408020302...
I haven't programmed games for about 10 years (My last experience was DJGPP + Allegro), but I thought I'd check out XNA over the weekend to see how it was shaping up. I am fairly impressed, however as I continue to piece together a game engine, I have a (probably) basic question. How much should you rely on C#'s Dele...
[ 0.5674524903297424, 0.07813799381256104, 0.06681422889232635, 0.06942826509475708, -0.07226451486349106, -0.37877002358436584, 0.0510675273835659, 0.3346128463745117, -0.17298106849193573, -0.3595065474510193, 0.45540061593055725, 0.7729297280311584, -0.14180175960063934, 0.028555622324347...
be attached to an object and then recalculates its position relative to the object. When the object moves, there are two ways to update the chase cam. * Have an "UpdateCameras()" method in the main game loop. * Use an event handler, and have the chase cam subscribe to object.OnMoved. I'm using the latter, because it ...
[ 0.3538036048412323, -0.5041083693504333, 0.3769161105155945, 0.4146019518375397, 0.0665377825498581, -0.30719318985939026, 0.09122209250926971, -0.01709030196070671, -0.04681497812271118, -0.3689276874065399, 0.08953329920768738, 0.7953609228134155, -0.16794173419475555, -0.186691537499427...
I'll remove it and go with the loop approach. Ideas? If you were to think of an event as a subscriber list, in your code all you are doing is registering a subscriber. The number of instructions needed to achieve that is likely to be minimal at the CLR level. If you want your code to be generic or dynamic, then you'r...
[ 0.7493207454681396, -0.13066311180591583, 0.1960102617740631, 0.10506895184516907, 0.06283324211835861, -0.2906489670276642, 0.13390646874904633, 0.05020637810230255, -0.6277691721916199, -0.36761587858200073, 0.0343942865729332, 0.4232654273509979, -0.47261831164360046, 0.1202490851283073...