text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
I use full blown graphical IDEs such as Eclipse CDT (Linux) and Visual Studio (Windows) which have features like auto completion, built in debugging, etc. These are features that I feel I can't live without. I keep hearing about how many people use emacs/vim on a daily basis. How come people still use console based ed...
[ 0.39354783296585083, 0.2693181335926056, -0.02603210136294365, 0.13432133197784424, -0.37850889563560486, -0.15243059396743774, 0.11807087808847427, 0.11204202473163605, 0.11348138749599457, -0.8658156394958496, 0.0372442789375782, 0.9066311717033386, -0.09058260172605515, 0.06862416118383...
against the other, please instead argue *graphical IDE* against *console IDE*. As I'm **already** familiar with graphical IDEs, am I likely to gain any productive advantage by using emacs/vim instead? I expect the answer is "maybe not", simply because of the learning curve~~, and I'd miss the usual graphical IDE feat...
[ -0.28951048851013184, -0.019875045865774155, 0.3161126971244812, 0.1984492838382721, -0.07162328064441681, -0.014027192257344723, -0.13592872023582458, 0.04191500321030617, -0.15025946497917175, -0.6273010969161987, -0.021136481314897537, 0.8647906184196472, -0.006876448169350624, -0.13557...
[vi user wants to know if they should learn emacs.](https://stackoverflow.com/questions/48006/is-it-worth-investing-time-in-learning-to-use-emacs) Eclipse has built-in support for Emacs key-bindings. The only support I've seen for Vim is a commercial plugin. You certainly don't need to learn one or the other, and you ...
[ 0.19503729045391083, -0.014495601877570152, 0.404725044965744, 0.22305718064308167, -0.1997375190258026, -0.2967929244041443, 0.1101849377155304, -0.00008068990428000689, -0.16305941343307495, -0.5907281637191772, 0.12628942728042603, 0.9551301002502441, -0.1860577017068863, 0.021508008241...
I use Eclipse for my 90% of my development.
[ 0.3947550356388092, 0.39666876196861267, -0.10242269933223724, -0.14814139902591705, 0.2022530436515808, 0.4857252538204193, -0.2452927827835083, 0.14662790298461914, 0.48028844594955444, -0.5275930762290955, 0.13726544380187988, 0.3901090621948242, 0.3307839035987854, -0.11807751655578613...
I want to write a query that gets back everything that is known about a topic (only needs to be one level deep. When working in the [Freebase MQL Editor](http://www.freebase.com/tools/queryeditor) they give the following example for "Everything we know about Jimi Hendrix": ``` { "*" : null, "name" : "Jimi Hendrix...
[ 0.6300124526023865, 0.423944890499115, -0.08082697540521622, 0.11904020607471466, -0.07735811918973923, -0.43622487783432007, 0.04848889261484146, 0.1780133843421936, -0.2623295485973358, -0.43402764201164246, -0.08571361005306244, 0.5295476317405701, -0.2397802770137787, 0.379224359989166...
"Jimi Hendrix", "type" : "/people/person" } ``` How can I write a query that really gets back everything that Freebase knows about Jimi Hendrix? The Freebase Topic API might be what you're after: <http://www.freebase.com/experimental/topic/standard?id=/en/jimi_hendrix> The Topic API will grab all properties direc...
[ 0.5355983972549438, 0.22076673805713654, 0.13292473554611206, 0.3451957106590271, -0.26337847113609314, -0.46894508600234985, 0.04392499104142189, -0.002111538778990507, -0.32531535625457764, -0.44375136494636536, -0.021964818239212036, 0.39269810914993286, -0.36229631304740906, 0.17581760...
I'm new to Objective-C and development on Apple's platforms, but hopefully I can frame this question in an understandable way regardless :) I want to parse an XML feed for my iPhone app, and I decided instead of shoving all of the delegation methods from an instance of NSXMLParser into my view controller, I'd wrap thi...
[ 0.13028499484062195, -0.004611671436578035, 0.40328145027160645, -0.0710902214050293, -0.048261336982250214, -0.028543496504426003, 0.17199604213237762, -0.5711902976036072, -0.19331838190555573, -0.7993119955062866, -0.08590345829725266, 0.38084450364112854, -0.5350947380065918, -0.165959...
FeedParser object just have to implement `parserDidLoadEpisodes`. However, as I started actually making my `FeedParser` class use `NSXMLParser`, I realized that I didn't have to specify that `FeedParser` implements a protocol for `NSXMLParser` -- I could just implement the delegate methods that I wanted to do somethin...
[ 0.5749678611755371, 0.06497238576412201, -0.1559423953294754, 0.0773511454463005, -0.22047032415866852, -0.3229842185974121, 0.33802956342697144, 0.11728236079216003, -0.032047878950834274, -0.64202481508255, 0.3404342532157898, 0.45847347378730774, -0.7936583757400513, 0.27158743143081665...
formal protocol instead of just doing something like just checking to see if the method is implemented on the delegate with `respondsToSelector`? Is it only so that the compiler will issue nice warnings if a required delegate method isn't implemented? A protocol declared with `@protocol` is called a "formal protocol". ...
[ 0.05011766776442528, -0.31878939270973206, 0.15829257667064667, 0.2660444378852844, -0.21607652306556702, -0.6797880530357361, 0.15647557377815247, -0.24664105474948883, -0.26589828729629517, -0.4566546380519867, -0.29119881987571716, 0.33777564764022827, -0.5462606549263, 0.14113675057888...
are there two ways? Well, here's a hint: the informal protocols came first. What it comes down to is that they added formal protocols because informal ones weren't cutting it. Informal protocols make it too easy to forget an important method or try to use an object as a delegate for something it's not designed to work ...
[ 0.5453630685806274, -0.29318171739578247, -0.26571008563041687, 0.3695566952228546, -0.18978658318519592, -0.4606533646583557, 0.05551380291581154, 0.17396476864814758, -0.2180950939655304, -0.644902229309082, 0.0872049480676651, 0.6380449533462524, -0.4838378429412842, -0.2230616509914398...
Why not take advantage of its helpfulness?
[ 0.23452849686145782, 0.13179552555084229, -0.475989431142807, 0.35914549231529236, 0.011595126241445541, -0.045292142778635025, 0.06060870364308357, 0.12997442483901978, -0.02338717319071293, -0.24903604388237, 0.30734390020370483, 0.13089244067668915, 0.06967638432979584, 0.09027313441038...
I'm developing a system (with Rails 2.3.2, Ruby 1.8.7-p72) that has a sizable reporting component. In order to improve performance, I've created a Report model to archive old reports. The idea is that if a matching report already exists for an arbitrary set of conditions then use it, otherwise generate the report and s...
[ 0.44218772649765015, 0.333345502614975, 0.06379546970129013, 0.05814596265554428, -0.10216952115297318, -0.2215961366891861, 0.3488970100879669, -0.302011638879776, 0.003873012727126479, -0.5686078071594238, 0.15992268919944763, 0.5252792239189148, -0.28103959560394287, -0.0686079338192939...
won't be used. I.e. I would like to do something like: ``` def foo @foo ||= read_attribute(:foo) if @foo.nil? @foo = write_attribute(:foo, (expensive SQL query result)) end @foo end ``` The problem I'm experiencing, however, is that results aren't being properly written out to my database and, as a res...
[ 0.4266735315322876, 0.5826296210289001, 0.46294233202934265, -0.16846776008605957, -0.0032115003559738398, -0.4417934715747833, 0.3076755404472351, -0.43121638894081116, -0.1262514889240265, -0.3162926733493805, 0.11024767905473709, 0.8569239377975464, -0.28449445962905884, 0.4116999804973...
had elsewhere. I.e. the actual write was occurring to the database, but with the wrong primary key.
[ 0.48253780603408813, 0.10847274959087372, 0.18529298901557922, 0.2455611526966095, 0.2929005026817322, -0.011261425912380219, 0.09900794178247452, -0.09864111989736557, -0.09149236977100372, -0.4932882487773895, -0.2532340884208679, 0.44212913513183594, -0.030299481004476547, 0.09728150069...
I want to resize an image with the GDI library so that when I resize it to be larger than before there is no blending. (Like when you zoom in on an image in a paint program) EG: If my image is 2px wide, and 2px tall (white, white, white, black) , and I resize it to be 100% larger, it is 4px by 4px tall (wh...
[ 0.38538944721221924, -0.03427550941705704, 0.7007235288619995, 0.11079077422618866, -0.03069811873137951, 0.5375640988349915, -0.082029327750206, -0.33237767219543457, -0.5567005276679993, -0.6852229237556458, -0.046188835054636, 0.38685792684555054, 0.03329705819487572, 0.0988465175032615...
can I use to achieve this? The combinations that I have tried so far all cause grey to appear in the test image. Here is the code that I'm using ``` /// <summary> /// Do the resize using GDI+ /// Credit to the original author /// http://www.bryanrobson.net/dnn/Code/Imageresizing/tabid/69/Default.aspx...
[ 0.1943819373846054, -0.12856942415237427, 0.5754774212837219, -0.1615680307149887, -0.156610369682312, 0.26484599709510803, 0.09020867198705673, -0.7342351675033569, -0.17675690352916718, -0.6770681142807007, 0.054933227598667145, 0.31004756689071655, 0.08742381632328033, -0.11884196102619...
at high quality?</param> /// <returns>The resized Bitmap</returns> public static Bitmap Resize(Bitmap srcBitmap, int width, int height, bool isHighQuality) { // Create the destination Bitmap, and set its resolution Bitmap destBitmap = new Bitmap((int)Convert.ToInt32(width), (int)Convert.ToI...
[ -0.1655956506729126, -0.38364139199256897, 0.7972492575645447, 0.22635792195796967, -0.21398921310901642, 0.31630319356918335, 0.19205531477928162, -0.6033795475959778, 0.022150134667754173, -0.7748764157295227, -0.4684571921825409, 0.7897680401802063, -0.16835011541843414, -0.018154958263...
if (isHighQuality) { grPhoto.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; grPhoto.InterpolationMode = InterpolationMode.HighQualityBicubic; } else { grPhoto.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None; //? this do...
[ -0.6931847333908081, -0.3672736883163452, 0.49969956278800964, -0.038468487560749054, 0.0012606409145519137, 0.24781927466392517, 0.46246692538261414, -0.4298785328865051, -0.057398054748773575, -0.6275362968444824, -0.12682928144931793, 0.5449703335762024, -0.17158888280391693, 0.04604050...
this doesn't work } // Do the resize grPhoto.DrawImage(srcBitmap, new Rectangle(0, 0, width, height), new Rectangle(0, 0, srcBitmap.Width, srcBitmap.Height), GraphicsUnit.Pixel); grPhoto.Dispose(); return destBitmap;
[ -0.11376028507947922, -0.53475421667099, 0.596391499042511, 0.05073576048016548, -0.02140037529170513, 0.2894279360771179, 0.27283719182014465, -0.458477258682251, -0.15447407960891724, -0.8007605075836182, -0.023013073951005936, 0.5542481541633606, -0.41567444801330566, 0.0536706484854221...
} ``` You were on the right track by using InterpolationMode.NearestNeighbor. However, with the default PixelOffsetMode, GDI+ will try and sample at the pixel edges, causing the blending. To get the scaling without the blending, you also need to use PixelOffsetMode.Half. Change your non-high quality case to: ``` el...
[ -0.2388693392276764, -0.18080174922943115, 0.31780821084976196, -0.0545613095164299, -0.05851506069302559, 0.21192671358585358, 0.15616260468959808, -0.6008414030075073, 0.04431774839758873, -0.9203140139579773, 0.12037316709756851, 0.5546956658363342, -0.3972199559211731, 0.04794122278690...
I tried creating a model called "class" (as in a graduating class of students), and encountered all kinds of problems. What are some other words or class names to avoid in Rails? Some links I've found: <http://juicebar.wordpress.com/2007/05/30/reserved-words-in-rails/> <http://railsforum.com/viewtopic.php?id=222...
[ 0.02247500605881214, -0.19263465702533722, -0.33960601687431335, 0.16779352724552155, -0.25584694743156433, 0.33586713671684265, 0.5887154340744019, 0.016799354925751686, -0.06792818009853363, -0.4327062666416168, 0.029753580689430237, 0.3304154574871063, 0.04512983188033104, 0.05227753147...
Many hex editors, such as Hex Workshop, can even read large-sized files while keeping a relatively small memory footprint, but still manage to keep scrolling smooth. I'm looking for the best way to achieve this, and so I have several related questions. Should I just use FileStream?   - Is its buffering based on t...
[ -0.13512608408927917, -0.01120020728558302, 0.5014598965644836, 0.09599108248949051, -0.01509865652769804, -0.019393790513277054, 0.0620054230093956, -0.1188887283205986, -0.09297958016395569, -0.8948550820350647, 0.05491606891155243, 0.7733621001243591, -0.029198739677667618, -0.250638723...
nearby? Can I rely on the Buffering algorithm or the Disk scheduler to keep performance up?) Would it be better to use Memory-Mapped I/O? (I only really expect files up to maybe 100MB)   - Would pagefaults from searching/jumping/fast scrolling create noticeable performance issues? Ultimately the Data has to be...
[ 0.11638843268156052, -0.01918209344148636, 0.6487078666687012, 0.3121095895767212, -0.055717773735523224, -0.04580722376704216, 0.0594172440469265, -0.03414130583405495, -0.09297306835651398, -0.5838376879692078, 0.04601029306650162, 0.5294682383537292, -0.08056152611970901, 0.263473391532...
the Data, the generated image, or both, or do I get/generate them as needed? What are the (WPF/.Net) libraries/API objects best suited to this task? You seem to already have the answer. The general solution for this is using [Memory Mapped files](http://msdn.microsoft.com/en-us/library/ms810613.aspx) and let the OS ...
[ 0.3083595633506775, 0.2612490952014923, 0.18322546780109406, 0.4025690257549286, 0.17528653144836426, 0.05306662991642952, -0.003945338539779186, 0.009178350679576397, -0.06867817044258118, -0.6110609769821167, -0.05045348033308983, 0.7489158511161804, -0.3005279004573822, 0.06732074171304...
I'm currently working on basic user authentication for an app I'm putting together, and I don't have much experience with security. This said, I understand the practice (and necessity) of salting/storing a (salted) password hash in a database as a blob, as opposed to the password (encrypted or no). I've already implem...
[ 0.12441182881593704, 0.43443572521209717, 0.07451513409614563, 0.024251915514469147, 0.2521544396877289, -0.03914439678192139, 0.08114667981863022, 0.06273932754993439, -0.10160864889621735, -0.5465062856674194, 0.24894089996814728, 0.4053190052509308, 0.03616422787308693, 0.15888741612434...
for authentication. Since it's vital to make it difficult for someone to crack the password for a user account, wouldn't it also make sense to increase the difficulty for determining which users are viable? Edit: it's possible some of the language I'm using isn't 100% correct: feel free to correct :-) Edit2: I chan...
[ 0.01253044418990612, 0.4548356533050537, -0.04235975816845894, 0.20960122346878052, -0.2328796684741974, -0.10789555311203003, 0.8936060070991516, -0.06521196663379669, 0.054764196276664734, -0.44386500120162964, -0.21983055770397186, 0.5243055820465088, -0.08990494906902313, -0.2873204052...
likely no. **Long answer:** Your situation seems to lack the key "my usernames are sensitive because of ..." which raises the question: "Why? What is the specific, demonstrable problem that protecting usernames would solve?" Without that problem, what you are describing is a common pitfall in security-related develop...
[ 0.14409175515174866, 0.26986268162727356, 0.10235384851694107, 0.12009566277265549, 0.12820787727832794, -0.15734516084194183, 0.21800608932971954, -0.19534611701965332, -0.15023621916770935, -0.4650351107120514, -0.21778573095798492, 0.7436129450798035, 0.07962297648191452, 0.078803606331...
only be solved by using a specific tool. **Extra hint (for free!):** [salt your password hashes](http://www.codinghorror.com/blog/archives/000953.html). Plain-old hashes are [far less secure](http://www.codinghorror.com/blog/archives/000949.html).
[ 0.08126175403594971, 0.1013801172375679, 0.06447276473045349, -0.07001863420009613, 0.19852446019649506, -0.30139222741127014, 0.6155967116355896, 0.39981967210769653, -0.14657822251319885, -0.7950853109359741, -0.34965643286705017, 0.3125404715538025, -0.12908059358596802, 0.0536852739751...
I have a requirement where I can get the following in an object - ``` a type T or List<T> ``` Converting object into T is easy. How can I convert it to List(by first checking that it can be converted successfully or not), reason I want to convert is to scroll through the list and call tostring on each element. My ...
[ 0.3198085427284241, -0.057224173098802567, 0.2492399364709854, -0.14440448582172394, -0.043817490339279175, -0.00806075893342495, 0.2884474992752075, -0.3158959448337555, -0.10494197905063629, -0.5147649049758911, -0.22335654497146606, 0.5881108045578003, -0.5662652254104614, 0.18291676044...
string sTemp = String.Empty; List<int> ints = obj as List<int>; if (ints != null) { foreach (int i in ints) sTemp += i.ToString() + ",";
[ -0.44244515895843506, -0.3304796516895294, 0.5433247089385986, -0.5286453366279602, 0.14325334131717682, 0.4264250695705414, 0.41266125440597534, -0.39016327261924744, -0.15872657299041748, -0.39354947209358215, -0.6087839603424072, 0.4092220067977905, -0.24080020189285278, -0.168749600648...
sTemp.Trim(','); } else { List<string> strings = obj as List<string>; if (strings != null)
[ -0.3187479078769684, -0.5159528255462646, 0.27630674839019775, -0.30342361330986023, 0.2807171642780304, 0.17159438133239746, 0.4065854251384735, -0.14215271174907684, -0.26781168580055237, -0.513191819190979, -0.5327118635177612, 0.544019341468811, -0.25941094756126404, -0.219871476292610...
{ foreach (string s in strings) sTemp += s + ","; sTemp.Trim(','); }
[ -0.10977509617805481, -0.18446512520313263, 0.19072797894477844, -0.5808007121086121, 0.2732623219490051, 0.4341962933540344, 0.4821031093597412, -0.2674862742424011, 0.07894160598516464, -0.6408554315567017, -0.5910562872886658, 0.3515239357948303, -0.10222694277763367, -0.145120888948440...
else { sTemp += obj.ToString(); } } return sTemp; }
[ -0.46518611907958984, -0.3523713946342468, 0.36107897758483887, -0.41690701246261597, 0.32061949372291565, 0.263574481010437, 0.36423274874687195, -0.13945864140987396, -0.1363457888364792, -0.357155978679657, -0.43573692440986633, 0.5724861025810242, -0.2390064150094986, -0.25561177730560...
static void Main(string[] args) { List<int> listInts = new List<int>(); listInts.Add(1); listInts.Add(2); listInts.Add(3); Console.WriteLine("Object1: {0}", DumpObj(listInts)); int i = 90;
[ 0.0056970142759382725, -0.27554240822792053, 0.5501798391342163, -0.6458373665809631, 0.025778431445360184, 0.27232325077056885, 0.4293093681335449, -0.3514881432056427, -0.04117307439446449, -0.21637657284736633, -0.24775676429271698, 0.5089794397354126, -0.6535526514053345, 0.21289893984...
Console.WriteLine("Object2 {0}", DumpObj(i)); List<string> listStrings = new List<string>(); listStrings.Add("1"); listStrings.Add("2"); listStrings.Add("3"); Console.WriteLine("Object3: {0}", DumpObj(listStrings)); Console.ReadKey(); } ...
[ -0.22970399260520935, 0.038908205926418304, 0.6012752056121826, -0.36468377709388733, 0.22453701496124268, 0.016678379848599434, 0.34045466780662537, -0.36058804392814636, 0.050528280436992645, -0.5793700814247131, -0.389621376991272, 0.6047360301017761, -0.5067861676216125, 0.184925764799...
works but I know its an ugly way to achieve this. I wanted to ask from community how can I have this function like - ``` public static string DumpObj<T>(object obj) { string sTemp = String.Empty; List<T> list = obj as List<T>; if (list != null) { foreach (T i in lis...
[ 0.17953075468540192, -0.1851854771375656, 0.5036956667900085, -0.25013741850852966, 0.19205154478549957, 0.06845316290855408, 0.5437882542610168, -0.16526851058006287, -0.03983686864376068, -0.6444233059883118, -0.20623677968978882, 0.616106390953064, -0.3214629292488098, 0.063750423491001...
sTemp += i.ToString() + ","; sTemp.Trim(','); } return sTemp; } ``` This gives me compilation errors as I have to specify T while calling DumpObj with error as - Error 1 The type arguments for method 'Generic\_Collection\_Code.Program.DumpObj(object)' cannot be inferred from the usage...
[ -0.2469206005334854, 0.0000022466847440227866, 0.5536534190177917, -0.2447933554649353, 0.05599110201001167, 0.13111869990825653, 0.42934244871139526, -0.3444918394088745, -0.24176691472530365, -0.6299263834953308, -0.3098790943622589, 0.48793286085128784, -0.18314868211746216, -0.02441480...
type while calling dumobj. I hope I have made myself clear on this one. I appreciate your time! Regards Amit What is the compilation error you're getting? If T is declared as a generic type parameter in your context then then the only compile-time issue I can see with that statement is the use of the keyword `object...
[ 0.09085658192634583, -0.07986141741275787, 0.3946661055088043, -0.10253375768661499, -0.1321440190076828, -0.13888651132583618, 0.5204700231552124, -0.20426666736602783, -0.06540694087743759, -0.4207432270050049, -0.26328304409980774, 0.7211484909057617, -0.46555691957473755, 0.27757140994...
} } ``` You may also want to consider using a [StringBuilder](http://msdn.microsoft.com/en-us/library/system.text.stringbuilder.aspx) if your list is likely to have a lot of items.
[ 0.26705390214920044, -0.002763615222647786, -0.0066916863434016705, 0.0823727697134018, 0.19295069575309753, -0.2678903639316559, 0.0647478923201561, 0.31821730732917786, -0.37024715542793274, -0.5801777243614197, -0.25852853059768677, 0.48833200335502625, -0.10065566748380661, 0.098360575...
I zipped an ASP.NET MVC Azure project up and copied it to another computer (both have VS 2008). I thought I could just unzip it in "Documents\Visual Studio\Projects", but I can't quite get it working. My site builds, but the browser doesn't see the master page or Site.css. Should moving projects around as Zip files jus...
[ 0.5094420313835144, -0.0836501494050026, 0.06651918590068817, 0.14822918176651, -0.3518458306789398, 0.04704953730106354, -0.014196841046214104, -0.15887783467769623, -0.36972948908805847, -0.7593218684196472, 0.06292570382356644, 0.20316623151302338, -0.4339238703250885, 0.107716284692287...
enabled in IIS on the second computer. The latest installation instructions for Azure (March '09 CTP) omit this crucial step. The first computer originally ran the Jan '09 CTP, whose instructions included the step about enabling Static Content. Moving projects around by zipping them up seems to work fine.
[ 0.3212401270866394, -0.45785200595855713, 0.4628942906856537, 0.13826830685138702, 0.026019398123025894, -0.426796019077301, 0.05246810242533684, 0.10916145145893097, -0.250632643699646, -0.6852784156799316, -0.5102583765983582, 0.10487955063581467, -0.29658636450767517, -0.316211581230163...
i have a string with double quote like this ``` $count = 5; $str = "result: $count"; echo $str; //result: 5 ``` variable parsing work well, and my problem is $count var must be define later than $str ``` $str = "result: $count"; $count = 5; echo $str; //result: ``` So i will use single quote and ask a question h...
[ 0.3101888597011566, 0.30519798398017883, 0.3832721412181854, -0.3573227524757385, -0.35254424810409546, -0.04083016887307167, 0.6317172050476074, -0.393315851688385, -0.15724855661392212, -0.24375085532665253, 0.10100973397493362, 0.5336951613426208, -0.498363196849823, 0.09335246682167053...
partly on why you have to define $string before $count. If it's a string that's repeated a lot, and you wanted to put it in a global variable or something, printf would be my choice, or putting it in a function as other answers have suggested. If the string is only used once or twice, are you sure you can't refactor ...
[ 0.12448771297931671, 0.11609739065170288, 0.12260929495096207, -0.02370402216911316, -0.40592923760414124, -0.13359807431697845, -0.002171651227399707, 0.4101298749446869, -0.3536393344402313, -0.08483865857124329, 0.4086560308933258, 0.3592151701450348, -0.21537016332149506, -0.0425308980...
for purposes of $string, and even if $count changes, $string won't, because it contains a literal copy of the value. There isn't, as far as I'm aware, a way of binding a position in a string to a yet-to-be-defined variable. The 'printf' method leaves placeholders in the string, which the function printf replaces with v...
[ 0.142201229929924, 0.00018001579155679792, 0.2879071831703186, -0.2208426594734192, 0.13301219046115875, 0.025247998535633087, 0.06729171425104141, -0.47510451078414917, -0.21497094631195068, -0.21184074878692627, -0.0062317196279764175, 0.44977250695228577, -0.42196932435035706, 0.1017839...
explicit call to a function, not an implicit substitution.
[ -0.4265972375869751, -0.22196991741657257, -0.18600419163703918, -0.15768785774707794, -0.45033252239227295, 0.052301280200481415, 0.2612247169017792, 0.0015712633030489087, 0.226511150598526, -0.22684133052825928, -0.43035387992858887, 0.7103192210197449, -0.5096813440322876, -0.239074811...
How do I write a batch file to control psftp, but with a dynamic filename? Overall I'm trying to convert a video file and then upload it to my Apple TV. Here's what I have, it generally works, but the commands don't control psftp, psftp just waits for user input: ``` echo Convert and Upload to Apple TV file Called %1....
[ 0.41222667694091797, 0.20996958017349243, 0.5651137828826904, -0.27399536967277527, -0.2358458787202835, 0.18809780478477478, 0.16895745694637299, -0.47636401653289795, -0.32457759976387024, -0.511872410774231, -0.1325911581516266, 0.6618968844413757, -0.42631855607032776, 0.01294618379324...
to it. I've seen solutions where a text file is redirected to psftp, but that suffers from the same problem. Also, I'd prefer to have just one file, but having to call a second file would be alright too. I ended up creating a new batch file from the main one that I then told psftp to use: ``` echo cd downloads/boxee >...
[ 0.3893830180168152, -0.02447112835943699, 0.386548787355423, -0.19182613492012024, -0.24625447392463684, 0.10910554975271225, 0.2202051430940628, -0.4889222979545593, -0.2981575131416321, -0.49687641859054565, -0.11208787560462952, 0.5260958671569824, -0.4079907238483429, -0.00415523350238...
Are there some things I cannot do with ASP.NET MVC? Things that are only possible with ASP.NET WebForms, or *extremely* much easier with WebForms? We consider using ASP.NET MVC for a new project. But I wonder if there are some obvious things we will not be able to do with ASP.NET MVC when compared to WebForms, or p...
[ 0.49080196022987366, 0.004042826127260923, 0.21223586797714233, 0.5643417239189148, -0.04129753261804581, -0.1567794531583786, 0.10889246314764023, 0.0972522720694542, -0.26109543442726135, -0.5896880626678467, 0.27185186743736267, 0.5273963809013367, -0.33544686436653137, 0.07091126590967...
control, you might have to host that on a regular (non-MVC) aspx page (luckliy this is supported). Likewise, "web parts" Also - the feature where ASP.NET uses different html for different clients (mobile, etc) becomes... different; you wouldn't want to do this by hand, but in reality most clients now work with standa...
[ 0.3196276128292084, -0.23032353818416595, 0.4068461060523987, 0.3297635614871979, 0.005585577338933945, -0.2658251225948334, 0.15931129455566406, -0.15441381931304932, -0.48351380228996277, -0.4560331702232361, -0.10158507525920868, 0.45425498485565186, -0.37483322620391846, 0.204878538846...
(without violating the terms, as I understand it) is to run it in mono/Apache - but IANAL. Now consider the things you **can** do with MVC, that you can't (or are hard) with vanilla: * routes instead of pages * automated input resolution (action arguments) * proper html control... * ...enabling jQuery etc for simple ...
[ 0.08447687327861786, -0.25200727581977844, 0.3182123899459839, -0.03206507861614227, -0.39621177315711975, -0.1090388223528862, 0.41082900762557983, -0.6069459915161133, -0.36436790227890015, -0.4988492429256439, -0.3237610161304474, 0.550231397151947, -0.3709433376789093, -0.3389785587787...
- aspx/ascx aren't the only templating options. For example, see [here](https://stackoverflow.com/questions/173207/best-template-engine-for-asp-net-mvc); or you can write your own if you like... The view is not tied to ASP.NET controls **at all**.
[ 0.07522915303707123, -0.3183852434158325, 0.44357240200042725, 0.196328803896904, -0.20353074371814728, -0.32736313343048096, 0.07423514872789383, -0.1035102903842926, -0.4060589075088501, -0.5157065987586975, -0.2247687578201294, 0.5492965579032898, -0.26161831617355347, -0.21732074022293...
I am confused about these two terms. What do these two terms mean? What is the difference between Layer and Tier? Sometimes people use them interchangeably but in my mind a layer is a logical separation (GUI, data access, business logic etc)and a tier is a physical separation (separate servers...ie web server, database...
[ 0.2738506495952606, 0.10311243683099747, 0.1835990995168686, 0.375110000371933, -0.0825328528881073, -0.29475197196006775, 0.019953012466430664, -0.2763984203338623, -0.6240488290786743, -0.7141148447990417, -0.2924880087375641, 0.17403604090213776, -0.023146741092205048, 0.750086188316345...
I've written a MnemonicsBuilder class for JLabels and AbstractButtons. I would like to write a convenience method `setMnemonics( JFrame f )` that will iterate through every child of the JFrame and select out the JLabels and AbstractButtons. How can I obtain access to everything contained in the JFrame? I've tried: ``...
[ 0.29880914092063904, -0.22178435325622559, 0.4346875846385956, -0.07231929153203964, 0.19268295168876648, 0.22076188027858734, -0.10024737566709518, -0.1853312849998474, -0.16057303547859192, -0.6721934080123901, -0.12271253019571304, 0.6375337243080139, -0.31585854291915894, 0.29987505078...
l.add( (JLabel) com ); } else if( com instanceof Container ) { l.addAll( harvestJLabels( (Container) com, l ) ); } } return l; } ``` In some situations, this works just fine. In others, it runs out of memory. What am I not thinking of? Is there a better way to search for ch...
[ 0.18318332731723785, 0.10451381653547287, 0.25555938482284546, -0.5237227082252502, 0.513009786605835, 0.26566529273986816, 0.044509779661893845, -0.008690535090863705, -0.14316076040267944, -0.8067654967308044, -0.06761389970779419, 0.5761397480964661, -0.25503960251808167, 0.164337724447...
my recursion flawed? Is this not a picture of how things "Contain" other things in Swing - e.g., is Swing not a Rooted Tree? ``` JFrame | |\__JMenuBar | | | \__JMenu | | | \__JMenuItem | |\__JPanel | | | |\__JButton | | | |\__JLabel | | | |\__ ... JCheckBoxes, other AbstractButtons, etc....
[ 0.25833001732826233, 0.3280889689922333, 0.10389693081378937, -0.008560088463127613, -0.13769254088401794, -0.332025408744812, 0.3731488883495331, -0.5952471494674683, -0.2936747074127197, -0.07318919152021408, -0.13467326760292053, 0.24780790507793427, -0.3800143599510193, -0.116810686886...
same items to your list more than once. In more politically correct terms - the `List` is your accumulator. Your method should instead look like this: ``` public void harvestJLabels(Container c, List<JLabel> l) { Component[] components = c.getComponents(); for(Component com : components) { if(com ins...
[ 0.3189583718776703, -0.1952986717224121, 0.5271576046943665, -0.2726172208786011, 0.09318111091852188, 0.16138210892677307, -0.22979210317134857, -0.20844225585460663, -0.49337950348854065, -0.5963403582572937, -0.23152652382850647, 0.5820926427841187, -0.3856401741504669, 0.38897934556007...
} } } ``` Then you can have a helper method to initiate this harvesting: ``` public List<JLabel> harvestJLabels(Container c) { List<JLabel> jLabels = new ArrayList<JLabel>(); harvestJLabels(c, jLabels); return jLabels; } ```
[ 0.13790959119796753, -0.13035042583942413, 0.49896785616874695, -0.31335437297821045, 0.27574747800827026, 0.09402676671743393, -0.11444908380508423, 0.024799617007374763, -0.509895384311676, -0.6015030741691589, -0.16865581274032593, 0.7622905969619751, -0.2834748923778534, 0.245032906532...
First question: is there any way to get the **name** of a node's attributes? ``` <node attribute1="value1" attribute2="value2" /> ``` Second question: is there a way to get attributes and values as value pairs? The situation is the following: ``` <node attribute1="10" attribute2="0" /> ``` I want to get all attri...
[ -0.3106059730052948, 0.053943656384944916, 0.3223412036895752, 0.15695877373218536, 0.04452431574463844, -0.033980730921030045, -0.09373722970485687, -0.1767035871744156, -0.17799875140190125, -0.7055642604827881, -0.22827589511871338, 0.5325023531913757, -0.26940128207206726, -0.061274833...
context (current) node)):     **`name(@*[2])`** produces the name of the second attribute (the ordering may be implementation - dependent). > Second question: is there a way to get > attributes and values as value pairs? > The situation is the following: > > > `<node attribute1="10" attribute2="0" > />` > > ...
[ -0.33488476276397705, 0.00007550451118731871, 0.5866157412528992, -0.06863345205783844, -0.011089514940977097, 0.16059166193008423, -0.14005157351493835, -0.4333310127258301, -0.06267055124044418, -0.7118353247642517, -0.21046674251556396, 0.7249743342399597, -0.2656874656677246, -0.131991...
a number, greater than 0. **In XPath 2.0 one can combine them in a single XPath expression**:     **`@*[number(.) > 0]/concat(name(.),'=',.)`** to get (in this particular case) this result:     **`attribute1=10`** **If you are using XPath 1.0**, which is less powerful, you'll **need to embed the XPath expression i...
[ 0.07360479980707169, -0.05524513125419617, 0.8058373332023621, -0.0905676931142807, -0.13912053406238556, -0.05385935306549072, -0.11210421472787857, -0.6500099897384644, 0.042801663279533386, -0.5451529622077942, -0.22782889008522034, 0.5955580472946167, -0.5305051803588867, -0.0509052127...
attribute1="10" attribute2="0" /> ``` **Produces exactly the same result**:     **`attribute1=10`**
[ -0.3147777318954468, 0.1230774074792862, 0.15705940127372742, -0.03110310435295105, -0.13433463871479034, 0.20568428933620453, -0.13570117950439453, -0.3712586760520935, -0.04447901248931885, -0.43768608570098877, -0.23404374718666077, 0.5057048201560974, -0.05492845177650452, -0.171549454...
What would cause the "SVN Move versioned files here" command with Tortoise SVN to fail with the error "Unable to lock '', Please execute cleanup command", even after having executed the cleanup command? I've had problems with the Tortoise move facility too (apart from it being difficult to accomplish with a touchpad) a...
[ 0.07323535531759262, -0.003711976809427142, 0.36485669016838074, -0.3221353590488434, 0.18744191527366638, 0.07950479537248611, 0.32659369707107544, 0.06138624995946884, -0.6731352806091309, -0.48715266585350037, -0.06731370836496353, 0.8283154368400574, -0.14129222929477692, -0.0293823424...
So many server side and the mobile Java applications use the native Java language for Java. Can we use Jython instead to build the enterprise applications, e.g. websites, application servers etc. Also what do you feel about Java ME applications in Jython. P.S. Comments on question also welcome. No, Jython is not a su...
[ 0.21811118721961975, 0.08922234177589417, 0.048769403249025345, 0.22726354002952576, -0.4844210743904114, -0.2416231483221054, 0.07652413100004196, 0.09444666653871536, -0.3108154237270355, -0.5524492859840393, 0.11357557028532028, 0.6269790530204773, -0.34197545051574707, 0.04522918537259...
Python but not compatible, and which fully exposes the CLR's functionality (thus being feature-equivalent with C#). There presently is no Pythonic language with feature parity with Java -- and such a language would necessarily be incompatible with Python, as Python simply doesn't provide a way to express some of the re...
[ 0.2712344527244568, -0.000617196608800441, 0.18725989758968353, 0.20919257402420044, -0.18120519816875458, -0.24950288236141205, 0.040301643311977386, 0.08573455363512039, -0.24740682542324066, -0.03866977617144585, -0.0998748391866684, 0.7181369662284851, -0.5945421457290649, -0.045469522...
else on the development team know or care. Certainly, Jython is suitable for many of the same classes of projects that Java is, *except when you're building an interface which will be called from Java, rather than the reverse*. Given as "enterprise applications" tend to have a lot of components which operate closely wi...
[ 0.24610690772533417, 0.022035392001271248, -0.08880074322223663, 0.22057923674583435, -0.3185742497444153, -0.24021461606025696, 0.26067879796028137, 0.1805553287267685, -0.1891254484653473, -0.7123148441314697, -0.11229479312896729, 0.7166316509246826, -0.06109960749745369, -0.10993286222...
*Edit:* This is not a conflict on the theoretical level but a conflict on an implementation level. *Another Edit:* The problem is not having domain models as data-only/DTOs versus richer, more complex object map where Order has OrderItems and some calculateTotal logic. The specific problem is when, for example, that ...
[ 0.019265618175268173, -0.2668688893318176, 0.3434852361679077, 0.22243252396583557, -0.20083649456501007, 0.08090061694383621, -0.27091550827026367, -0.02796132303774357, -0.43469974398612976, -0.5485028028488159, 0.022862495854496956, 0.4832064211368561, -0.05986049026250839, 0.2595367729...
the total. So how would you ensure that every Order has a reference to this PriceQuery service? How would you restore it upon de-serializations, loading from DBs, and fresh instantiations? This is my exact question. The easy way would be to pass a reference to the calculateTotal method, but what if your Object uses t...
[ 0.43107229471206665, -0.04262884706258774, 0.5997859239578247, 0.27789363265037537, -0.15113012492656708, 0.2555827498435974, -0.42960843443870544, -0.3549375832080841, -0.4372715950012207, -0.33890193700790405, 0.14445160329341888, 0.6549078226089478, -0.02564135007560253, 0.4707775413990...
Script" way of things. *Original post:* **Short version:** Rich domain objects require references to many components, but these objects get persisted or serialized, so any references they hold to outside components (Spring beans in this case: services, repositories, anything) are transient and get wiped out. They n...
[ 0.2868797481060028, -0.0890660360455513, 0.10046233236789703, -0.027042094618082047, -0.19490499794483185, -0.16342484951019287, 0.36476895213127136, 0.28349563479423523, 0.07849258184432983, -0.6950579285621643, 0.11319149285554886, 0.4006049931049347, -0.14476647973060608, -0.10002041608...
A while ago, however, I read Domain-Driven Design and some Martin Fowler. As a result, I've been trying to convert my domain models from simple DTOs (usually simple representations of a table row, just data no logic) into a more rich domain model. As my domain grows and takes on new responsibilities, my domain objects...
[ 0.24909496307373047, 0.2322596162557602, 0.044312652200460434, 0.14654049277305603, -0.055292826145887375, 0.010789377614855766, -0.00343828066252172, 0.27084171772003174, -0.09497357159852982, -0.8476762771606445, 0.1263016015291214, 0.6180161237716675, -0.3756268620491028, 0.597006857395...
a reference to the application context into my domain: * when object is loaded from Repository or other responsible Entity since the component references are transient and obviously don't get persisted * when object is created from Factory since a newly created object lacks the component references * when object is d...
[ 0.24195444583892822, 0.039082009345293045, 0.39122337102890015, -0.09733550250530243, -0.024890292435884476, -0.04342392086982727, 0.39277756214141846, -0.03763261064887047, 0.026159433647990227, -0.6424782276153564, 0.14098796248435974, 0.5190169811248779, -0.4625750482082367, 0.502239346...
in all of those mentioned places I need logic for injecting an appContext Third, it's error prone because I have to remember to inject in all those places for all those objects, which is harder than it sounds. There has got to be a better way and I'm hoping you can shed some light on it. I've found the answer, at lea...
[ -0.08328426629304886, 0.09346207976341248, 0.5085741877555847, 0.05507297441363335, -0.09706143289804459, 0.4602906405925751, 0.47576063871383667, -0.24472875893115997, -0.5500604510307312, -0.39338740706443787, -0.3474962115287781, 0.6036761403083801, -0.25544798374176025, -0.086421445012...
I've always wondered what is the best way to add a new item to html-select in a website. Yes, this may sound silly but it is a great problem from the usability perspective. I don't want the user to be taken to a new page every time they need to add new item to a html-select. I like the way Google Reader and Gmail hand...
[ 0.7609302401542664, 0.13412050902843475, 0.20559655129909515, 0.10378934442996979, -0.20031897723674774, -0.42160508036613464, 0.18869517743587494, 0.31938982009887695, -0.31960880756378174, -0.6877661347389221, 0.12530186772346497, 0.49897152185440063, -0.07697916775941849, 0.246645659208...
welcome. I would like it to be as modular as possible so i can reuse it anywhere. I'm using ASP.NET 3.5 web-forms, Microsoft Access 2003, jQuery, IIS 5 and Win XP Professional as web server. Thanks. there's a [jquery select plugin](http://www.texotela.co.uk/code/jquery/select/) that might help you with this. I've man...
[ 0.20445036888122559, -0.13482536375522614, 0.45150279998779297, 0.12597352266311646, -0.047064900398254395, -0.08572687953710556, -0.10942301154136658, 0.2562899589538574, -0.2714828550815582, -0.6845690608024597, 0.11983001232147217, 0.5848322510719299, 0.18062876164913177, -0.03938169777...
So I've got a class like this: ``` public class A { internal A(int i) { ... } public int Foo { get; set; } } ``` This class is then inherited by a bunch of generated classes, eg: ``` public class B : A { ... } ``` The `int` based constructor isn't exposed to the inherited class (for design reasons I don't ...
[ 0.14583703875541687, 0.00455657159909606, -0.14216893911361694, -0.08784964680671692, -0.07952962070703506, -0.2722833454608917, 0.15006248652935028, -0.11183018982410431, -0.16796302795410156, -0.5351808667182922, -0.13594821095466614, 0.5556437969207764, -0.37194979190826416, 0.381867766...
I'd use it like this: ``` B b = Helper.Load<B>(); ``` Since the constructor I want to use isn't exposed to class `B` when I do `typeof(T).GetConstructor(typeof(int))` I don't get the constructor back, so I want thinking that I'd do this: ``` return (T)new A(/*some int */); ``` But that gives me a runtime error `S...
[ 0.004535577725619078, -0.03617466241121292, 0.22336924076080322, -0.10538549721240997, -0.0936984196305275, -0.0424223355948925, 0.2568833529949188, -0.17981074750423431, -0.07606122642755508, -0.6002979874610901, -0.054698240011930466, 0.6290638446807861, -0.5929878950119019, 0.2458497732...
an argument and initializes the object after the constructor has run. ``` public class A { internal A() { } internal Initialize(int i) { Foo = i; } public int Foo { get; set; } } public class B : A { internal B() { } } ... public T Load<T>() where T : A, new() { var ret = new T(); ret.Initi...
[ -0.06479308009147644, -0.043403420597314835, -0.008162818849086761, -0.302714079618454, 0.006409273482859135, 0.272401362657547, 0.31059420108795166, -0.4323207139968872, -0.06066175922751427, -0.4836733639240265, -0.5570032596588135, 0.368839293718338, -0.4253239631652832, 0.1365309953689...
call as long as it is done before you return the object to the caller's control.
[ 0.18577878177165985, -0.21150420606136322, 0.6784942746162415, 0.1955699324607849, 0.21291372179985046, -0.24540486931800842, 0.3875666558742523, 0.18572832643985748, -0.030581578612327576, -0.1237315833568573, -0.6778098344802856, 0.6309836506843567, -0.0814656913280487, 0.124682091176509...
i have the an IList and i wish to turn it into a ToArray() string result. Currently i have to do the following :( ``` List<string> values = new List<string>(); foreach(var value in numberList) { values.Add(value.ToString()); } ... string blah = string.Join(",", values.ToArray()); ``` i was hoping to remove...
[ 0.3601084053516388, -0.07993903756141663, 0.9534780979156494, -0.3439132273197174, 0.19335809350013733, -0.111664317548275, 0.12164332717657089, -0.4277470111846924, -0.20441924035549164, -0.39805904030799866, 0.008728276006877422, 0.557283878326416, -0.4592735469341278, 0.2161222696304321...
I am using the linux Flex builder with eclipse 3.3 on my ubuntu 8.04 machine for the very first time, and I need to modify a preexisting flex project. How do I import this project (its version controlled branch of the flex project) to my eclipse environment. I have tried creating a new flex project in eclipse and link...
[ 0.45217257738113403, -0.11664783954620361, 0.24812841415405273, -0.19750620424747467, -0.05280780419707298, -0.1359790712594986, 0.17244866490364075, 0.23831769824028015, -0.06433191150426865, -0.5656205415725708, 0.013523107394576073, 0.5185137391090393, -0.1281658113002777, 0.09779743850...
I'm having trouble installing Tomcat on my windows XP machine. I already have Apache and JDK 6 installed, what I need to know is: * Which file to download from the [Lastest Tomcat download page](http://tomcat.apache.org/download-60.cgi) * And how to install it so I can run the sample web app by going to `http://localh...
[ 0.1289214789867401, 0.09907237440347672, 0.30852675437927246, 0.1461852341890335, -0.08129437267780304, -0.012699689716100693, 0.5055555105209351, 0.21799729764461517, -0.15065030753612518, -0.5317914485931396, -0.050360795110464096, 0.9499956369400024, -0.18012477457523346, -0.02250471897...
well off. Just make sure that JAVA\_HOME environment variable is set. You can either get the core zip or tar.gz file, or the Windows Service installer file. Core zip file: <http://www.apache.org/dist/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.zip> Just unzip it and run bin/startup.bat. If you'd like to insta...
[ 0.5917437076568604, 0.12471505999565125, 0.59433513879776, -0.24959957599639893, 0.04913995787501335, -0.0954652726650238, 0.5104159712791443, -0.13888785243034363, -0.03940923139452934, -0.2265031784772873, 0.1937793642282486, 0.944260835647583, -0.33267882466316223, 0.17445243895053864, ...
On an [official sqlite3 web page](http://www.sqlite.org/) there is written that I should think about sqlite as a replacement of fopen() function. What do you think about it? Is it always good solution to replece application internal data storage with sqlite? What are the pluses and the minuses of such solution? Do yo...
[ 0.2924862802028656, 0.1639242023229599, 0.2952163517475128, 0.04804147407412529, -0.049144476652145386, -0.13713574409484863, 0.15272125601768494, 0.007551898714154959, -0.3341679871082306, -0.3968636393547058, 0.30232173204421997, 0.7149304151535034, -0.19123247265815735, 0.09277778863906...
database, even one as lightweight as SQLite. * tree structures are easier to describe using (for example) XML than by using relational tables * the SQLite API is quite badly documented - there are not enough examples, and the hyperlinking is poor. OTOH, the information is all there if you care to dig for it. * use of a...
[ 0.18047907948493958, 0.33467981219291687, 0.10490995645523071, 0.4889526069164276, 0.03016066551208496, -0.250203013420105, 0.2845994532108307, 0.2061542421579361, -0.37841102480888367, -0.5864284038543701, -0.04362892732024193, 0.5284074544906616, -0.2797490060329437, -0.01114852819591760...
model and if there is a a lot of it, I'd recommend SQLite - I use it myself for one of my projects. Regarding experience - I use it, it works well and is easy to integrate with existing code. If the documentation were easier to navigate I'd give it 5 stars - as it is I'd give it four.
[ 0.33335110545158386, 0.15187238156795502, 0.47499459981918335, 0.1805160492658615, 0.021989865228533745, -0.13953261077404022, 0.2707176208496094, -0.1114509254693985, -0.2938382923603058, -0.68698650598526, 0.34267622232437134, 0.6223710775375366, 0.04878860339522362, 0.09986269474029541,...
I need to run a ruby-script as a service. The script needs access to the ActiveRecords of a rails-app. What would be the best way? A rake task? How can it be started as a service on both windows and linux? I'll go with [a custom daemon](http://railscasts.com/episodes/129-custom-daemon)
[ 0.2859117388725281, -0.20178772509098053, 0.2541009187698364, 0.2602086663246155, -0.12191187590360641, 0.018988672643899918, 0.4510526955127716, 0.0981609970331192, -0.2169862687587738, -0.6099370121955872, 0.002895457437261939, 0.41567739844322205, 0.16076608002185822, 0.1032179072499275...
is there any particular website that would make sense to use MVC versus webforms. what would be the decision process in deciding between these options? There is a lot of enthusiasm around MVC right now, but if you are starting a new dev project right now I'd still recommend that you carefully consider before jumping o...
[ 0.6641069054603577, 0.09830492734909058, 0.009115232154726982, 0.35972946882247925, -0.33815568685531616, -0.19462032616138458, 0.12544575333595276, 0.14691273868083954, -0.3244422674179077, -0.4583144783973694, 0.0815085768699646, 0.6444957256317139, -0.20250707864761353, -0.1134139522910...
as a good understanding of how HTTP works. For the client side code they will need strong javascript and JQuery skills, and on the server side an advanced grasp of OO principals. And if you plan to get the most from MVC, experience with unit testing and mocking frameworks too. * The MVC 1.x framework currently doesn't ...
[ 0.26600968837738037, -0.04434392601251602, 0.21726177632808685, 0.15743492543697357, -0.30464014410972595, -0.13373716175556183, 0.20369139313697815, 0.10104691237211227, -0.39403289556503296, -0.5389046669006348, -0.1251613199710846, 0.6362774968147278, -0.26168835163116455, -0.3520720601...
UIs will take significantly longer, especially for less experienced developers. * MVC is very new, and so code samples, tutorials, and sample apps are very hard to come by and tend to be very limited in scope. Documentation is also a bit thin at present. * Perhaps the biggest drawback to the MVC framework is the lack o...
[ 0.3957003355026245, 0.23333235085010529, 0.4884513020515442, 0.12480149418115616, -0.11524919420480728, -0.29246607422828674, 0.30523738265037537, 0.06723620742559433, -0.20312336087226868, -0.846073567867279, -0.4398862421512604, 0.25966453552246094, -0.2515869736671448, 0.019400665536522...
3rd party reporting, charting, and advaned grid controls for the MVC framework alone should be a major concern. MVC is fantastic, and I highly recommend it if you are in a position where you can use it. But there are real costs and risks for any significantly complex project that may keep you on web forms for a while ...
[ 0.23093393445014954, 0.09568770974874496, 0.2215174287557602, -0.020909318700432777, -0.19137901067733765, -0.47298890352249146, 0.10851933807134628, -0.0785336121916771, -0.46212005615234375, -0.4236712157726288, -0.200721874833107, 0.6743656396865845, -0.2192794531583786, -0.298867106437...
platform too. But it will take some time for all that to get well established.
[ 0.3977319896221161, -0.25789523124694824, 0.2693680226802826, 0.41484662890434265, 0.08728457242250443, -0.020427322015166283, -0.11180545389652252, -0.13458414375782013, -0.43733394145965576, -0.67012619972229, 0.4483892321586609, 0.3377908766269684, 0.12679967284202576, -0.17570716142654...
> See > [VSS or SVN for a .Net Project?](https://stackoverflow.com/questions/690766/vss-or-svn-for-a-net-project), > among many other similar questions. There are a lot of options out there for ASP.Net Developers, some are total garbage and some are feature rich and pricey. I've been using Visual Source Safe 2005 f...
[ 0.5146359205245972, 0.04353265091776848, 0.24369722604751587, -0.07438576221466064, -0.48786574602127075, -0.27005207538604736, 0.48338842391967773, 0.053324006497859955, -0.023067057132720947, -0.7825704216957092, 0.026119261980056763, 0.6545881628990173, -0.044974733144044876, 0.13841408...
say "Keep local changes and Check Out" to get that functionality. Anyway, I wanted to see if anyone could help me move away from this monster to something more stable. Team Foundation Server is obviously overkill. SourceVault is reliable, but kinda pricey. SVN is free, but all of the plugins that most other source con...
[ 0.6231812834739685, -0.19790057837963104, 0.354667991399765, 0.01699332520365715, -0.5883542895317078, -0.22821015119552612, 0.11498253047466278, 0.1889379918575287, -0.2737441956996918, -0.7746855616569519, 0.2508733868598938, 0.4623793661594391, -0.08271609991788864, 0.17199963331222534,...
Subversion server package for Windows 2. [TortoiseSVN](http://tortoisesvn.tigris.org/) - Explorer shell extension 3. [AnkhSVN](http://ankhsvn.open.collab.net/) - Visual Studio plugin You'll also want to reference the [Subversion book](http://svnbook.red-bean.com/). This was easy to set up and has been a tremendous su...
[ -0.04878222197294235, -0.3279437720775604, 0.49425777792930603, -0.1617041677236557, -0.41304081678390503, -0.23229649662971497, 0.6288319826126099, 0.0474032424390316, -0.18323257565498352, -0.6052295565605164, -0.1375337839126587, 0.6093588471412659, -0.33794963359832764, -0.011653222143...
different versions of Subversion. VisualSVN and AnkhSVN are built against 1.5.5 but TortoiseSVN is built against 1.6. You can either grab the previous version of TortoiseSVN or use a daily build of AnkhSVN.
[ 0.20396515727043152, -0.4949272871017456, 0.6166046261787415, -0.0005794820026494563, -0.4740745425224304, 0.09638234227895737, 0.5250452160835266, 0.09163833409547806, -0.22657042741775513, -0.39604270458221436, 0.056592874228954315, 0.35294026136398315, -0.22314906120300293, 0.1235597878...
How to disable source tab in Google Code? I don't want any random users to look at my code. Before you say that this can't be done, that Google Code is by default open source. [Someone managed to do it, somehow](http://code.google.com/p/cnprog/). **Edit: Before you downvote me further, take a look at the link I pro...
[ 0.6772322654724121, 0.02596268802881241, 0.25771549344062805, 0.007347216829657555, -0.09143881499767303, -0.33860111236572266, 0.698368489742279, 0.14387184381484985, -0.20311221480369568, -0.7272576093673706, -0.18148261308670044, 0.7356064915657043, -0.3614600598812103, -0.0538504645228...
It seems like this setting should be stored in the solution file so it's shared across all users and part of source code control. Since we don't check in the suo file, each user has to set this separately which seems strange. Why should it be a non-user-specific preference? If I've got a solution with 10 files in, and...
[ 0.1312761902809143, 0.0928497314453125, 0.1833827644586563, 0.2336619645357132, 0.23240414261817932, 0.25507473945617676, 0.18260879814624786, -0.1490086317062378, -0.2941603362560272, -0.6277884840965271, -0.16455751657485962, 0.3436998128890991, -0.12514591217041016, 0.12881411612033844,...
start.
[ 0.3099360167980194, 0.35996076464653015, -0.13595736026763916, -0.02843988686800003, -0.20132401585578918, -0.19979293644428253, 0.2079581767320633, 0.08682239055633545, -0.006088475231081247, -0.6897317171096802, -0.19254671037197113, 0.2523183524608612, 0.05092350021004677, 0.18020330369...
What Windows API functions are available to execute command prompt's functionality? For example, I like to execute dir command and want to show the output in GUI without using cmd.exe in Windows. You can start `cmd /c dir S:\ome\Path` from your process and grab the output. Otherwise it's not possible. But if you're not...
[ 0.2136135846376419, -0.2584472596645355, 0.2000628262758255, 0.0184753630310297, -0.04928702861070633, -0.018673282116651535, -0.02687734179198742, 0.13165612518787384, 0.04744258150458336, -0.746932327747345, 0.13541071116924286, 0.861266016960144, -0.4232052266597748, 0.03033055551350116...
I have a `Foo` entity in Entity Framework. But I'm making it inherit from `IFoo` so that my business logic only knows `IFoo` - thus abstracting Entity Framework away. The problem is that `Foo` has a collection of `Bar` entities. And this collection is of type `EntityCollection<Bar>` . If I put this collection in `IF...
[ 0.15471786260604858, 0.5555498003959656, 0.36906155943870544, -0.22899606823921204, 0.135415181517601, 0.05942355468869209, -0.06463775783777237, -0.18834178149700165, -0.07202623784542084, -0.33230793476104736, 0.2352602779865265, 0.48083409667015076, -0.6022249460220337, 0.47787374258041...
collection from `EntityCollection<Bar>` to `ICollection<IBar>` there. But I dread the thought of the implications this will have on Entity Framework "behind the scenes". Is there any way for me to define `IFoo` and `IBar` independently of Entity Framework while still maintaining `Foo` and `Bar` as EF Entities that imp...
[ 0.3069859445095062, 0.15530610084533691, -0.016688385978341103, -0.09664740413427353, -0.05510396510362625, -0.1760615110397339, 0.20576371252536774, -0.17324422299861908, -0.23061975836753845, -0.21287140250205994, 0.02537769451737404, 0.5994009971618652, -0.3744572401046753, 0.0566046871...