text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
can mean being able to get each task done quicker and, in theory, handle more tasks and more server requests.
[ 0.33758074045181274, -0.20110511779785156, 0.0994729995727539, 0.3534223437309265, 0.13391539454460144, 0.03887762129306793, 0.20196427404880524, 0.07190755754709244, -0.3558027744293213, -0.7657128572463989, -0.23940786719322205, 0.20907172560691833, 0.10209832340478897, -0.20439274609088...
I'm trying out the following query: ``` SELECT A,B,C FROM table WHERE field LIKE 'query%' UNION SELECT A,B,C FROM table WHERE field LIKE '%query' UNION SELECT A,B,C FROM table WHERE field LIKE '%query%' GROUP BY B ORDER BY B ASC LIMIT 5 ``` That's three queries stuck together, kinda sorta. However, the result set th...
[ 0.07492201030254364, 0.28072431683540344, 0.3518059551715851, 0.041565246880054474, -0.44454288482666016, -0.004491669591516256, 0.11413603276014328, -0.2991272807121277, -0.16137292981147766, -0.5644939541816711, 0.2621619999408722, 0.34229353070259094, -0.2487662136554718, 0.262999773025...
having to control for results that showed up in the first query not to show in the second and so forth). Maybe you should try including a fourth column, stating the table it came from, and then order and group by it: ``` SELECT A,B,C, "query 1" as origin FROM table WHERE field LIKE 'query%' UNION SELECT A,B,C, "query ...
[ -0.1753002554178238, -0.052487436681985855, 0.4298960268497467, -0.010137601755559444, -0.05346885323524475, 0.262974351644516, -0.15378567576408386, -0.4410412609577179, -0.19993455708026886, -0.487865686416626, -0.17172855138778687, 0.2266559898853302, -0.47670280933380127, 0.18578709661...
After being told by at least 10 people on SO that version control was a good thing even if it's just me I now have a followup question. What is the difference between all the different types of version control and is there a guide that anybody knows of for version control that's very simple and easy to understand? Eri...
[ 0.3479948937892914, -0.011409863829612732, 0.24159833788871765, -0.0761423408985138, -0.2915090322494507, -0.4526456296443939, 0.11277253180742264, 0.004496078006923199, -0.33602458238601685, -0.31417861580848694, 0.040351275354623795, 0.4800708293914795, 0.00964720081537962, 0.14771281182...
I have a simple setter method for a property and `null` is not appropriate for this particular property. I have always been torn in this situation: should I throw an [`IllegalArgumentException`](http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html), or a [`NullPointerException`](http://docs....
[ 0.2981906235218048, 0.22929561138153076, -0.13374300301074982, -0.25392836332321167, -0.1930776983499527, -0.2597237229347229, 0.2141292542219162, -0.27027252316474915, -0.29428285360336304, -0.017568616196513176, 0.08602212369441986, 0.5140235424041748, -0.4101356267929077, 0.210618019104...
turns out to be `null`.
[ 0.15477915108203888, 0.13720732927322388, 0.16323310136795044, 0.04965648055076599, 0.1394968032836914, -0.24317286908626556, 0.48889365792274475, 0.4086156189441681, 0.1360672563314438, -0.12133172154426575, -0.3689754009246826, -0.22293950617313385, -0.2471846491098404, 0.563793957233429...
Since the WMI class Win32\_OperatingSystem only includes OSArchitecture in Windows Vista, I quickly wrote up a method using the registry to try and determine whether or not the current system is a 32 or 64bit system. ``` private Boolean is64BitOperatingSystem() { RegistryKey localEnvironment = Registry.LocalMachin...
[ -0.21329589188098907, -0.06380040943622589, 0.5957086682319641, -0.12145382910966873, 0.4458269774913788, 0.04983886703848839, 0.07338476181030273, -0.00929450336843729, -0.13192225992679596, -0.7580363154411316, -0.06554233282804489, 0.6703346371650696, -0.3473454415798187, 0.299836695194...
I'm not sure how much I like looking through the registry. Is this a pretty standard practice or is there a better method? **Edit**: Wow, that code looks a lot prettier in the preview. I'll consider linking to a pastebin or something, next time. Take a look at Raymond Chens solution: [How to detect programmatically w...
[ 0.051403068006038666, 0.20103591680526733, 0.2214960902929306, 0.14067380130290985, 0.05211101099848747, -0.06972935050725937, 0.09183972328901291, 0.14003440737724304, -0.1871749758720398, -0.6740854978561401, -0.16428641974925995, 0.5637778043746948, -0.16652196645736694, 0.2080783396959...
OS to determine this via the correct API's, not by querying what could be a OS version/platform specific value that may be considered opaque to the outside world. Ask yourself the questions, 1 - is the registry entry concerned properly documented by MS, 2 - If it is do they provide a definitive list of possible values ...
[ 0.10638640075922012, 0.158981591463089, 0.3191383183002472, 0.26150259375572205, 0.3205769658088684, -0.07957929372787476, 0.2774408459663391, 0.22670359909534454, -0.16516458988189697, -0.5992795825004578, -0.15636539459228516, 0.7981221079826355, -0.24665340781211853, -0.2599274516105652...
documented and definitive.
[ 0.2382163107395172, 0.2935434579849243, -0.19427835941314697, -0.009119299240410328, 0.3389451801776886, -0.17465195059776306, 0.16481050848960876, 0.12937654554843903, -0.014167534187436104, -0.31670093536376953, -0.2557530403137207, 0.08046665787696838, 0.14640796184539795, 0.19821798801...
I have Windows File sharing enabled on an OS X 10.4 computer. It's accessible via \rudy\myshare for all the Windows users on the network, except for one guy running Vista Ultimate 64-bit edition. All the other users are running Vista or XP, all 32-bit. All the workgroup information is the same, all login with the sam...
[ 0.2972757816314697, 0.0867260992527008, 0.288644939661026, 0.0008326547686010599, -0.07082417607307434, -0.1099214255809784, 0.256264328956604, 0.23625554144382477, -0.28189677000045776, -1.0101549625396729, 0.03154971823096275, 0.802274763584137, -0.2890385687351227, 0.05020902305841446, ...
changing the local security policy on that Vista box for "Local Policies\Security Options\Network Security: LAN manager authentication level" from “Send NTLMv2 response only” to “Send LM & NTLM - use NTLMv2 session security if negotiated”.
[ -0.16576598584651947, -0.3011966347694397, 0.6378246545791626, -0.06378599256277084, 0.08575541526079178, -0.1939387023448944, 0.5480159521102905, -0.2074359506368637, -0.43961551785469055, -0.6413894891738892, -0.518948495388031, 0.7459625005722046, -0.1420556753873825, -0.021512631326913...
Currently I know of only two ways to cache data (I use PHP but I assume that the same will apply to most languages). 1. Save the cache to a file 2. Save the cache to a large DB field Are there any other (perhaps better) ways of caching or is it really just this simple? Maybe you want to explicit more precisely what y...
[ 0.30327126383781433, 0.3091910183429718, -0.13455472886562347, 0.13788574934005737, -0.41291558742523193, -0.08121626824140549, 0.13372959196567535, -0.1484706997871399, 0.02082124911248684, -0.7058486938476562, 0.18272697925567627, 0.2917028069496155, -0.1349261999130249, 0.16928039491176...
same data (with [AdoDB](http://adodb.sourceforge.net/) for example.) * **Extracting calculations from loops in the code** so you don't compute the same value multiple times. *Here your third way: storing results in the session for the user.* * **Precompiling the PHP code** with an extension like [APC Cache](http://pecl...
[ 0.2840336561203003, -0.24029554426670074, 0.43023860454559326, 0.17627151310443878, -0.31007203459739685, -0.020511187613010406, 0.28803062438964844, -0.3244084119796753, -0.45482444763183594, -0.6410922408103943, 0.039713647216558456, 0.4521526098251343, -0.26350462436676025, -0.136145696...
.html pages); or by using a proxy cache like [Squid](http://www.squid-cache.org/). * **Prefetching** and by this I refer all those opportunities you have to improve the user experience just by doing things while the user don't look your way. For example, preloading IMG tags in the HTML file, tunning the RDBMS for prefe...
[ 0.35895588994026184, 0.01213337853550911, 0.13380764424800873, 0.18886499106884003, -0.3952845335006714, -0.2958923280239105, 0.23406822979450226, 0.08184333145618439, -0.3971308171749115, -0.8141655325889587, 0.07433243840932846, 0.3296671509742737, 0.034564655274152756, 0.042202446609735...
experience. Then check your code with a tool like [XDebug](http://xdebug.org/). Verify also how well are you making your SQL queries and how well are you indexing your tables. Then check your code again to look for opportunities to apply the rule "read many times but write just once" Use a simple tool like [YSlow](h...
[ 0.19804751873016357, 0.0089409863576293, 0.08156733214855194, 0.19398120045661926, -0.06034085154533386, -0.24780093133449554, 0.34039923548698425, -0.04740716889500618, -0.42091134190559387, -0.8803132772445679, 0.2371622622013092, 0.727167010307312, 0.28653502464294434, -0.28445094823837...
I just did a merge using something like: ``` svn merge -r 67212:67213 https://my.svn.repository/trunk . ``` I only had 2 files, one of which is a simple `ChangeLog`. Rather than just merging my `ChangeLog` changes, it actually pulled mine plus some previous ones that were not in the destination `ChangeLog`. I notice...
[ 0.1424505114555359, 0.04776863753795624, 0.509123682975769, -0.08727182447910309, 0.027932172641158104, 0.11185313761234283, 0.18661639094352722, -0.24211028218269348, -0.396940678358078, -0.7165766358375549, 0.2502695620059967, 0.39202404022216797, -0.4558018743991852, 0.14956408739089966...
I know that extra changes didn't get in there somehow. This makes me worried that merge is not actually just taking what I changed, which is what I would have expected. Can anybody explain what happened? UPDATE: In response to NilObject: So, I have 2 files changed, only ChangeLog is relevant, the other merged fine....
[ 0.005815557669848204, 0.10342960059642792, 0.37285712361335754, 0.04918382689356804, -0.026629334315657616, -0.15169906616210938, 0.4529174864292145, -0.09800515323877335, -0.4305221140384674, -0.7511743903160095, 0.012496712617576122, 0.45279502868652344, -0.399539977312088, 0.09297665208...
* theirChanges: Details. ``` After my merge of the previous changes, the diff of ChangeLog looks like this: ``` Index: ChangeLog =================================================================== --- ChangeLog (revision 67215) +++ ChangeLog (working copy) @@ -1,3 +1,14 @@ +<<<<<<< .working +======= +2008-08-06 ...
[ -0.11002206802368164, 0.4401886463165283, 0.8038986325263977, 0.061321280896663666, 0.03155026212334633, 0.06828803569078445, 0.11661622673273087, -0.11349350959062576, -0.3453913927078247, -0.9277265071868896, 0.2270178645849228, 0.25691667199134827, -0.28598859906196594, 0.15006022155284...
was easy to fix (remove the extra lines that weren't part of my changes), but it still makes me worry about merging automatically in `SVN`. This only happens with conflicts - basically svn tried to merge the change in, but (roughly speaking) saw the change as: Add ``` 2008-08-06 Mike Stone <myemail> * changed_file...
[ -0.27576854825019836, 0.2240857630968094, 0.2588604688644409, -0.11818469315767288, -0.05370674654841423, 0.248358815908432, 0.6928549408912659, 0.09094809740781784, -0.029221491888165474, -0.532375693321228, -0.12039405852556229, 0.39527612924575806, -0.5366396903991699, 0.083191961050033...
I plan to be storing all my config settings in my application's app.config section (using the `ConfigurationManager.AppSettings` class). As the user changes settings using the app's UI (clicking checkboxes, choosing radio buttons, etc.), I plan to be writing those changes out to the `AppSettings`. At the same time, whi...
[ 0.42592746019363403, 0.2502540946006775, 0.8857461214065552, -0.03561432287096977, 0.20553848147392273, 0.2361096739768982, 0.20328927040100098, -0.010269065387547016, -0.14206212759017944, -1.2260819673538208, -0.019836783409118652, 0.8757398128509521, -0.28362277150154114, -0.20875959098...
regard to performance? Using `AppSettings` is supposed to be "the right way" to store and access configuration settings when writing .Net apps, but I worry that this method wasn't intended for a constant load (at least in terms of settings being constantly read). If anyone has experience with this, I would greatly app...
[ 0.3048371970653534, 0.1678398847579956, 0.15011905133724213, 0.098905548453331, 0.004959821235388517, -0.3560546636581421, 0.32413771748542786, -0.188213050365448, -0.1743140071630478, -0.8119208216667175, -0.09173000603914261, 0.8782399892807007, -0.0876953974366188, -0.32412388920783997,...
settings, but user settings as well. (Especially important if, for instance, the application is installed as a partial-trust application.) **Update 2:** I accepted lomaxx's answer because `Properties` does indeed look like a good solution, without having to add any additional layers to my application (such as a databa...
[ 0.2760127782821655, 0.08119906485080719, 0.5318592190742493, 0.22841261327266693, 0.24279969930648804, -0.19537624716758728, 0.1289605349302292, -0.1850685030221939, -0.12160994112491608, -0.7638481855392456, -0.15578113496303558, 0.8348557353019714, 0.05369650945067406, -0.212492838501930...
run time and then only do a final save out to disk when the program exits. Just to verify it would actually be able to handle the load I need, I did some testing on my laptop and was able to do 750,000 reads and 7,500 writes per second using Properties. That is so far above and beyond what my application will *ever* e...
[ 0.3093143701553345, -0.1513976901769638, 0.27633848786354065, 0.08790144324302673, 0.1939707249403, 0.023766860365867615, 0.4991743862628937, -0.1419687271118164, 0.010782436467707157, -0.9799212217330933, 0.14741194248199463, 0.7465285062789917, 0.17718064785003662, -0.031190568581223488,...
this purpose. [This article on MSDN](https://learn.microsoft.com/en-us/previous-versions/aa730869%28v=vs.80%29) has a pretty good introduction into this If you're still worried about performance then take a look at [SQL Compact Edition](https://web.archive.org/web/20080918011815/http://www.microsoft.com:80/sql/edition...
[ 0.06685221195220947, 0.09470099210739136, 0.41954556107521057, 0.11145253479480743, -0.12069573253393173, -0.39712581038475037, 0.1151532530784607, -0.2176055610179901, -0.14578047394752502, -0.5817083120346069, -0.055519361048936844, 0.7363979816436768, 0.03274932876229286, -0.14085803925...
Is there a trivial, or at least moderately straight-forward way to generate territory maps (e.g. Risk)? I have looked in the past and the best I could find were vague references to Voronoi diagrams. An example of a Voronoi diagram is this: ![here](https://i.stack.imgur.com/aX9Tp.gif). These hold promise, but I guess...
[ 0.5286950469017029, -0.24314716458320618, -0.06925931572914124, 0.3163648545742035, 0.11819012463092804, -0.2346571683883667, 0.2037721425294876, -0.0435950867831707, -0.44353729486465454, -0.6549334526062012, -0.030814383178949356, 0.12259890884160995, -0.14824363589286804, -0.00034193025...
seen on them is [Computational Geometry: Algorithms and Applications](https://rads.stackoverflow.com/amzn/click/com/3540779736), which covers Voronoi diagrams, Delaunay triangulations (similar to Voronoi diagrams and each can be converted into the other), and other similar data structures. They talk about all the dat...
[ -0.05993809923529625, 0.21148452162742615, 0.02451598271727562, 0.25355058908462524, -0.0901222825050354, 0.12941022217273712, -0.19647353887557983, -0.021781302988529205, -0.453179270029068, -0.3596576750278473, -0.22657795250415802, 0.27931836247444153, -0.09323522448539734, -0.033607922...
I also don't have any experience with this book, only the first. Sorry to have only books to recommend! The only decent online resource I've seen on them are the two [Wikipedia](http://en.wikipedia.org/wiki/Voronoi_diagram) [articles](http://en.wikipedia.org/wiki/Delaunay_triangulation), which doesn't really tell you ...
[ 0.2637985944747925, -0.009781182743608952, 0.2609281837940216, 0.2069619745016098, -0.23770852386951447, -0.021849367767572403, 0.3550682067871094, -0.05202251300215721, -0.3356720209121704, -0.43142184615135193, 0.1261179894208908, 0.41941216588020325, -0.08969181776046753, 0.075378544628...
I want to convert a primitive to a string, and I tried: ``` myInt.toString(); ``` This fails with the error: ``` int cannot be dereferenced ``` Now, I get that primitives are not reference types (ie, not an Object) and so cannot have methods. However, Java 5 introduced autoboxing and unboxing (a la C#... which I ...
[ 0.127426877617836, 0.07908974587917328, -0.03886917605996132, -0.30259281396865845, -0.25445881485939026, -0.011584548279643059, 0.3143558204174042, -0.17141097784042358, 0.05462037771940231, -0.46146243810653687, 0.02837308868765831, 0.9058979153633118, -0.6827965378761292, -0.13823936879...
there a good reason for this? Java autoboxing/unboxing doesn't go to the extent to allow you to dereference a primitive, so your compiler prevents it. Your compiler still knows `myInt` as a primitive. There's a paper about this issue at [jcp.org](http://jcp.org/aboutJava/communityprocess/jsr/tiger/autoboxing.html). Au...
[ 0.10272511094808578, 0.22763395309448242, -0.30660513043403625, -0.18734148144721985, -0.25580689311027527, -0.05088749900460243, 0.3075881898403168, -0.19181759655475616, -0.31926411390304565, -0.40994003415107727, -0.0897374376654625, 0.5822429060935974, -0.7271967530250549, -0.149053633...
I have a process in erlang that is supposed to do something immediately after spawn, then send the result back to the parent when it is finished. How do I figure out the PID of the process that spawned it? You should pass self() to the child as one of the arguments to the entry function. ``` spawn_link(?MODULE, child,...
[ 0.37309375405311584, 0.17027966678142548, 0.315723717212677, 0.08005061745643616, 0.232134610414505, 0.048317164182662964, -0.10680456459522247, 0.0788700133562088, -0.00337594305165112, -0.5531310439109802, 0.09456655383110046, 0.37433648109436035, -0.17336730659008026, 0.3127986192703247...
I have a directory structure like the following; > script.php > > > inc/include1.php > > inc/include2.php > > > objects/object1.php > > objects/object2.php > > > soap/soap.php Now, I use those objects in both `script.php` and `/soap/soap.php`, I could move them, but I want the directory structure like t...
[ 0.2943374812602997, 0.15700998902320862, 0.32495740056037903, -0.18898507952690125, -0.06342380493879318, -0.037330422550439835, 0.3365122377872467, -0.29732465744018555, -0.1355074644088745, -0.7653089165687561, 0.1936882883310318, 0.3478397727012634, -0.4409036636352539, 0.16531243920326...
to programmatically generate the `"/mnt/webdev/[project name]/"`? This should work ``` $root = realpath($_SERVER["DOCUMENT_ROOT"]); include "$root/inc/include1.php"; ``` --- **Edit:** added imporvement by [aussieviking](https://stackoverflow.com/questions/4369/include-files-requiring-an-absolute-path#4388)
[ 0.20124176144599915, -0.020551320165395737, 0.5021758079528809, 0.06482017040252686, 0.2013503611087799, -0.1054547131061554, 0.45808112621307373, -0.4159923791885376, -0.15599854290485382, -0.30869534611701965, -0.40747755765914917, 0.7625418901443481, -0.22849228978157043, -0.27674338221...
The firewall I'm behind is running Microsoft ISA server in NTLM-only mode. Hash anyone have success getting their Ruby gems to install/update via Ruby SSPI gem or other method? ... or am I just being lazy? Note: rubysspi-1.2.4 does not work. This also works for "igem", part of the IronRuby project I wasn't able to g...
[ 0.2392316460609436, 0.29966306686401367, 0.4340611696243286, -0.366692453622818, -0.2833220660686493, 0.018910938873887062, 0.6735292673110962, -0.3047676384449005, 0.00015232546138577163, -0.4584278166294098, 0.28630688786506653, 0.7407708764076233, -0.3047819137573242, 0.1049375310540199...
I get to this line obviously. As an example if my username is "wolfbyte", my password is "secret" and my proxy is called "pigsy" and operates on port 8080: ``` SET HTTP_PROXY=http://wolfbyte:secret@pigsy:8080 ``` You might want to be careful how you manage that because it stores your password in plain text in the ma...
[ 0.40624356269836426, 0.22107738256454468, 0.23799610137939453, -0.1599421501159668, -0.028666840866208076, -0.17973199486732483, 0.17875929176807404, 0.4953632652759552, -0.11129075288772583, -0.617895245552063, 0.05613680183887482, 0.497207373380661, -0.13777107000350952, 0.25454941391944...
I'm writing a resource handling method where I control access to various files, and I'd like to be able to make use of the browser's cache. My question is two-fold: 1. Which are the definitive HTTP headers that I need to check in order to know for sure whether I should send a 304 response, and what am I looking for wh...
[ 0.22218108177185059, -0.11263895034790039, 0.17865826189517975, 0.30422183871269226, -0.1788368821144104, 0.0018537100404500961, 0.20567287504673004, -0.09493342787027359, -0.13253580033779144, -0.5805886387825012, 0.10083411633968353, 0.666080892086029, 0.012024493888020515, -0.1701270788...
the various possible values of that affect what you send to the client (namely max-age) or should only if-modified-since be obeyed? Here's how I implemented it. The code has been working for a bit more than a year and with multiple browsers, so I think it's pretty reliable. This is based on [RFC 2616](http://www.w3.org...
[ 0.321175217628479, 0.0509803369641304, 0.5328967571258545, -0.2579329013824463, 0.01054089143872261, -0.10879956185817719, 0.0019213776104152203, -0.2192404717206955, 0.0033247678074985743, -0.6216692328453064, 0.09147745370864868, 0.565108597278595, -0.19949939846992493, -0.02530965954065...
etag_from_browser matches server_etag send 304 return code to browser ``` Here's a snippet of my server logic that handles this. ``` /* the client should set either Etag or If-None-Match */ /* some clients quote the parm, strip quotes if so */ mketag(etag, &sb); etagin = apr_table_get(r->headers_in, "Etag")...
[ -0.17091533541679382, 0.0008281968184746802, 0.7537124752998352, -0.5625534653663635, -0.2597874104976654, 0.2516973912715912, 0.26931318640708923, -0.4150645136833191, 0.03512641787528992, -0.6002331376075745, -0.27312639355659485, 0.5418969988822937, -0.4879802465438843, -0.1660032719373...
(etagin != NULL && strcmp(etagin, etag) == 0) { /* if the etag matches, we return a 304 */ rc = HTTP_NOT_MODIFIED; } ``` If you want some help with etag generation post another question and I'll dig out some code that does that as well. HTH!
[ 0.24914783239364624, 0.15009883046150208, 0.12333238869905472, -0.10076669603586197, 0.0062504480592906475, 0.00844510830938816, 0.45782580971717834, -0.22092311084270477, -0.16092349588871002, -0.4753750264644623, -0.09141900390386581, 0.704949140548706, -0.26151999831199646, 0.0320996604...
Using MAPI functions from within managed code is officially unsupported. Apparently, MAPI uses its own memory management and it crashes and burns within managed code (see [here](http://blogs.msdn.com/pcreehan/archive/2007/05/04/what-does-unsupported-mean.aspx) and [here](http://blogs.msdn.com/mstehle/archive/2007/10/03...
[ 0.02557317167520523, -0.09306027740240097, 0.3662843704223633, 0.009793163277208805, -0.07190558314323425, -0.1847836673259735, 0.5481839776039124, -0.047958314418792725, -0.22590211033821106, -0.5665864944458008, -0.29819196462631226, 0.4563330411911011, -0.4591653048992157, 0.15126368403...
a* requirement *, so Mailto: solutions do not cut it for me.* Have a separate helper EXE that takes command-line params (or pipe to its StandardInput) that does what is required and call that from your main app. This keeps the MAPI stuff outside of your main app's process space. OK, you're still mixing MAPI and .NET bu...
[ 0.3075728714466095, -0.02457781322300434, 0.1790488064289093, 0.20155540108680725, -0.0801684558391571, 0.08937638252973557, 0.23319481313228607, -0.5283696055412292, -0.1807374358177185, -0.42509323358535767, -0.4577721655368805, 0.35978978872299194, -0.10038581490516663, -0.1239711567759...
CLR and MAPI worlds in separate processes, but in a supported fashion. @Chris Fournier re. writing an unmanaged DLL. This won't work because the issue is mixing MAPI and managed code *in the same process*.
[ 0.30661147832870483, 0.061366088688373566, 0.1618451476097107, 0.10029347985982895, 0.08242271095514297, -0.2033872753381729, 0.3712339699268341, 0.04946674033999443, -0.42238375544548035, -0.7090314626693726, -0.11457939445972443, 0.47527337074279785, -0.3677331805229187, -0.0691301599144...
How do I generate an ETag HTTP header for a resource file? An etag is an arbitrary string that the server sends to the client that the client will send back to the server the next time the file is requested. The etag should be computable on the server based on the file. Sort of like a checksum, but you might not want ...
[ 0.41935521364212036, -0.027914181351661682, 0.2068171501159668, 0.1621783971786499, 0.001032829750329256, 0.016597317531704903, -0.16542945802211761, -0.10986770689487457, 0.16018258035182953, -0.46449366211891174, 0.01216637622565031, 0.43308067321777344, -0.6208656430244446, -0.209903225...
--------> <------------- request file foo etag: "xyz" (what the server just sent) (the etag is the same, so the server can send a 304) ``` I built up a string in the format "datestamp-file size-file inode number". So, if a file is changed on the server after it has been served out to...
[ 0.18580035865306854, -0.12510186433792114, 0.22857508063316345, -0.2720370590686798, 0.05439469963312149, 0.19537848234176636, 0.18912996351718903, -0.4205475449562073, -0.20891061425209045, -0.5326002836227417, -0.18812669813632965, 0.37616580724716187, -0.4811219274997711, -0.00344470702...
sprintf(s, "%d-%d-%d", sb->st_mtime, sb->st_size, sb->st_ino); return s; } ```
[ -0.2829400599002838, -0.25467076897621155, 0.03624745458364487, -0.41288062930107117, 0.2290467619895935, 0.2346908152103424, 0.39693912863731384, -0.09577450156211853, 0.00263470527715981, -0.758595883846283, -0.42893457412719727, 0.4011780917644501, -0.43197503685951233, -0.0452138707041...
To analyze lots of text logs I did some hackery that looks like this: 1. Locally import logs into Access 2. Reprocess Cube link to previous mdb in Analisis Service 2000 (yes it is 2k) 3. Use Excel to visualize Cube (it is not big - up to milions raw entries) My hackery is a succes and more people are demanding an acc...
[ 0.07778535783290863, 0.27580565214157104, 0.09558825939893723, 0.12077835947275162, -0.32610073685646057, -0.051082953810691833, 0.23827454447746277, 0.02804778702557087, -0.5530758500099182, -0.7180864810943604, 0.12386956065893173, 0.5593476891517639, -0.18010662496089935, 0.106931097805...
Java. Have you seen something similiar done for .Net/Win32 ? Comercial is also OK. You could also try the other free open source OLAP server, PALO from Jedox (www.palo.net)
[ -0.023660071194171906, -0.05289845913648605, -0.06096306070685387, 0.20463603734970093, -0.23612473905086517, -0.05394987389445305, 0.057350825518369675, 0.5785951018333435, -0.2911335825920105, -0.7311767339706421, -0.026138605549931526, 0.5830416679382324, -0.26604706048965454, -0.302309...
I'm trying to create a bookmarklet for posting del.icio.us bookmarks to a separate account. I tested it from the command line like: ``` wget -O - --no-check-certificate \ "https://seconduser:thepassword@api.del.icio.us/v1/posts/add?url=http://seet.dk&description=test" ``` This works great. I then wanted to create ...
[ 0.27520984411239624, 0.3399699926376343, 0.5683207511901855, -0.0631493330001831, 0.10605193674564362, -0.2192372977733612, 0.2354474514722824, -0.36365336179733276, -0.05918819084763527, -0.7425512671470642, 0.03663128614425659, 0.35869523882865906, -0.13130301237106323, 0.038451489061117...
this from del.icio.us: ``` <?xml version="1.0" standalone="yes"?> <result code="access denied" /> <!-- fe04.api.del.ac4.yahoo.net uncompressed/chunked Thu Aug 7 02:02:54 PDT 2008 --> ``` If I then go to the address bar and press enter, it changes to: ``` <?xml version='1.0' standalone='yes'?> <result code="done"...
[ 0.21437251567840576, 0.25441065430641174, 0.43589848279953003, -0.09249648451805115, 0.13284721970558167, -0.3452976644039154, 0.44164806604385376, -0.2514858543872833, -0.28552505373954773, -0.45749810338020325, -0.4120013117790222, 0.6272062659263611, -0.4641302227973938, -0.092042617499...
Does anyone remember the `XMP` tag? What was it used for and why was it deprecated? A quick Google search on W3C reveals that `XMP` was introduced for displaying **preformatted text** in HTML 3.2 and earlier. When W3C deprecated the `XMP` tag, it suggested using the `PRE` tag as a preferred alternative. Update: <http...
[ 0.4579978585243225, 0.12309447675943375, 0.4993215501308441, 0.048690054565668106, -0.05691700056195259, -0.08740333467721939, 0.17080965638160706, 0.24289195239543915, -0.5059499144554138, -0.42736107110977173, -0.4389805495738983, 0.27572885155677795, -0.012841407209634781, 0.31190177798...
What is the **complete** and correct syntax for the SQL Case expression? The **complete** syntax depends on the database engine you're working with: For SQL Server: ``` CASE case-expression WHEN when-expression-1 THEN value-1 [ WHEN when-expression-n THEN value-n ... ] [ ELSE else-value ] END ``` or: ``` C...
[ -0.18091249465942383, 0.13790155947208405, 0.29450690746307373, 0.05637365207076073, -0.08926930278539658, -0.19057832658290863, 0.14811350405216217, -0.2591972351074219, 0.1783423125743866, -0.33828362822532654, -0.43935081362724304, 0.6887298226356506, -0.24636448919773102, -0.1970312446...
CASE statement if: the when-expression == case-expression OR the boolean-when-expression == TRUE boolean-when-exp.. - something that produces a TRUE/FALSE answer ``` Link: [CASE (Transact-SQL)](http://msdn.microsoft.com/en-us/library/ms181765.aspx) Also note that the or...
[ -0.21453112363815308, -0.02074301987886429, 0.22699148952960968, -0.0943814143538475, 0.06383168697357178, -0.14742909371852875, 0.02695019543170929, -0.3054432272911072, 0.14507432281970978, -0.35442760586738586, -0.4345191419124603, 0.5621864795684814, -0.20440156757831573, 0.01578282564...
no matching WHEN-condition is found, the value of the CASE expression will be *NULL*.
[ -0.1179279237985611, -0.025894301012158394, 0.04322304204106331, -0.17158620059490204, -0.044568464159965515, 0.08199300616979599, 0.4291936159133911, 0.029123274609446526, 0.0875236988067627, -0.49580496549606323, -0.4800204336643219, 0.2426556497812271, -0.2413780838251114, 0.29964843392...
I am currently aware that ASP.NET 2.0 is out and about and that there are 3.x versions of the .Net Framework. Is it possible to upgrade my ASP.NET web server to version 3.x of the .Net Framework? --- I have tried this, however, when selecting which version of the .Net framwork to use in IIS (the ASP.NET Tab), only v...
[ 0.516618549823761, 0.010955407284200191, 0.42534053325653076, -0.13636770844459534, -0.15052367746829987, -0.385696679353714, 0.5515036582946777, -0.15158617496490479, -0.1312732994556427, -0.9886335730552673, -0.06273680180311203, 0.7328664660453796, -0.00645655021071434, 0.08957280963659...
they both run on the same CLR. 3.5 uses a different compile method than 2.0. This is declared in the web.config for the site. See [this post](http://blogs.msdn.com/vijaysk/archive/2008/03/20/running-asp-net-3-5-on-iis.aspx) for more details on this. But the setup in IIS for both 3.5 and 2.0 ASP.net sites is identical.
[ 0.18850941956043243, -0.08569072186946869, 0.3604600131511688, -0.12004126608371735, -0.050124797970056534, -0.38674089312553406, 0.368243932723999, -0.34408992528915405, -0.09214062988758087, -0.529341995716095, -0.14438389241695404, 0.5451812148094177, -0.2747308909893036, 0.171954512596...
What fonts do you use for programming, and for what language/IDE? I use [Consolas](http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en "Consolas") for all my Visual Studio work, any other recommendations? Either Consolas [(download)](http://www.microsoft.com/down...
[ 0.21631716191768646, 0.25252553820610046, 0.24959497153759003, -0.03773163631558418, -0.19483478367328644, 0.2968684732913971, 0.20893621444702148, -0.09148398786783218, -0.36977291107177734, -0.5740621089935303, -0.01266446616500616, 0.569110631942749, -0.18232272565364838, -0.07256482541...
We've been having some issues with a SharePoint instance in a test environment. Thankfully this is not production ;) The problems started when the disk with the SQL Server databases and search index ran out of space. Following this, the search service would not run and search settings in the SSP were not accessible. Re...
[ 0.09283638000488281, 0.21375161409378052, 0.47803783416748047, 0.30822286009788513, 0.015765327960252762, -0.28657296299934387, 0.32771921157836914, 0.06752797961235046, -0.3645356595516205, -0.6042987704277039, -0.12423912435770035, 0.3219526708126068, -0.44419005513191223, 0.648715734481...
longer appearing, but the search works fine otherwise. MySites also works OK. Following the implementation of this change, these problems occur: > 1) An audit failure message started appearing in the application event log, for 'DOMAIN\SPMOSSSvc' which is the MOSS farm account. ``` Event Type: Failure Audit Event Sou...
[ -0.4394194483757019, 0.07792919129133224, 0.6665282249450684, -0.0780540332198143, 0.011515145190060139, -0.24163323640823364, 0.661726713180542, 0.007115811575204134, -0.40330976247787476, -0.4380779564380646, -0.06452722102403641, 0.2902238965034485, -0.10940324515104294, 0.4379212558269...
and re-create? The option to delete was not available (greyed out) when a single SSP is in place. As Daniel McPherson said, this is caused when SSPs are deleted but the associated job are not and attempt to communicate with the deleted database. If the SSP database has been deleted or a problem occurred when delet...
[ 0.6333304643630981, 0.038923319429159164, 0.0076647489331662655, 0.18154436349868774, 0.17843391001224518, -0.05931522324681282, 0.5716128945350647, -0.22756770253181458, -0.1887953132390976, -0.6605610847473145, -0.3358071446418762, 0.721763014793396, -0.48117363452911377, 0.4434710741043...
choose Disable Job.
[ 0.056972961872816086, -0.0692514106631279, -0.33526119589805603, -0.23223355412483215, -0.12956731021404266, 0.34883299469947815, 0.24990704655647278, -0.2896130084991455, 0.11980969458818436, -0.7363219857215881, -0.30345213413238525, 0.40262261033058167, -0.43143990635871887, -0.34293249...
My dream IDE does full code hints, explains and completes PHP, Javascript, HTML and CSS. I know it exists! so far, [Zend studio 6](http://www.zend.com/en/products/studio/features), under the Eclipse IDE does a great job at hinting PHP, some Javascript and HTML, any way I can expand this? edit: a bit more information:...
[ 0.5991730690002441, 0.09831462800502777, 0.4500998854637146, 0.08831603825092316, 0.0949115976691246, -0.10596670210361481, 0.008968238718807697, 0.09676112234592438, 0.2311800718307495, -0.6793997883796692, 0.025195656344294548, 0.3095649480819702, 0.09121517091989517, -0.1268030852079391...
get nothing when I do: ``` <style> b /* (a single letter "b") */ ``` I'd love it if I could get, from that "b" suggestions for "border", "bottom", etc. The same applies for Javascript. Any ideas? I think the JavaScript and CSS need to be in separate files for this to work. Example of CSS autocomplete in Eclipse: ...
[ 0.11539783328771591, -0.16956652700901031, 0.5348390340805054, -0.13348311185836792, -0.1742594987154007, -0.017043842002749443, 0.16686978936195374, -0.06381207704544067, -0.4694298803806305, -0.7125783562660217, -0.24003809690475464, 0.7620400786399841, -0.09455603361129761, -0.232377916...
I saw this in [an answer to another question](https://stackoverflow.com/a/4384/697449), in reference to shortcomings of the Java spec: > There are more shortcomings and this is a subtle topic. Check [this](http://kiranthakkar.blogspot.com/2007/05/method-overloading-with-new-features-of.html) out: > > > > ``` > publ...
[ -0.08350056409835815, -0.25966373085975647, 0.1382005512714386, -0.11332571506500244, -0.17842750251293182, 0.020306479185819626, 0.23332712054252625, -0.4923290014266968, -0.1939367949962616, -0.13735663890838623, 0.07546120136976242, 0.5700294971466064, -0.2601577639579773, 0.21553766727...
void main(String[] args){ > int i = 5; > hello(i); > } > } > > ``` > > Here "long" would be printed (haven't checked it myself), because the compiler chooses widening over auto-boxing. Be careful when using auto-boxing or don't use it at all! *Are we sure that this is actually an example of wi...
[ 0.27134305238723755, -0.26189252734184265, 0.24922223389148712, -0.4112991690635681, 0.0405179001390934, -0.03694263473153114, 0.23724108934402466, 0.010323111899197102, -0.4802381694316864, -0.40881142020225525, -0.030033333227038383, 0.43598055839538574, -0.3849737346172333, 0.2396279126...
of `i` being declared as a primitive and not an object. However, if you changed ``` hello(long x) ``` to ``` hello(Long x) ``` the output would print "Integer" What's really going on here? I know nothing about the compilers/bytecode interpreters for java... In the first case, you have a widening conversion happe...
[ -0.07390879839658737, 0.25157734751701355, 0.15790444612503052, -0.4755547344684601, -0.007013751193881035, 0.030601557344198227, 0.32231852412223816, -0.14362207055091858, -0.1918375939130783, -0.5740242004394531, -0.10934434086084366, 0.5758732557296753, -0.5932143926620483, 0.2671123743...
#6; //Method hello:(J)V 7: return } ``` Clearly, you see the I2L, which is the mnemonic for the widening Integer-To-Long bytecode instruction. See reference [here](http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc6.html). And in the other case, replacing the "long x" with the object "Lo...
[ -0.03643393516540527, 0.03300449997186661, 0.4922032654285431, -0.42109549045562744, 0.040644507855176926, 0.20856225490570068, 0.170668363571167, -0.20665785670280457, -0.40825822949409485, -0.29389700293540955, -0.4374450743198395, 0.3195592164993286, -0.39405545592308044, 0.384512811899...
9: return } ``` So you see the compiler has created the instruction Integer.valueOf(int), to box the primitive inside the wrapper.
[ 0.05157221481204033, 0.20830221474170685, 0.1891683042049408, -0.2642180621623993, 0.36879339814186096, 0.18670609593391418, -0.06777156889438629, 0.004841540940105915, -0.041585277765989304, -0.3050026595592499, -0.153413787484169, 0.6177337169647217, -0.3847779333591461, -0.1069336757063...
We have a PHP project that we would like to version control. Right now there are three of us working on a development version of the project which resides in an external folder to which all of our Eclipse IDEs are linked, and thus no version control. What is the right way and the best way to version control this? We ...
[ 0.6829513311386108, 0.26350137591362, 0.10381752997636795, 0.2817738354206085, -0.21856766939163208, -0.23458704352378845, -0.01681564562022686, 0.07248463481664658, -0.15278637409210205, -0.43672338128089905, 0.49127960205078125, 0.510597825050354, -0.09827558696269989, 0.0138659654185175...
doing: * Set up two branches -- the release and development branch. * For the development branch, include a post-commit hook that deploys the repository to the dev server, so you can test. * Once you're ready, you merge your changes into the release branch. I'd also suggest putting in a post-commit hook for deployment...
[ 0.9077285528182983, -0.10790768265724182, 0.12594076991081238, 0.17233361303806305, 0.10516554117202759, -0.020203543826937675, -0.121625155210495, -0.318999320268631, -0.309945672750473, -0.43788453936576843, -0.10500858724117279, 0.2374560832977295, 0.15294988453388214, 0.015297280624508...
and ran into licensing issues. So our post-commit hook was a simple FTP bot.
[ 0.574734091758728, -0.11071306467056274, -0.02230512909591198, 0.3464793562889099, 0.13749422132968903, -0.06160435080528259, -0.021101007238030434, 0.1703263521194458, 0.26681846380233765, 0.1547297239303589, 0.2053377479314804, 0.5455757975578308, -0.4582277238368988, -0.1223413571715354...
I have written an AIR Application that downloads videos and documents from a server. The videos play inside of the application, but I would like the user to be able to open the documents in their native applications. I am looking for a way to prompt the user to Open / Save As on a local file stored in the Application ...
[ 0.6338521242141724, 0.3100707232952118, 0.5174668431282043, 0.19605669379234314, -0.03892076760530472, -0.3655169606208801, 0.23990261554718018, 0.06896990537643433, 0.11113552004098892, -0.6984905004501343, -0.18224117159843445, 0.4650103449821472, -0.19554513692855835, 0.2905944883823395...
to do it without just moving the file and telling the user was to pass it off to the browser. ``` navigateToURL(new URLRequest(File.applicationStorageDirectory.nativePath + "/courses/" + fileName)); ```
[ -0.14563952386379242, 0.06619469076395035, 0.7015669345855713, 0.012553556822240353, 0.11910553276538849, -0.19170069694519043, 0.5221678614616394, 0.022766385227441788, 0.004604761954396963, -0.8900439143180847, -0.19435007870197296, 0.4885927438735962, -0.15540508925914764, 0.23350565135...
I've played with CVS a little bit and am not the most familiar with all of its capabilities, but a huge annoyance for me is trying to add new directories that contain more directories in them. Running "`cvs add`" only adds the contents of the current directory, and using "`cvs import`" didn't look like the right thing ...
[ 0.6232272386550903, 0.05396907031536102, 0.1975652128458023, 0.19072766602039337, 0.17777596414089203, -0.5344394445419312, 0.057571616023778915, 0.3333229720592499, -0.4959682822227478, -0.24431204795837402, 0.060319844633340836, 0.7006446719169617, -0.07281558215618134, 0.155258342623710...
easier)? Ah, spaces. This will work with spaces: ``` find . -type f -print0| xargs -0 cvs add ```
[ -0.16164414584636688, 0.17425990104675293, 0.5172388553619385, -0.0663943737745285, 0.09767704457044601, 0.13800488412380219, 0.10892392694950104, -0.3367770314216614, -0.07408494502305984, -0.6000003218650818, -0.47501251101493835, 0.8382152915000916, -0.333413302898407, -0.36409345269203...
Char's are great because they are fixed size and thus make for a faster table. They are however limited to 255 characters. I want to hold 500 characters but a blob is variable length and that's not what I want. Is there some way to have a fixed length field of 500 characters in MySQL or am I going to have to use 2 cha...
[ -0.08814925700426102, 0.24703572690486908, 0.14532878994941711, -0.08182138949632645, -0.20872150361537933, 0.5164213180541992, 0.17583295702934265, 0.001656442997045815, -0.12419027090072632, -0.433340847492218, 0.29337814450263977, 0.27548646926879883, 0.0586269274353981, 0.1058017835021...
cause extra overhead by joining two char fields together.
[ 0.3938812017440796, -0.06334386765956879, -0.0846303403377533, 0.18131311237812042, -0.2220042198896408, 0.14396369457244873, 0.32329586148262024, -0.11401262879371643, -0.09296297281980515, -0.4257499575614929, -0.17824485898017883, -0.019944867119193077, 0.038942720741033554, 0.035473164...
My company is in the process of starting down the **Grails** path. The reason for that is that the current developers are heavy on **Java** but felt the need for a **MVC-style language** for some future web development projects. Personally, I'm coming from the design/usability world, but as I take more "front-end" resp...
[ 0.5116598606109619, 0.49336889386177063, 0.008689110167324543, -0.21552085876464844, 0.021321745589375496, -0.10144001245498657, 0.48406752943992615, 0.543009877204895, -0.2848460376262665, -0.7052081227302551, 0.015925733372569084, 0.5479727983474731, 0.2543850541114807, 0.025553043931722...
company is "jumping" into Grails I bought the "*Agile Web Development with Rails (3rd Ed - Beta)*" and I'm starting to get into **RoR**. I'd still like to learn **Python** in the future or on the side, but my biggest question is: * Should I be learning RoR, and have a more versatile language in my "portfolio", knowin...
[ 0.13138410449028015, 0.315572589635849, 0.24188292026519775, -0.14182882010936737, 0.04102248698472977, -0.06856604665517807, 0.12128996849060059, 0.4527186155319214, -0.4929015338420868, -0.06438757479190826, -0.0978512316942215, 0.5592317581176758, 0.20493462681770325, -0.259826391935348...
usefulness of Grails in a non-corporate setting and the similarities between Rails and Grails. (and this, while trying to avoid the centennial discussion of Python vs Ruby (on Rails) :)) Mmh, I don't know how to say this. Some people might bash me over this. Language (Groovy and Ruby) -------------------------- As a...
[ 0.19968539476394653, 0.24503077566623688, 0.126026913523674, 0.1438453197479248, -0.43408501148223877, -0.2225518822669983, 0.4385436475276947, 0.39769744873046875, -0.21735796332359314, -0.0714794173836708, 0.06648462265729904, 0.7218908071517944, -0.0009898064890876412, -0.08879839628934...
vote in this year's JavaOne but instead Scala is the one to go. Besides that, [the original creator of Groovy himself does not have faith in the language he created himself](http://macstrac.blogspot.com/2009/04/scala-as-long-term-replacement-for.html) in the first place. Community and Job openings -------------------...
[ -0.1841374933719635, -0.33113205432891846, 0.32603317499160767, 0.11852586269378662, -0.317997545003891, -0.06324513256549835, 0.20374441146850586, 0.08897008001804352, -0.26042628288269043, -0.43523314595222473, 0.19785046577453613, 0.2520023584365845, -0.06874754279851913, -0.08934237062...
care about maintainability and need access to Java framework and legacy Java system, Grails is the way to go as it provides cleaner access to Java. Grails itself is built upon several popular Java framework (Spring & Hibernate). Rails itself IMHO is funky like Ruby itself, but it's funkyness costs you maintainability. ...
[ 0.29899901151657104, -0.0012649423442780972, 0.4555805027484894, 0.32347625494003296, -0.1873682290315628, -0.31411778926849365, 0.3570246696472168, -0.22273337841033936, -0.18800154328346252, -0.3700372874736786, 0.20060206949710846, 0.5583876967430115, -0.19296714663505554, 0.01991012878...
your needs. **Conclusion** So in your case, learn Grails as that is the company's consensus (you need to respect the consensus) and if you still want to secure your job. But, invest some time learning Rails and Ruby too if you want to open a chance getting a new job in the future.
[ 0.5465472340583801, -0.18456943333148956, -0.11424976587295532, 0.12018940597772598, 0.1256975531578064, -0.12959331274032593, 0.2647165060043335, 0.4018457233905792, -0.10724607855081558, -0.6766737699508667, -0.1155824288725853, 0.834426760673523, 0.4553297460079193, -0.1312045156955719,...
A researcher has created a small simulation in MATLAB and we want to make it accessible to others. My plan is to take the simulation, clean up a few things and turn it into a set of functions. Then I plan to compile it into a C library and use [SWIG](https://en.wikipedia.org/wiki/SWIG) to create a Python wrapper. At th...
[ 0.493367999792099, 0.16547207534313202, 0.1305648684501648, -0.037233617156744, 0.26180800795555115, -0.21430601179599762, 0.13415956497192383, -0.010869947262108326, -0.0842311680316925, -0.5639897584915161, -0.054492902010679245, 0.4341515600681305, -0.14755772054195404, 0.06801450997591...
able to wrap a MATLAB simulation into a [DLL file](https://en.wikipedia.org/wiki/Dynamic-link_library) and then call it from a [Delphi](https://en.wikipedia.org/wiki/Embarcadero_Delphi) application. It worked really well.
[ -0.1861020028591156, -0.6167207956314087, 0.31089797616004944, 0.23985408246517181, -0.26874852180480957, -0.43473824858665466, -0.08205635845661163, 0.05342872813344002, -0.2921680510044098, -0.31175947189331055, 0.10413018614053726, 0.6553434729576111, -0.07607575505971909, 0.09347475320...
I have a web reference for our report server embedded in our application. The server that the reports live on could change though, and I'd like to be able to change it "on the fly" if necessary. I know I've done this before, but can't seem to remember how. Thanks for your help. I've manually driven around this for th...
[ 0.795558750629425, -0.014545375481247902, 0.5661821961402893, 0.2756463885307312, -0.09248068928718567, -0.4544496536254883, 0.3562105596065521, 0.28613460063934326, -0.14567512273788452, -0.7303564548492432, 0.18023891746997833, 0.5632073879241943, 0.022122643887996674, 0.0576260238885879...
the URL Behavior property to Dynamic I get the following code auto-generated in the Reference class. Can I override this setting (MySettings) in the web.config? I guess I don't know how the settings stuff works. ``` Public Sub New() MyBase.New Me.Url = Global.My.MySettings.Default.Namespace_Reference_ServiceN...
[ -0.15435129404067993, -0.31637269258499146, 0.5833752751350403, -0.1894516497850418, -0.09586209058761597, 0.013348706066608429, 0.4568719267845154, 0.03879091516137123, -0.4757915139198303, -0.35657039284706116, -0.047003667801618576, 0.7483710050582886, -0.3434641361236572, 0.39140880107...
since VS03 (which was probably the last VS version I used to do this). According to: <http://msdn.microsoft.com/en-us/library/a65txexh.aspx> it looks like I have a settings object on which I can set the property programatically, but that I would need to provide the logic to retrieve that URL from the web.config. Is t...
[ 0.3224430978298187, -0.19226548075675964, 0.5618984699249268, -0.036178164184093475, -0.11383828520774841, -0.3895787298679352, 0.3414829969406128, 0.06548165529966354, -0.4871640205383301, -0.597136378288269, 0.1444920003414154, 0.35246220231056213, 0.029696330428123474, 0.304149538278579...
missing something. In the properties window change the "behavior" to Dynamic. See: <http://www.codeproject.com/KB/XML/wsdldynamicurl.aspx>
[ 0.1329258680343628, -0.46819669008255005, -0.16501794755458832, 0.1454930305480957, 0.12956920266151428, -0.12980222702026367, 0.033270806074142456, -0.13171051442623138, -0.4759407639503479, -0.3398861885070801, -0.2393035739660263, 0.23874007165431976, -0.30679744482040405, 0.57733905315...
What is the Java equivalent of PHP's `$_POST`? After searching the web for an hour, I'm still nowhere closer. Your `HttpServletRequest` object has a `getParameter(String paramName)` method that can be used to get parameter values. <http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletRequest.html#getParameter(jav...
[ 0.29260510206222534, -0.3455238938331604, 0.5650264024734497, 0.19108858704566956, -0.2571703791618347, 0.09405385702848434, 0.41914889216423035, -0.2642320692539215, -0.3356831967830658, -0.6176555752754211, 0.2267683744430542, 0.09238231182098389, -0.12497055530548096, 0.2775126099586487...
I am currently in the process of creating my own blog and I have got to marking up the comments, but what is the best way to mark it up? The information I need to present is: 1. Persons Name 2. Gravatar Icon 3. Comment Date 4. The Comment *PS: I'm only interested in semantic HTML markup.* I think that your version w...
[ 0.30888262391090393, 0.05202201008796692, 0.4938279092311859, 0.08900360763072968, -0.5601702332496643, -0.20761844515800476, 0.31719234585762024, 0.29013127088546753, -0.22596727311611176, -0.5226570963859558, 0.04166628420352936, 0.011880352161824703, 0.0949210375547409, 0.03329704701900...
source and the cite tag is meant to represent a source of information (like a magazine, newspaper, etc.). I think an argument can certainly made that you can use semantic HTML with class names, provided they are meaningful. This article on Plain Old Semantic HTML makes a reference to using class names - <http://www.fo...
[ 0.5286648869514465, 0.28684595227241516, 0.2645464539527893, 0.014106551185250282, -0.12865585088729858, -0.30355024337768555, -0.1890067458152771, 0.1523740142583847, -0.18110401928424835, -0.37869879603385925, 0.06843847036361694, 0.5733495354652405, -0.07403732091188431, 0.1820858716964...
In C#, (and feel free to answer for other languages), what order does the runtime evaluate a logic statement? Example: ``` DataTable myDt = new DataTable(); if (myDt != null && myDt.Rows.Count > 0) { //do some stuff with myDt } ``` Which statement does the runtime evaluate first - ``` myDt != null ``` or: ...
[ -0.10390208661556244, 0.09785577654838562, 0.3798435926437378, -0.28796830773353577, -0.2779256999492645, -0.2364271730184555, 0.14950397610664368, -0.2662895917892456, -0.041608698666095734, -0.19678135216236115, -0.3610653281211853, 0.8426302075386047, -0.4262756407260895, -0.36393019556...
: Left to right, and processing stops if a non-match (evaluates to false) is found.
[ -0.27215784788131714, 0.1360502690076828, 0.13311319053173065, -0.06446331739425659, 0.036799948662519455, -0.08381436765193939, 0.20345140993595123, -0.3115313947200775, -0.03486591950058937, -0.3475777208805084, -0.3888944089412689, 0.3473706543445587, -0.20221439003944397, 0.11118473857...
I'm currently evaluating the `MSF for CMMI` process template under **TFS** for use on my development team, and I'm having trouble understanding the need for separate bug and change request work item types. I understand that it is beneficial to be able to differentiate between bugs (errors) and change requests (changin...
[ 0.4598683714866638, 0.1024925485253334, 0.36553430557250977, 0.2623458802700043, 0.1907818615436554, 0.0564635805785656, -0.13780614733695984, -0.4295435845851898, -0.46050623059272766, -0.7442182302474976, 0.05412062630057335, 0.44215166568756104, -0.2715049088001251, 0.04882216081023216,...
bugs? I'm also confused by the fact that developers can submit work against a bug **or** a change request, I thought the intended workflow was for bugs to generate change requests which are what the developer references when making changes. @Luke I don't disagree with you, but this difference is typically the explana...
[ 0.6272422075271606, 0.22118224203586578, -0.14276240766048431, 0.15928612649440765, 0.16246703267097473, 0.04442363977432251, 0.23850509524345398, 0.2896403968334198, -0.3798910081386566, -0.5367152690887451, 0.08614291250705719, 0.46742361783981323, -0.51435387134552, 0.0823853388428688, ...
or man-hours to do the change. Just check out the file, change the color, check it back in and update the bug. However, if the color of the home page was designed to be red, and is red, but someone thinks it needs to be blue, that is, to me anyway, a different type of change. For instance, have someone thought about t...
[ 0.641948401927948, 0.004873496480286121, 0.24642717838287354, 0.19150573015213013, 0.2805999219417572, -0.1372154951095581, 0.3593108355998993, 0.28467777371406555, -0.3926882743835449, -0.8310047388076782, 0.029316898435354233, 0.4405699074268341, -0.16896626353263855, 0.05389285460114479...
am red/green color blind, changing the color of something is, for me, not something I take lightly. There are enough webpages on the web that gives me problems. Just to make a point that even the most trivial change can be nontrivial if you consider everything. The actual end implementation change is probably much of ...
[ 0.7473864555358887, -0.006007832009345293, 0.37368640303611755, -0.15438157320022583, 0.1794591099023819, -0.12191029638051987, 0.10341104120016098, -0.14622418582439423, -0.3060261905193329, -0.597571611404419, -0.1752534955739975, 0.8095658421516418, -0.2470758706331253, -0.1056178584694...
did it differently. A change request is more like **but we need to consider this other thing as well... hmm...**. There are exceptions of course, but let me take your examples apart. If the server was *designed* to handle more than 300,000,000,000 pageviews, then yes, it is a bug that it doesn't. But designing a ser...
[ 0.3847067058086395, -0.017562301829457283, 0.36040565371513367, 0.27977630496025085, 0.06186620518565178, -0.03710652142763138, 0.134369894862175, -0.012097882106900215, -0.5476658940315247, -0.7399424910545349, 0.1509351134300232, 0.45265236496925354, -0.24435491859912872, 0.0078138373792...
as designed, and unable to perform as expected, then the question becomes: *did we design it incorrectly or did we implement it incorrectly?*. I agree that in this case, wether it is to be considered a design flaw or a implementation flaw depends on the actual reason for why it fails to live up to expectations. For in...
[ 0.20952968299388885, 0.06296753138303757, 0.13077840209007263, 0.43691664934158325, 0.03967368230223656, 0.07323259115219116, 0.41448017954826355, 0.09571658819913864, -0.44024592638015747, -0.450296014547348, -0.02762029878795147, 0.6202992796897888, 0.06676631420850754, 0.005163932684808...
the original requirement of that many pageviews is still to be held, a major redesign with more in-memory data and similar might have to be undertaken. However, if someone has just failed to take into account how raid disks operate and how to correctly benefit from striped media, that's a bug and might not need that b...
[ 0.4590589106082916, -0.12019409239292145, 0.3065014183521271, 0.3365465998649597, 0.2124701291322708, -0.27645233273506165, -0.08774474263191223, -0.010594325140118599, -0.44178542494773865, -0.6545882225036621, 0.09021595120429993, 0.5747977495193481, -0.3351897895336151, -0.0647574439644...