text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
I need to get a backup dump of a large (~8gb) svn repository. My current method involves using `svnadmin dump` to a file and then using 7-Zip to compress and split the file. ``` > svnadmin dump c:\path\to\myrepo > c:\svndump.svn > 7z svndump.svn svndump.7z // or whatever the correct syntax is ``` I was wonderin...
[ 0.16361713409423828, -0.0894942581653595, 0.43518590927124023, -0.10550800710916519, 0.1122238039970398, -0.01473536342382431, 0.023441016674041748, -0.28429239988327026, -0.35657817125320435, -0.5719482898712158, -0.42417532205581665, 0.6290833353996277, -0.29239481687545776, 0.2433238774...
[`7z` command line can read from standard input using the `-si` switch](http://pwet.fr/man/linux/commandes/7z). ``` svnadmin dump c:\path\to\myrepo | 7z a -si svndump.7z ```
[ -0.23122069239616394, 0.09905057400465012, 0.4810433089733124, -0.01759212277829647, 0.3181842565536499, 0.09170341491699219, 0.2647380232810974, 0.20313891768455505, -0.3615413308143616, -0.46280398964881897, -0.6389189958572388, 0.8881298899650574, -0.321278840303421, -0.0305419247597455...
I came across lot of flags while reading someone else code, ``` if (condition1) var1 = true else var1 = false ``` then later, ``` if (var1 == true) // do something. ``` There are lot of flags like this. I eager to know, is using flags very often in code advisable? This: ``` if (condition1) var1= ...
[ 0.3737689256668091, 0.2130841612815857, -0.2669523358345032, 0.3809494376182556, -0.1917780190706253, -0.38461732864379883, 0.6900937557220459, -0.2625141739845276, -0.2679632902145386, -0.4814673662185669, 0.13876990973949432, 0.31537994742393494, -0.24571290612220764, -0.0579948313534259...
I'm a newbie to programming. I had 1 semester of computer science (we used java). I got an A in the course and was able to do everything assigned, however I'm not sure I really understood it. I ignored the text and learned by looking at sample programs and then trial and error. I was ahead of the class except for two g...
[ 0.6213556528091431, 0.27977073192596436, -0.27187880873680115, -0.05121427774429321, 0.2200620025396347, 0.07772389054298401, 0.07766144722700119, 0.530008852481842, -0.28401872515678406, -0.5586970448493958, 0.20194828510284424, 0.6609293222427368, 0.09893446415662766, -0.1984078288078308...
computers. Thats my motivation. Now on learning python are there any good programming theory books that would be useful? Or should I read up on more on how computers operate on the lowest levels? I don't think I know enough to ask the question I want. I guess to make it simple, I am asking what should I know to make...
[ 0.2803260385990143, 0.15747347474098206, -0.30108973383903503, 0.3034479022026062, 0.05990145355463028, -0.11041814833879471, 0.27109494805336, 0.6221968531608582, -0.4953653812408447, -0.4838690757751465, 0.13708719611167908, 0.66871178150177, -0.11006669700145721, -0.08672239631414413, ...
to learn in "30 days" or "1 week" or whatever. So, starting from a very basic level is fine with me. Thanks in advance. I did a search and didn't quite find what I was looking for. UPDATE: Thanks for all the great advice. I found this site at work and couldn't find it on my home computer, so I am just getting to re...
[ 0.3395398259162903, -0.06681481748819351, -0.08719920367002487, 0.39778295159339905, 0.08071428537368774, -0.33522850275039673, 0.39846253395080566, 0.20778702199459076, -0.055874329060316086, -0.649324893951416, 0.1907973736524582, 0.6205165386199951, 0.2995593547821045, -0.06921976059675...
but it's cool stuff that makes a *lot* more sense once you've messed around at the higher levels. Python is therefore an excellent choice as a learning aid. [How to Think Like A Computer Scientist: Learning With Python](http://www.greenteapress.com/thinkpython/thinkCSpy/) is available on the Internet and is an excelle...
[ 0.32987627387046814, -0.06966796517372131, -0.30669382214546204, 0.27457237243652344, 0.06991033256053925, -0.3151353895664215, 0.009284848347306252, 0.35077130794525146, -0.3364788293838501, -0.4001224935054779, 0.0708472952246666, 0.5436123609542847, 0.06510425359010696, -0.4838887751102...
details like memory structures or what a CPU actually does, but that's something I would reserve for later anyway. D'A
[ 0.37802278995513916, 0.17166940867900848, -0.03834650292992592, 0.2741594612598419, -0.08793355524539948, -0.07656018435955048, -0.19088144600391388, 0.22256861627101898, -0.11357466876506805, -0.7101121544837952, -0.06183328479528427, 0.25274068117141724, 0.45841947197914124, -0.039149042...
I wonder, why SqlDateTime.MinValue is not the same as DateTime.MinValue? I think the difference between SQL's and .NET's *Date* data types stems from the fact that SQL Server's *datetime* data type, it's minimum and maximum values, and it's precision are much older than .NET's DateTime datatype. With the advent of .NE...
[ 0.04381300136446953, -0.1581660956144333, 0.5351372957229614, 0.030637137591838837, -0.1828063279390335, -0.07758849114179611, -0.1122090294957161, 0.054773908108472824, -0.18334035575389862, -0.5884041786193848, 0.1164107546210289, 0.352868914604187, -0.15124471485614777, 0.41019970178604...
[DateTime2](http://msdn.microsoft.com/en-us/library/bb677335.aspx), [DateTimeOffset](http://msdn.microsoft.com/en-us/library/bb630289.aspx)) that actually do offer an increased range and precision, and closely map to the DateTime datatype in .NET. For example, the DateTime2 data type has a date range from 0001-01-01 th...
[ 0.08356017619371414, -0.27487653493881226, 0.2517968416213989, -0.11249224096536636, -0.20966599881649017, 0.11029765754938126, -0.05370735377073288, 0.18124282360076904, -0.4557918608188629, -0.7037405967712402, -0.02124354988336563, 0.025602789595723152, -0.13725018501281738, 0.350623488...
Caesar and the Gregorian calendar of Pope Gregory XIII. The two calendars differ with respect to only one rule: the rule for deciding what a leap year is. In the Julian calendar, all years divisible by four are leap years. In the Gregorian calendar, all years divisible by four are leap years, except that years divisibl...
[ 0.11191557347774506, 0.11298266798257828, 0.23746411502361298, -0.2234194576740265, 0.08387897908687592, 0.5667747855186462, 0.41381096839904785, 0.2595497965812683, -0.6837676763534546, -0.2942698895931244, -0.07804322987794876, 0.14336638152599335, -0.08203209936618805, 0.439698994159698...
> When Pope Gregory XIII introduced his calendar in 1582, he also directed that the days between October 4, 1582, and October 15, 1582, should be skipped—that is, he said that the day after October 4 should be October 15. Many countries delayed changing over, though. England and her colonies didn't switch from Julian t...
[ -0.020346254110336304, -0.008713877759873867, 0.46819621324539185, -0.035385992377996445, -0.25376832485198975, 0.11878597736358643, 0.5010313987731934, 0.4278121292591095, -0.6752818822860718, -0.4450119733810425, 0.1438903659582138, -0.023335542529821396, -0.7087369561195374, 0.603047490...
date arithmetic when one goes back many years. The first is, should leap years before the switch be calculated according to the Julian or the Gregorian rules? The second problem is, when and how should the skipped days be handled? > > > This is how the Big Eight DBMSs handle these questions: > > > * Pretend there w...
[ 0.11338313668966293, -0.0788983702659607, 0.1810823678970337, 0.1626724749803543, 0.07644964754581451, -0.08482133597135544, 0.06742924451828003, -0.05824912711977959, -0.32416579127311707, -0.2772654891014099, 0.028881311416625977, 0.20312076807022095, -0.11838819086551666, 0.053371418267...
DB2 chose. When there is a pretence that a single calendar's rules have always applied even to times when nobody heard of the calendar, the technical term is that a "proleptic" calendar is in force. So, for example, we could say that DB2 follows a proleptic Gregorian calendar. > * Avoid the problem entirely. **Microsof...
[ 0.21149522066116333, -0.18612788617610931, 0.274518221616745, -0.15370574593544006, -0.21304385364055634, -0.5595496892929077, 0.5974942445755005, -0.03370077535510063, -0.1710769385099411, -0.34555214643478394, 0.024710210040211678, -0.05348990857601166, -0.3551821708679199, 0.23677070438...
Standard requires.** > * Pick 1582. This is what Oracle did. An Oracle user would find that the date-arithmetic expression October 15 1582 minus October 4 1582 yields a value of 1 day (because October 5–14 don't exist) and that the date February 29 1300 is valid (because the Julian leap-year rule applies). Why did Orac...
[ 0.32570406794548035, 0.03641175106167793, 0.3839595913887024, 0.2949357032775879, -0.13080860674381256, -0.38496318459510803, 0.1756814420223236, -0.19690026342868805, -0.17420518398284912, 0.0006377228419296443, 0.1010577380657196, 0.2354852855205536, 0.03518236055970192, 0.10899394005537...
the GregorianCalendar class for Java—despite the name, GregorianCalendar is a hybrid calendar.) This above quotation from taken from the following link: [SQL Performance Tuning: Dates in SQL](http://www.informit.com/articles/article.aspx?p=30939)
[ 0.14026394486427307, -0.21227292716503143, 0.43115466833114624, 0.03079986199736595, -0.24076679348945618, -0.042181629687547684, 0.18333537876605988, 0.05865444242954254, -0.058406490832567215, -0.34055861830711365, -0.03994867205619812, 0.2085505723953247, 0.047823287546634674, 0.0404178...
for a current webapp i need a "outlook-like" calendar... Here are some requirements for the calendar: * week-view for the appointments * different appointment types * direct display of the length and time of the date (like in googleCalendar) * multiple appointments for the same time * only using javascript, php and an...
[ 0.4658357799053192, -0.11339552700519562, 0.7294630408287048, 0.2669159173965454, -0.03642655909061432, -0.2293575406074524, 0.05347009003162384, 0.07810405641794205, -0.2499021291732788, -0.9098916053771973, 0.401652991771698, 0.6141484379768372, -0.05382106080651283, -0.00885824020951986...
a time sink, and non-trivial to write. If you need to ask for tips you'd be better off with an existing library component like you'll find in jQuery, dojo, etc.. This question has been asked many times here, links abound on other questions. * [Best JavaScript Calendar control](https://stackoverflow.com/questions/1140...
[ -0.11919498443603516, -0.008072364144027233, 0.24564698338508606, 0.11685578525066376, -0.18106558918952942, -0.09445752203464508, -0.09636928141117096, 0.040882617235183716, -0.119674451649189, -0.6621695756912231, 0.04973349720239639, 0.5434219837188721, 0.1310192048549652, -0.3604244887...
We're using MySQL with InnoDB storage engine and transactions a lot, and we've run into a problem: we need a nice way to emulate Oracle's SEQUENCEs in MySQL. The requirements are: - concurrency support - transaction safety - max performance (meaning minimizing locks and deadlocks) We don't care if some of the value...
[ 0.17832092940807343, 0.06269050389528275, 0.07438574731349945, 0.45476481318473816, 0.03743403032422066, -0.090018630027771, 0.014588553458452225, -0.13633131980895996, -0.24856026470661163, -0.3728893995285034, 0.30806705355644226, 0.5749580264091492, -0.2156263142824173, 0.09267722815275...
table with manual locks, any other ideas or best practices? If auto-increment isn't good enough for your needs, you can create a atomic sequence mechanism with *n* named sequences like this: Create a table to store your sequences: ``` CREATE TABLE sequence ( seq_name varchar(20) unique not null, seq_current int u...
[ -0.03135698661208153, 0.07682611793279648, 0.4838811159133911, -0.06720096617937088, 0.14490877091884613, -0.019894428551197052, -0.02416854538023472, -0.3291335701942444, -0.34889426827430725, -0.5036083459854126, -0.04005923494696617, 0.5788724422454834, -0.4425238072872162, -0.017139425...
variable @next is actually defined when the select happens.
[ -0.11923256516456604, -0.8641743063926697, 0.4578905701637268, 0.11273790895938873, -0.010069791227579117, -0.36804327368736267, -0.16612215340137482, -0.0022549049463123083, 0.01733316481113434, -0.5094374418258667, 0.138722226023674, 0.5618423819541931, -0.04955124482512474, 0.1173546910...
How do you insert data into a MySQL date or time column using PHP mysqli and bind\_param? Like any other string ``` $stmt = $mysqli->prepare('insert into foo (dt) values (?)'); $dt = '2009-04-30 10:09:00'; $stmt->bind_param('s', $dt); $stmt->execute(); ```
[ 0.19407005608081818, -0.23230046033859253, 0.2848553955554962, -0.1061558797955513, 0.38627466559410095, 0.08821828663349152, 0.09528126567602158, -0.4840167164802551, -0.08554474264383316, -0.19057412445545197, -0.14336994290351868, 0.06465678662061691, -0.14118742942810059, -0.1808497905...
I have the following code to let the GUI respond to a change in the collection. ``` myObservableCollection.CollectionChanged += ((sender, e) => UpdateMyUI()); ``` First of all is this a good way to do this? Second: what's the code to unsubscribe from this event? Is it the same but with -= (and then the complete ano...
[ 0.03678235039114952, 0.008449884131550789, 0.41725030541419983, 0.06836273521184921, -0.08426912873983383, -0.3788926601409912, 0.14924180507659912, -0.10872465372085571, -0.3445184528827667, -0.6536656618118286, 0.06951883435249329, 0.7070351839065552, -0.4780947268009186, 0.3202243447303...
I'm trying to use RhinoMock for mocking out a wcf service. Say I have the following service: ``` [OperationContract] List<User> SearchUsers(UserSearchFilter filter); ``` Adding this service with Visual Studio will generate a proxy, and that proxy has a Interface like: ``` public interface ResourceService ...
[ 0.15219265222549438, 0.11218719184398651, 0.42574357986450195, -0.08843809366226196, -0.20382528007030487, 0.20155395567417145, 0.31590038537979126, -0.12857478857040405, -0.31738197803497314, -0.7378433346748352, 0.10559580475091934, 0.5963453054428101, -0.3603774905204773, 0.178951144218...
= serv; var filter = new UserSearchFilter(); service.BeginSearchUsers(filter, a => { this.Users = service.EndSearchUsers(a); }, null); } ``` Then comes the question. How do I mock this service using RhinoMock? ``` [TestMethod] public void UserGetsPopulated...
[ 0.18698790669441223, 0.05270444229245186, 0.4819084107875824, -0.18968833982944489, -0.16745010018348694, 0.15908727049827576, 0.5671496987342834, -0.30492180585861206, -0.12669821083545685, -0.5210082530975342, 0.1043611466884613, 0.5234580636024475, -0.18904070556163788, 0.21738949418067...
right thing to use? ResourceService serv = MockRepository.GenerateStub<ResourceService>(); // Do some setup... Don't know how? var vm = new ViewModel(serv); Assert.IsTrue(vm.Users.Count > 0); } ``` I be really happy if someone could help me with the correct usage of RhinoMock (N...
[ 0.4188394546508789, 0.13196739554405212, 0.5776961445808411, 0.02490120753645897, 0.17880971729755402, -0.2329949140548706, 0.17131313681602478, -0.49936699867248535, -0.1498810201883316, -0.4557340443134308, 0.17752473056316376, 0.6666005849838257, 0.10318350046873093, -0.0815433189272880...
about mocking out the service using RhinoMocks [Part 3](http://www.houseofbilz.com/archive/2008/12/19/testing-wcf-service-apps-part-3-of-4.aspx) talks about mocking out an asynchronous service using Moq Note that part 3 can be translated over to RhinoMocks very easily. I was just trying to show different mocking fram...
[ 0.2067677229642868, 0.45193445682525635, 0.04065390303730965, -0.11136075854301453, -0.45196637511253357, 0.20151925086975098, 0.6398487687110901, -0.3038387894630432, -0.26431334018707275, -0.28771552443504333, 0.13147111237049103, 0.6034881472587585, -0.2053341418504715, 0.10278720408678...
I'm using session-based cookies with my website. To my complete surprise, I noticed if I set a session cookie (not a persistent cookie), close a tab, and then reconnect to the site, the session cookies are still there. That's not what I would have expected, actually. I would have expected the session cookies to be dele...
[ 0.265581339597702, 0.061468008905649185, 0.11835397779941559, -0.004897384904325008, -0.3371776044368744, -0.05310901254415512, 0.5223259925842285, 0.2566970884799957, -0.5278424024581909, -0.6576647758483887, 0.035748932510614395, 0.7888741493225098, -0.13524802029132843, 0.13926054537296...
issue? Unfortunately the onbeforeunload event on the BODY tag is not useful here because when you click away from a page it fires that event, not just closing a tab. The session cookie is per-process not per window. So even if you selected New Window you'd still get the same session id. This behavior makes sense. You w...
[ 0.5243611335754395, 0.16030049324035645, 0.41588306427001953, 0.11344462633132935, -0.28440529108047485, -0.26163235306739807, 0.4021984934806824, 0.0019202041439712048, -0.5010955929756165, -0.4891321659088135, 0.3605823516845703, 0.4815444052219391, -0.21937334537506104, 0.15230946242809...
I'm on a foreign linux system and need to determine the user that apache runs on (and so does php). The aim: I need to get the owner of the script (this is no problem as I can use SplFileInfo) and compare it to the owner of the apache process. I'm open to any alternative proposals. Regards, Mario Edit: Additional ...
[ 0.36837804317474365, 0.21664007008075714, 0.4955504536628723, 0.22671642899513245, 0.11758243292570114, -0.2483397275209427, 0.27281510829925537, 0.17942847311496735, 0.0836016982793808, -0.4402047097682953, 0.2868881821632385, 0.4708288311958313, 0.06126944348216057, -0.1836359202861786, ...
very silently. The creation process stopps via exception and sends a mail on failue. As most of php's function cannot throw exceptions on failue, I need some manual checks to determine the environment I'm in. Therefore I need the apache user to compare it to some directory or fileowner. You can call the php [exec](htt...
[ 0.4836200177669525, 0.35656633973121643, 0.050759244710206985, -0.21359218657016754, -0.22727428376674652, 0.04392753541469574, 0.8939645290374756, -0.05558167025446892, -0.2511603832244873, -0.36789101362228394, -0.0898112952709198, 0.23440207540988922, -0.30437347292900085, 0.00689678313...
is there a way to connect the iPhone with Sharepoint? I wonder, if it is possible to implement the HTTP or WEBDAV protocol of Sharepoint in Cocoa/Objective-C. Regards What exactly are you trying to achieve? HTTP is HTTP, whether it's Sharepoint or not. You can access the mobile version of your Sharepoint site using M...
[ 0.24307149648666382, 0.22591668367385864, 0.3969217538833618, 0.1218024417757988, 0.22866596281528473, 0.19044175744056702, 0.34881851077079773, 0.12226733565330505, -0.3660385012626648, -0.5821481347084045, 0.2085321545600891, 0.5695180296897888, -0.31295695900917053, -0.24216563999652863...
client is perfectly possible (in fact I know several apps use WEBDAV to allow using the iPhone as portable storage), but would you *really* want to be downloading/editing/uploading documents on your iPhone? You could potentially do something involving the Sharepoint web services, and build a custom interface around th...
[ 0.31017330288887024, -0.04490046575665474, 0.254792720079422, 0.11472171545028687, -0.018012752756476402, -0.08376370370388031, 0.13902543485164642, 0.23047062754631042, -0.41242262721061707, -0.7473976612091064, 0.048046279698610306, 0.8026136755943298, -0.09191933274269104, -0.0622160658...
Since my question from [yesterday](https://stackoverflow.com/questions/802011/size-of-generic-type) was perhaps not completely clear and I did not get the answer I wanted, I will try to formulate it in a more general way: Is there a way to implement special behaviour based on the actual type of an instantiated generic...
[ -0.2285664975643158, -0.22831326723098755, 0.27467629313468933, -0.1595648229122162, -0.22472307085990906, 0.009423471987247467, 0.33527857065200806, -0.31815049052238464, -0.21869885921478271, -0.2053566724061966, -0.37027618288993835, 0.3817005455493927, -0.4681113362312317, 0.1776900589...
0; end; ``` You can fall back to RTTI, by using `TypeInfo(T) = TypeInfo(string)`. To test to see if something is a class, you could use something like `PTypeInfo(TypeInfo(T))^.Kind = tkClass`. The `PTypeInfo` type and `tkClass` enumeration member are defined in the `TypInfo` unit.
[ 0.2118864357471466, -0.46091702580451965, 0.22222307324409485, -0.21157127618789673, -0.01562370453029871, -0.06686040014028549, 0.11250131577253342, -0.2547456920146942, 0.08994576334953308, -0.44187530875205994, -0.08382691442966461, 0.5568527579307556, -0.552482008934021, 0.084758765995...
i have form action file in another directory but some file send to this action file and how to get url to send action <http://www.test.com> ``` -> action to http://www.123456.com/ac.php how to get http://www.test.com in http://www.123456.com/ac.php to goback http://www.test.com ``` You could store the `$_SEVER["HTT...
[ 0.6692119836807251, -0.0691724643111229, 0.09191545099020004, 0.034036118537187576, -0.20588380098342896, 0.27538371086120605, 0.25019070506095886, -0.6210514307022095, -0.08350257575511932, -0.42382416129112244, 0.0984744057059288, 0.6532196998596191, -0.226350337266922, -0.01220091804862...
I have some data in an Excel Worksheet. I would like to select all the cells which contain data. For example, for a worksheet with data in cells A1, A2, A3, B1, B2, B3, C1, C2, and C3, how can I select just this 3x3 grid, and not the entire sheet? I am looking for something like `ActiveSheet.SelectUsedCells`. Here yo...
[ 0.12472448498010635, 0.014282362535595894, 0.20527763664722443, 0.01763431541621685, 0.21127144992351532, 0.16538889706134796, 0.007941718213260174, -0.42216745018959045, -0.12872463464736938, -0.5570281147956848, -0.3067440390586853, -0.02284976653754711, -0.44995421171188354, -0.16244149...
If I define an property and just do: ``` @property(nonatomic) UIButton* button; ``` then I think that it's an "assign" property. Is that correct? yes it is.
[ 0.22565148770809174, 0.13196924328804016, 0.2514297366142273, -0.024039950221776962, 0.1008882150053978, -0.25563284754753113, -0.15771783888339996, -0.01119057647883892, 0.08155743032693863, -0.6736090183258057, -0.3003571629524231, 0.5605526566505432, -0.2541055977344513, 0.2046471536159...
Is it possible to create a Visual Studio item template that generates from a T4 template? My google-fu does not seem powerful enough to yield an answer! Yes, you need to use [GAX](http://msdn.microsoft.com/en-us/teamsystem/aa718948.aspx) for that. It has a (rather limited implementation of) custom T4 host that allows ...
[ 0.38845083117485046, 0.0045454674400389194, -0.07718269526958466, 0.39825090765953064, -0.21546576917171478, -0.07910081744194031, 0.2858024537563324, -0.044681791216135025, -0.1329275220632553, -0.6433646082878113, -0.11325739324092865, 0.49792787432670593, -0.3373512029647827, -0.2252461...
Apparently in version 2 of JAXB - the validator class has been deprecated - does this mean the marshaller is automatically validating your XML? If so it doesn't seem to be complaining about some of the incorrect XML I am forming! Can anyone give me some advice on how I can validate marshalled XML to make sure it confor...
[ 0.5979364514350891, 0.33600741624832153, 0.694359540939331, 0.13698256015777588, -0.2532344460487366, -0.268522709608078, 0.12518379092216492, -0.5490050911903381, -0.17831924557685852, -0.4540639817714691, -0.0656542107462883, 0.41900286078453064, -0.0630049929022789, -0.00737964781001210...
pass null into `setSchema`, it disables validation. Please check [this reference](http://download.oracle.com/javaee/5/api/javax/xml/bind/Unmarshaller.html).
[ 0.22051826119422913, -0.07776554673910141, 0.019010277464985847, 0.012499152682721615, -0.1931372582912445, -0.35435447096824646, 0.5375634431838989, -0.3707566559314728, -0.2545245885848999, -0.2757335603237152, -0.40694284439086914, 0.16317114233970642, -0.6375351548194885, 0.14697404205...
Is there any setting in Coda, or hackable solution, to get the JavaScript Console log to automatically clear itself after page reload? I often stumble when I see old errors in the log, that doesn't still exist. Use: ``` console.clear(); ``` If you want to erase all the previous logs and to show the fresh ones - put...
[ 0.15175361931324005, 0.17679612338542938, 0.292184054851532, -0.05659058690071106, 0.030665716156363487, -0.4453483521938324, 0.054299961775541306, 0.27959907054901123, -0.05590391904115677, -0.7976504564285278, -0.20104104280471802, 0.6472527980804443, -0.315265029668808, -0.0970804914832...
Note that I'm not talking about the compiler-generated "Temporary ASP.NET Files". My web application (ASP.NET MVC) uses Graphviz to generate images that are then fed to the client. This requires the creation of temporary files. What's the best way to deal with these? Is there a way to delete them immediately after th...
[ 0.3790431618690491, -0.21113888919353485, 0.6914354562759399, 0.10849817097187042, -0.0969320759177208, -0.09394589811563492, 0.11529133468866348, 0.10698553174734116, -0.6515439748764038, -0.6563436985015869, 0.12576048076152802, 0.1914920061826706, -0.2625911235809326, 0.1575202643871307...
in c# what does exactly happen in the background when you do a comparison with the "==" operator on two objects? does it just compare the addresses? or does it something like Equals() or CompareTo() ? PS: what about the "==" operator in java? does it behave the same? As far as I know: * it compares value types by val...
[ -0.02390049770474434, -0.11460255086421967, 0.04799434170126915, -0.14540515840053558, -0.2807137072086334, -0.13339197635650635, 0.08924529701471329, -0.2087700366973877, -0.025376996025443077, -0.6295335292816162, 0.019390476867556572, 0.6472657918930054, -0.622205913066864, -0.398835152...
So by default, Equals and == do the same. I think in java you cannot overload the == operator. But my Java knowledge is pretty outdated. **Edit:** Note that the `==` operator is a static method. It is bound at compile time, base on the types of your variables or fields. `Equals` is a virtual method that is found at r...
[ -0.017046261578798294, -0.08338050544261932, 0.189645916223526, 0.03515668213367462, -0.11726348847150803, -0.3335881233215332, 0.11815023422241211, 0.10401712357997894, 0.02316362038254738, -0.6184080839157104, 0.054548561573028564, 0.5005348324775696, -0.46629461646080017, 0.016431642696...
I am developing a applicatin which are having more than 5000 users once upon time. I using ASP.NET 3.5 framework for developement. I want to develope a high performance DAL Layer using latest technolgies like linq,ADO.NET Entity,ADO.NET Data services. I also want to make sure that it shuld be generic to all the future ...
[ 0.035788122564554214, -0.013623099774122238, 0.3496035635471344, -0.0985746905207634, -0.22071947157382965, -0.022180277854204178, -0.2491527944803238, -0.21659895777702332, -0.045698653906583786, -0.6310482621192932, -0.0033462410792708397, 0.3522287607192993, -0.16278472542762756, -0.045...
writing your own DAL. Only you know your non-functional requirements around perf and whether you're optimizing for reads, updates or something else, so write some tests, prototype, and see how it goes. My personaly opinion is that Microsoft Ent Lib and perf aren't best buddies, but again you should prototype and prove...
[ 0.5299071073532104, -0.26624375581741333, 0.2439124584197998, 0.19745983183383942, -0.5846726894378662, -0.07585790008306503, -0.17581376433372498, 0.05011039599776268, 0.11258769780397415, -0.7100690007209778, 0.17043796181678772, 0.48401162028312683, 0.07612763345241547, -0.3205055892467...
I'm reading an xml file and want to make it from a relative directory based on the location of the application, similar to ASP.NET with Server.MapPath or using the tilda. How can you get the relative path in WPF? ``` WORKS: XDocument xmlDoc = XDocument.Load(@"c:\testdata\customers.xml"); DOES NOT WORK: XDocument xmlD...
[ 0.09480487555265427, -0.1030755564570427, 0.5783872604370117, 0.09606156498193741, 0.04352979362010956, -0.14556750655174255, -0.07585277408361435, -0.14321354031562805, -0.14459918439388275, -0.7712147831916809, -0.08953098207712173, 0.6177922487258911, -0.19846102595329285, 0.09472944587...
I want to create some sort of global error handling in my Flex application. What is the best approach for this? Right now there isn't a way to do this. So please go vote for this feature request: <http://bugs.adobe.com/jira/browse/FP-1499>
[ 0.2461870312690735, 0.03574329987168312, 0.15475720167160034, 0.24172639846801758, -0.0822739526629448, -0.09645125269889832, 0.3056955337524414, 0.17731131613254547, -0.39297065138816833, -0.6358020305633545, -0.1043408215045929, 0.4710257947444916, -0.3160706162452698, 0.0068810023367404...
I want to get the difference between two sets of ints in c#. Given s1 and s2 I want to return those ints which are in s1 and not in s2. I can do something such as: ``` List<int> s1 = new List<int>(); List<int> s2 = new List<int>(); foreach (int i in s1) { if (s1.Contains(i)) { ...
[ 0.050118304789066315, -0.09436395764350891, 0.33654144406318665, -0.4225037395954132, 0.03618676960468292, 0.012261951342225075, 0.23259636759757996, -0.5319401621818542, -0.07552383840084076, -0.6429259181022644, -0.30229103565216064, 0.5630568861961365, -0.31913983821868896, -0.065902039...
} else { // } } ``` But I was wondering if anyone can point out anything cleaner. I would like to do something such as ``` List<int> omitted = s1.Difference(s2); ``` Not sure if there is an existing method or a LINQ construct that anyone might be able to point out? Thank yo...
[ 0.18723224103450775, 0.16909123957157135, 0.1856105476617813, 0.0713958740234375, -0.009200848639011383, -0.15776558220386505, 0.09279225766658783, 0.022628415375947952, -0.43599987030029297, -0.5911917090415955, -0.08942268043756485, 0.29026684165000916, -0.21824513375759125, -0.065888434...
operation is available. This is a better type if what you are representing is really a 'set' anyway. (If you already have a list, you can just create a 'new HashSet' out of it.)
[ -0.2117394506931305, -0.31997349858283997, 0.225438192486763, -0.14015445113182068, 0.08146903663873672, -0.027382943779230118, 0.021304508671164513, -0.0561487153172493, -0.5371012091636658, -0.6866644024848938, -0.5644910335540771, 0.38026905059814453, -0.4365745484828949, -0.14769253134...
I'm considering spending time learning and using LINQ to SQL but after years of best practices advising NOT to embed SQL I'm having a hard time changing paradigms. Why does it seem accepted now to embed queries in compiled code? It seems almost a step backwards to me in some ways. Has anyone had issues with fix query...
[ 0.2102089524269104, 0.2890963852405548, 0.2403401881456375, 0.2874739170074463, -0.25719234347343445, -0.3276043236255646, 0.11503578722476959, 0.10412098467350006, -0.2049388587474823, -0.4857540428638458, 0.36429068446159363, 0.6532489061355591, -0.11827537417411804, -0.03541121631860733...
that your .Net code actually has the logic required to build the Sql statement embedded, not the raw Sql. It really makes a lot of sense to have .Net code that converts directly to the Sql to execute, rather than a long list of sprocs with associated documentation. The Linq way is much easier to maintain and improve. ...
[ 0.628646731376648, 0.26707231998443604, -0.0017298187594860792, 0.42569953203201294, -0.013042071834206581, -0.17055509984493256, -0.02130882628262043, 0.06496453285217285, -0.06222233176231384, -0.3438582122325897, 0.0812622681260109, 0.6499046683311462, -0.13389094173908234, 0.1420981585...
to be far too high for any potential gains. Linq to Sql's real power is in quickly creating new applications - it allows you to very rapidly create the data-layer code.
[ 0.1320449411869049, 0.20311878621578217, 0.5101710557937622, 0.29896125197410583, -0.04331318661570549, -0.4032929539680481, -0.2495705634355545, 0.02565239928662777, -0.08509457856416702, -0.34153884649276733, 0.07664765417575836, 0.41167378425598145, -0.06820720434188843, 0.0132014816626...
I am connecting to an XML back-end to create different "pages" for a flash website. (I know.) And I'm wondering if there is a way to programatically generate a background that will automatically be the correct height for the content within each "page". My background is in the form of a seamless tiled graphic. Is this e...
[ 0.5288083553314209, 0.25936266779899597, 0.34849852323532104, 0.20415107905864716, -0.054327864199876785, 0.037646301090717316, -0.22193647921085358, 0.0552331916987896, -0.36956092715263367, -0.9568673968315125, -0.032146308571100235, 0.3429018557071686, 0.04567384719848633, -0.0411825254...
the [beginBitmapFill()](http://livedocs.adobe.com/flash/9.0/main/00001895.html) method in the documentation. Goodluck!
[ 0.3318425714969635, 0.13031704723834991, 0.44028955698013306, -0.23891130089759827, 0.10636549443006516, -0.18749262392520905, 0.3890345096588135, -0.3100121319293976, -0.20078562200069427, -0.24220643937587738, -0.5011138916015625, 0.8311402201652527, -0.1118432879447937, -0.0964582562446...
I am just starting porting an application to ASP.net MVC and I have an object holding application state (it keeps track of certain processes running on the machine, starting and stopping as necessary and sending/receiving MSMQ message). Where should I keep this object? In my current application (based on HttpListener...
[ 0.37641122937202454, 0.17130514979362488, 0.3653583526611328, -0.1370050460100174, 0.06659337878227234, -0.0848236158490181, 0.3809317648410797, 0.059731755405664444, -0.46512600779533386, -0.7421181201934814, 0.0756867453455925, 0.4827743470668793, -0.15619170665740967, 0.5360148549079895...
by a stub for testing. The object needs to be made available to a number of controllers. Where should I store this object and how should I make it available to the controllers? I've never seen a case like this described in any ASP.net MVC examples I've seen. UPDATE: I guess I need to explain why I can't store this d...
[ 0.6269006133079529, -0.009043009020388126, 0.4941992461681366, 0.26941394805908203, -0.12754887342453003, -0.022110193967819214, -0.1297178417444229, 0.03809386491775513, -0.34896934032440186, -0.5851800441741943, 0.1139095202088356, 0.37212878465652466, -0.3567279577255249, 0.311614751815...
about the EngineManager. The process goes something like this: 1. The client POSTs an XML request to the server, giving the name of "engine" to be used, as well as a number of parameters describing the image. 2. The application checks the EngineManager to see if that engine is running. If not, it starts it. 3. The app...
[ 0.4663495719432831, -0.047053951770067215, 0.58894282579422, 0.22161388397216797, -0.02729117125272751, -0.1639903485774994, 0.03605334460735321, -0.09355970472097397, -0.20640945434570312, -0.45651325583457947, -0.2946023941040039, 0.8000669479370117, -0.2885560393333435, -0.0684514492750...
on the next request to that engine. 6. When the application shuts down, all engines are also shut down. There are several controllers that handle these requests, each doing a slightly different job. All of them need to communicate with the same EngineManager, as it also needs to, in certain situations synchronise acce...
[ 0.008163122460246086, 0.01245839148759842, 0.5348338484764099, 0.32660743594169617, -0.018582938238978386, -0.25296318531036377, 0.3535122871398926, -0.010439710691571236, -0.2901637852191925, -0.7351246476173401, -0.41001299023628235, 0.5115393400192261, -0.27991652488708496, 0.4654779732...
so make sure these issues don't affect you before you go down that route. In general I steer clear from Applciation state and store application data in a backend DB. As you don't want to go down this route application state may be OK for you.
[ 0.19962239265441895, 0.20308749377727509, 0.3958261013031006, 0.05614637956023216, -0.292603075504303, -0.1335924118757248, 0.7471359968185425, 0.1619604378938675, 0.16787807643413544, -0.5402199029922485, 0.04372182860970497, 0.5026987195014954, -0.11428418010473251, -0.010327085852622986...
In a string element tag the XML parser will get *confused* if it finds the following characters ' " < > & (i.e. lets say the name of company has been retrieved from a database field, and it looks like this: "Smith & Sons") The question is - how can you design your XSD to ignore these characters if found w...
[ 0.42808398604393005, 0.1684345304965973, 0.1139177531003952, 0.09562704712152481, -0.015157593414187431, -0.11288822442293167, 0.043182358145713806, -0.18605093657970428, 0.0013759395806118846, -0.18246665596961975, -0.20216886699199677, 0.1964901089668274, -0.677325427532196, 0.2745870649...
XML using improper means (namely: string concatenation). If you build your XML using proper means (an XML library of some sorts) these characters are replaced by their XML-escaped counterparts transparently and no parser will complain.
[ 0.08170953392982483, 0.13365675508975983, 0.08892247080802917, 0.438379168510437, -0.07592333108186722, -0.20002080500125885, 0.2318715751171112, -0.03503074869513512, 0.008007836528122425, -0.6734431982040405, -0.29313942790031433, 0.16844427585601807, -0.1947254091501236, -0.035882879048...
I have a Linq-to-SQL class, and I'd like to perform some pre-save validation before the record is persisted to the DB. In addition, once it has been saved, I'd like to have some post-save processing code. Similarly, when a record is deleted, I'd like to have pre- and post- methods that will be called, no matter from w...
[ 0.3582698404788971, 0.2272060513496399, 0.14126892387866974, -0.028633037582039833, 0.07889077812433243, -0.2618233859539032, 0.10617869347333908, -0.22949540615081787, 0.026630952954292297, -0.29260382056236267, -0.10539944469928741, 0.6639752984046936, -0.08227817714214325, 0.17242127656...
I don't see any hooks at all for post-processing. Am I missing something? Or can you recommend another way of achieving the intended effect? Thanks! For inserts: 1. Create a base class for your entities. 2. Add some virtual methods. 3. Override `DataContext.SubmitChanges`. 4. Call `DataContext.GetChangeSet()` and i...
[ 0.2922561764717102, -0.050706468522548676, 0.4407697021961212, 0.1842457801103592, -0.07717698812484741, -0.15771205723285675, 0.3200746774673462, 0.10027799010276794, -0.09685070812702179, -0.5827305912971497, -0.21425527334213257, 0.6714106202125549, -0.38747647404670715, -0.056370537728...
I'm having a bit of a weird problem to do with scope of variables. I've declared a variable in the following way: ``` public partial class MyClass: System.Web.UI.Page { protected static int MyGlobalVariable; protected void MyFunction() { MyGlobalVariable = 1; } } ``` And this works fine on t...
[ 0.2265491932630539, 0.11929216980934143, 0.5441936254501343, -0.09856903553009033, -0.07950416952371597, -0.25795823335647583, 0.4763202965259552, 0.3454102873802185, -0.21765290200710297, -0.7397629618644714, -0.061476804316043854, 0.22514939308166504, -0.2608181834220886, 0.6166306138038...
it would be set to 5. How can I set the variable so it's only accessible to the user who originally set it? If you declare `MyGlobalVariable` as static, then only one instance of it will exist for all instances of the class, so as you said, multiple users, on multiple instances of teh same page will be accessing the sa...
[ 0.08790086954832077, -0.18156765401363373, 0.5378189086914062, -0.04602654650807381, -0.11067035794258118, -0.007292791735380888, 0.24080654978752136, -0.016569562256336212, -0.23763129115104675, -0.47087597846984863, -0.1358947604894638, 0.5717187523841858, -0.25127482414245605, 0.4865915...
return ViewState["MyGlobalVariable"] != null ? Convert.ToInt32(ViewState["MyGlobalVariable"] : 0; } set { ViewState["MyGlobalVariable"] = value; } } ``` or ``` protected int MyGlobalVariable { get { return Session["MyGlobalVariable"] != null ? Convert.ToInt32(Session["MyGlobal...
[ -0.2740335762500763, -0.027422495186328888, 0.7385035753250122, 0.24998174607753754, 0.008131580427289009, -0.14412821829319, 0.43865132331848145, 0.09725034981966019, -0.10933922231197357, -0.5769203901290894, -0.578201174736023, 0.9421306252479553, -0.2368508279323578, 0.1019327566027641...
We have an application that can create e-books. This application has an export module that creates an AIR file but this can take a while (some books have 2500 pages). If we export we get the following error: ```none Thread was being aborted. Description: An unhandled exception occurred during the execution of the cur...
[ 0.37161484360694885, 0.42939940094947815, 0.43665480613708496, 0.2346513569355011, 0.02560495398938656, -0.43784192204475403, 0.41531312465667725, 0.0045692939311265945, -0.37007254362106323, -0.627464234828949, -0.11067050695419312, 0.40819185972213745, -0.3530043363571167, 0.365901619195...
can be identified using the exception stack trace below. Stack Trace: [ThreadAbortException: Thread was being aborted.] System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +501 System.Web.ApplicationStepManager.ResumeSteps(Exception error) +564 System.Web.HttpApplic...
[ -0.11850611865520477, 0.052728667855262756, 0.4009198844432831, -0.016875261440873146, -0.0066188182681798935, 0.17238160967826843, 0.5977769494056702, -0.2128589004278183, -0.471123069524765, -0.6705545783042908, -0.060470499098300934, 0.23437245190143585, -0.0745883360505104, 0.205511286...
request can take. For ASP.NET it's in the Machine.Config file (look for the httpRuntime element, executionTimeout attribute). It's set to 90 seconds on my development machine. I would however not advise you to change that setting as it's there to make sure your application doesn't hang on a bad request. Long running ...
[ 0.1503528207540512, -0.6534943580627441, 0.6552035808563232, 0.23265905678272247, -0.1673365980386734, -0.036237798631191254, 0.4235191345214844, -0.1640634685754776, -0.29753416776657104, -0.8714836239814758, -0.003589763306081295, 0.5436744093894958, 0.10059577226638794, -0.0812715142965...
<http://msdn.microsoft.com/en-us/magazine/cc163725.aspx>
[ -0.017489496618509293, 0.19805274903774261, -0.0585242323577404, 0.3294447660446167, 0.13599255681037903, -0.05012604221701622, 0.15628573298454285, 0.2932518422603607, -0.2425803244113922, -0.23442965745925903, -0.5849042534828186, 0.10573787242174149, 0.2294764667749405, 0.06552573293447...
I have a MySQL table with a column of well-formed URLs. I'd like to get a table of the unique domain names in the column, and the number of times each domain appears. Is there a MySQL query that can do this? I thought of doing something like... ``` SELECT COUNT(*) FROM log GROUP BY url REGEXP "/* regexp here */" ```...
[ 0.20893709361553192, 0.1742558777332306, 0.34925350546836853, 0.08789654076099396, -0.2729942202568054, 0.10934119671583176, 0.011072658002376556, -0.10755409300327301, -0.2736670970916748, -0.6074270606040955, 0.19548508524894714, 0.33730217814445496, -0.3630938231945038, 0.40898498892784...
can issue: ``` SELECT SUBSTRING_INDEX(url, '/', 3), COUNT(*) FROM log GROUP BY 1 ```
[ -0.10352056473493576, 0.16134299337863922, 0.5838921070098877, 0.05618666112422943, 0.1379503458738327, -0.08107961714267731, -0.0853375792503357, -0.43529847264289856, -0.10835099965333939, -0.1526932269334793, -0.4963523745536804, 0.46261560916900635, -0.29465487599372864, 0.169011175632...
We have a project with several applications including web applications, web services, windows services and windows applications. We also have prerequisites like SQL Server Express, .NET 2.0 and others. We don't have much user interaction during the setup but we want to add more intelligence to it. We are currently usi...
[ 0.4679170548915863, 0.029315389692783356, 0.08677636831998825, 0.4691593050956726, 0.288722962141037, -0.1975727677345276, -0.10719209909439087, -0.2138279676437378, 0.017752356827259064, -0.8883652091026306, 0.05403857305645943, 0.7995280623435974, -0.08185429126024246, -0.134626746177673...
sql scripts on the deployed system. Maybe this could be integrated with the setup. We are thinking about using InstallShield, but some say that it brings a lot of complexity. What do you think is the best tool for this job? Thanks! After reading these answers we ended up deciding to use Advanced Installer, it has the...
[ 0.2648293375968933, -0.11235368251800537, -0.023143386468291283, 0.30656471848487854, -0.023054592311382294, -0.3456363379955292, 0.3346058428287506, 0.10060787945985794, 0.1485031694173813, -0.5493836998939514, 0.2349187582731247, 0.6996006369590759, -0.14926661550998688, -0.1493915766477...
I have a web application inside where i need to check whether the user has sufficient permissions / roles/rights to access the page. I had set the users rights in a table with `USER_ID`, `ROLE_ID`. and when a user is logging in to the application, I will be reading the records for this user and the construct a string a...
[ 0.3942558169364929, 0.34267911314964294, 0.5521712303161621, 0.08292409777641296, 0.29563018679618835, -0.14139534533023834, 0.09076031297445297, -0.2090417891740799, -0.24956725537776947, -0.6757224202156067, 0.03015121817588806, 0.4732271730899811, -0.026359645649790764, 0.25134906172752...
whether accessing the session variable in every pages load would affect the performance. Is there any alternative way to solve this? You should see a net gain in performance. It will take some resource to load the session, but that will usually be much less than the resources required to retrieve a record from the dat...
[ 0.34147292375564575, 0.021399464458227158, 0.12472967803478241, 0.4947573244571686, 0.04793282598257065, -0.1696556806564331, 0.2553471028804779, -0.22356703877449036, -0.442782461643219, -0.5309540629386902, 0.10894625633955002, 0.7502434849739075, -0.01657063513994217, 0.0192969534546136...
then monitor to see where your bottlenecks really are.
[ 0.39836373925209045, -0.19973675906658173, 0.2714514136314392, 0.34253719449043274, 0.25477468967437744, -0.4742515981197357, 0.5817680358886719, 0.1445639580488205, -0.09248365461826324, -0.45278409123420715, 0.26504817605018616, 0.5998177528381348, 0.26189935207366943, -0.519401371479034...
I'm developing an user control in .NET 3.5. As reaction to some event, I would like to show a simple bubble containing a short text on this control, similar to the well-known system tray notification bubbles. I'm sure this is a very easy task, could you give me a quick hint? use [ToolTip](http://msdn.microsoft.com/en-u...
[ 0.15272051095962524, -0.12481595575809479, 0.6530517339706421, 0.0028059545438736677, 0.1513107866048813, -0.24800099432468414, 0.10024455934762955, 0.0848921537399292, -0.02502111904323101, -0.7889596819877625, -0.14926959574222565, 0.539422333240509, -0.3998505175113678, -0.1398265063762...
In my application i use this structure: **Controller -> Services -> Repositories** I create repositories + filters as dal layer. But i place validation methods (for required fields for example) in service layer. Is this correct? Or better will be if i replace validation in repository layer? And second question. In ...
[ 0.15709958970546722, 0.044103045016527176, 0.6275286078453064, 0.21985173225402832, -0.003290951019152999, -0.3510560989379883, 0.23680081963539124, -0.28780168294906616, -0.10496771335601807, -0.5538853406906128, -0.18536275625228882, 0.33323484659194946, -0.2957533597946167, -0.046215534...
I have a Windows app that embeds the IE WebBrowser control, and runs a local webserver to serve content it. The URLs I load in are only meaningful within the application, and not valid after the application exits. They're never visible to the user. They look like this: ``` http://127.0.0.1:1234/something.html ``` wh...
[ 0.48124316334724426, 0.30851665139198303, 0.5700148344039917, -0.10461129993200302, 0.1697552651166916, -0.3357536196708679, 0.5122829675674438, 0.16756609082221985, -0.04050136357545853, -0.7154475450515747, -0.20088890194892883, 0.2403077632188797, -0.28671497106552124, 0.222173213958740...
URLs polluting that dropdown? A little more information: I'm loading the URLs using `window.location.href = URL`, rather than via the `Navigate` method, so `navNoHistory` isn't an option (and I think that refers to the Back/Forward history anyway). I've also tried deleting the URLs after the fact using `IUrlHistorySt...
[ 0.13212458789348602, 0.14002640545368195, 0.6213593482971191, 0.1231132224202156, -0.14403466880321503, -0.1280389428138733, 0.33984872698783875, 0.27684956789016724, -0.15144628286361694, -0.5296242237091064, -0.15722331404685974, 0.24354267120361328, -0.2879909873008728, 0.45454108715057...
URL to the history until it's finished loading the document. By calling `IUrlHistoryStg::DeleteUrl()` later on, I can remove the URLs from the history. I'd still rather they didn't get there in the first place, though.
[ 0.382683128118515, 0.49216681718826294, 0.7811092138290405, 0.14449730515480042, 0.00048355996841564775, -0.5158275961875916, 0.24805530905723572, 0.4002067744731903, -0.12904813885688782, -0.6115543842315674, -0.5967054963111877, 0.31293293833732605, 0.07539406418800354, 0.487573146820068...
I'm looking for some alternatives to the following browsers for Windows: * [Internet Explorer](http://www.microsoft.com/ie) * [Firefox](http://www.getfirefox.com) * [Chrome](http://www.google.com/chrome) * [Safari](http://www.apple.com/safari) * [Opera](http://www.opera.com) In particular ones that are lightweight, *...
[ 0.42440369725227356, -0.009353604167699814, 0.2226068526506424, -0.05092897266149521, -0.4227464199066162, 0.01457800529897213, 0.0789390280842781, 0.1801767796278, -0.4161357879638672, -0.8431563973426819, 0.000132581073557958, 0.4408569931983948, -0.1474456489086151, -0.06483108550310135...
Consider two .net dlls. The first, "application.dll" contains the main business logic and data access code. The second, "webservice.dll" consists mostly of WebMethods that link to objects and methods with application.dll for the purpose of providing webservice calls to existing code. What changes (e.g. add new classes...
[ 0.3197290599346161, -0.33329588174819946, 0.3933146893978119, 0.2517027258872986, -0.33265048265457153, -0.3309533894062042, -0.12480096518993378, -0.10819101333618164, -0.05506075546145439, -0.8338377475738525, -0.12594692409038544, 0.38410887122154236, -0.4718371033668518, 0.123292364180...
of methods (that are used) * Changing public fields to properties (that are used) * Changing serialization internals if serialization is used * Adding a method to an interface, where the second dll has a type that implements that interface * Adding an abstract method to a base-class that is inherited in the second dll ...
[ -0.05968132242560387, -0.15196338295936584, 0.19789700210094452, 0.08253687620162964, -0.0518462248146534, -0.24924613535404205, 0.2218887060880661, -0.2079855054616928, -0.3633076846599579, -0.6932910084724426, -0.34865498542785645, 0.254285603761673, -0.4742303192615509, 0.13407145440578...
non-public)
[ 0.5852808952331543, 0.04196003079414368, -0.09800871461629868, -0.08209914714097977, 0.01652682013809681, 0.8887082934379578, 0.5033485293388367, 0.4591946601867676, -0.49005332589149475, 0.2103845179080963, -0.4728662371635437, 0.6457100510597229, -0.7451556921005249, 0.24063855409622192,...
We have been using SVN at my workplace for a few years now and we really haven't done any kind of maintenance on it besides updates and backups since we installed it. Is there anything else we should be doing to maintain SVN or is what we've done all we really need to do? See [Repository Maintenance](http://svnbook.red...
[ 0.3697270154953003, -0.05307769402861595, 0.35123008489608765, -0.0728607028722763, -0.11828359216451645, -0.6199137568473816, 0.6579233407974243, 0.1920425146818161, -0.11703450977802277, -0.5013994574546814, -0.1329517364501953, 0.6500242352485657, -0.23992875218391418, 0.029620911926031...
provides some helpful functionality to > assist you in performing such tasks as > > > * modifying commit log messages, > * removing dead transactions, > * recovering “wedged” repositories, and > * migrating repository contents to a different repository.
[ -0.014931739307940006, 0.015797093510627747, -0.07512976974248886, 0.3917733430862427, 0.2778856158256531, -0.1632845401763916, -0.029362842440605164, 0.18770453333854675, -0.4339004158973694, -0.528526782989502, -0.21689952909946442, 0.2194320112466812, -0.011556485667824745, 0.1627048552...
...what's next? After you defined what actors do what actions, which way do you go? Do you model the database or do you prefer to start with the classes? I thought the better approach was to start with a class-like modelling diagram, to focus on relationships between objects. This has proven to be wrong because I wen...
[ -0.08987200260162354, -0.38967055082321167, -0.19957083463668823, 0.3819401264190674, -0.035879913717508316, 0.24658003449440002, 0.16335457563400269, -0.1496378779411316, -0.19368146359920502, -0.629796028137207, 0.38989904522895813, 0.5911756157875061, -0.3588544726371765, 0.009957241825...
a database and leverage its speed in retrieving data, opposed to building large objects in memory that are queried and provide abstraction of the underlying database. I always thought that the db is there to store my data and provide a fast way to access it. But maybe I'm wrong, I mean, do I really have to build a data...
[ 0.1105075255036354, 0.2478671669960022, -0.34577521681785583, 0.5347916483879089, -0.03204978629946709, 0.07283126562833786, 0.5201219320297241, -0.06375028192996979, -0.028460312634706497, -0.6865196228027344, -0.11848435550928116, 0.2825184762477875, -0.03727814555168152, 0.2753340303897...
database I find it hard to not just think of it as a "place to store my data, let's do app logic on a higher level" thing, if I start with classes the database ends up looking like an unnatural representation of classes, i feel the sensation of missing something important, something like not assigning the right purpose...
[ 0.39960429072380066, 0.09899956732988358, -0.08443639427423477, 0.49025648832321167, -0.12270557135343552, 0.06195906922221184, 0.20663227140903473, 0.06636834144592285, -0.27822259068489075, -0.6033872365951538, 0.32267943024635315, 0.4509950578212738, -0.34803318977355957, 0.191761285066...
advance I've had success using [Robustness Analysis](http://www.ddj.com/architect/184414712). > This article focuses on robustness > analysis, which involves analyzing the > narrative text of use cases and > identifying a first-guess set of > objects that will participate in each > use case, then classifying thes...
[ -0.001992035424336791, 0.014250937849283218, 0.5488709211349487, -0.00010125212429556996, -0.004130425862967968, 0.26842594146728516, -0.1504712998867035, -0.6204369068145752, 0.27051427960395813, -0.531887412071228, 0.2029489427804947, 0.7935377955436707, -0.21655094623565674, -0.19665391...
serve as the "glue" between boundary > objects and entity objects.Figure 1 > shows the visual icons for these three > types of objects. The entity objects are the ones that (usuallly) end up in the database/ On mapping between classes and the database, I would recommend [S.Lott's article on "The ORM Problem"](http...
[ -0.10947252064943314, 0.010982844047248363, 0.23389649391174316, 0.22175537049770355, 0.1316881626844406, -0.10735583305358887, -0.056475307792425156, -0.12334262579679489, -0.4646778404712677, -0.6418086290359497, -0.2249617576599121, 0.31605151295661926, -0.3003544807434082, 0.3389384150...
I want to create a command line program using PHP. How do I design the program's I/O? I can send output as text. I am wondering about the specific output syntax. For example: In HTML i use `<br/>` to pass to a new line. How can I do this using terminal/file output? Is there a reference for terminal/file oriented progra...
[ 0.5526579022407532, 0.32274702191352844, 0.04330814257264137, -0.13367639482021332, -0.4589894413948059, -0.026630736887454987, 0.09869278967380524, -0.08301261067390442, -0.04621196538209915, -0.4181677997112274, 0.24624505639076233, 0.5600864291191101, -0.2269764244556427, -0.00251561566...
formatting, since your code isn't being interpreted by a web browser (i.e. `"\n"` will actually create a visible line break, not `<br />`). Reading input from stdin is a little trickier, but all it really involves is essentially using some of the file reading functions (e.g. `fgets()`, `fgetc()`, `fscanf()`) and passi...
[ 0.474378377199173, -0.13504163920879364, 0.6002645492553711, 0.1979142278432846, -0.5010101199150085, -0.38844794034957886, 0.11848632246255875, -0.1501752734184265, -0.20992733538150787, -0.8525291681289673, 0.025909261777997017, 0.6364011764526367, -0.4017360806465149, -0.134865283966064...
Do anybody know what this error means? It comes and goes in one of my units. Adding a space or a lineshift will sometime solve it, sometime not... I'm using Delphi 2007. Here is a [Delphi internal error guide](https://web.archive.org/web/20131023045517/http://www.stevetrefethen.com/wiki/Default.aspx?Page=InternalErro...
[ -0.09203831106424332, 0.3592368960380554, 0.24070027470588684, 0.00863488856703043, 0.03991999849677086, -0.14828914403915405, 0.4622988998889923, 0.17273202538490295, -0.5166023969650269, -0.47188127040863037, 0.15694642066955566, 0.8473446369171143, -0.05773749575018883, -0.0718345791101...
the console version dcc32 crashing (IDE compiled fine) when I increased a variable with Inc and using addition instead of Inc solved the problem...
[ -0.3820940852165222, -0.24150529503822327, 0.3651314377784729, 0.2910146415233612, -0.13735514879226685, 0.008901904337108135, 0.23462507128715515, -0.09099218994379044, 0.09834657609462738, 0.030488820746541023, 0.24792619049549103, 0.9121485948562622, -0.4724060595035553, -0.113752692937...