text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
Tests/ Sandcastle/ TeamBuildTypes/ {Build Name}/ Production/ Releases/
[ 0.4092298150062561, 0.1377851516008377, -0.35419321060180664, 0.10429384559392929, 0.006646782625466585, 0.0695890486240387, 0.4039066731929779, -0.20134304463863373, 0.09063640236854553, -0.48419827222824097, -0.3618364930152893, 0.3088807165622711, -0.049711402505636215, -0.1863316297531...
{Release Version}/ Source/ Tests/ Sandcastle/
[ 0.001391726196743548, 0.2594691216945648, -0.06180844455957413, -0.13340365886688232, 0.08699410408735275, -0.2977127134799957, 0.28253674507141113, -0.03350222483277321, 0.011692757718265057, -0.5814509987831116, -0.28334441781044006, 0.4164982736110687, -0.3209635615348816, 0.09201031923...
TeamBuildTypes/ {Build Name}/ Branches/ {Branch Name}/ Source/
[ 0.0955338329076767, -0.2374790757894516, -0.34615814685821533, 0.024636056274175644, -0.10796024650335312, -0.07544653117656708, 0.3126484155654907, 0.3512084186077118, 0.20209525525569916, -0.4420130252838135, -0.25156331062316895, 0.12956808507442474, -0.09657739102840424, -0.25680112838...
Tests/ Sandcastle/ TeamBuildTypes/ {Build Name}/ ``` The general logic is that
[ 0.3291091024875641, 0.20580601692199707, -0.25878721475601196, -0.03797035291790962, -0.17595899105072021, -0.18506446480751038, 0.4188021123409271, -0.11349846422672272, 0.15071867406368256, -0.4313489496707916, -0.19634222984313965, 0.45425644516944885, -0.1179417073726654, -0.2062255144...
a Team Project can contain either a single logical project (where there would be no `{Subproject}` entry) or multiple related projects in the form of a product or tool suite. The three major containers are called `Development`, `Integration`, and `Production`. Within the `Development` container's Trunk, there are prov...
[ 0.2101227194070816, -0.2412121295928955, -0.4192328453063965, 0.39165231585502625, 0.30437761545181274, 0.1835469901561737, 0.1892157644033432, -0.11927121132612228, 0.023374926298856735, -0.42555147409439087, -0.45041191577911377, 0.07450077682733536, 0.2328648865222931, -0.04262183606624...
would live within the `Trunk`, allowing for branches at that level to capture the solution, source, and unit tests. The `Integration` container, often called "main" in non-TFS implementation, is solely used to integrate Changesets from `Development` to create a stable and testable build. It is initially created as a b...
[ 0.23047029972076416, -0.25628432631492615, 0.16556602716445923, -0.0744062140583992, 0.5198128819465637, 0.14634980261325836, 0.055387962609529495, -0.09635105729103088, -0.0684870108962059, -0.5553234815597534, -0.43187084794044495, 0.22005052864551544, -0.10347200185060501, 0.15369269251...
that may have contributed to any irregularities. `Production` is used to produce pre-production and production quality builds. It is initially created as a branch from the `Integration` container once a stable build has been recommended for release. Within the `Releases` folder, a "branch by release" structure is foll...
[ 0.49895936250686646, 0.08901064842939377, 0.03632708266377449, 0.05944860354065895, 0.4129824936389923, -0.032587844878435135, -0.11156773567199707, -0.3406129479408264, -0.29478946328163147, -0.053883034735918045, -0.6431875228881836, 0.5443508625030518, -0.06321126967668533, 0.2004433572...
seen in the `Branches` container. This allows for "hotfixes", usually a revision marker (Major.Minor.Revision). The branch is created from the current release and merged back into the new revision marker - like `Release 1.1.1`. The Changeset would be reverse integrated to the `Development` container's `Trunk` upon acce...
[ 0.39539995789527893, -0.08866822719573975, 0.24086524546146393, 0.12218528985977173, 0.46565887331962585, -0.033323995769023895, -0.12608680129051208, 0.009940806776285172, -0.17229844629764557, -0.6113470792770386, -0.2843745946884155, 0.13290376961231232, -0.06298339366912842, 0.36686348...
container will be manually built. * ~~Where should the build definitions live?~~ **Edit - Based upon a couple of responses, the TeamBuildTypes folder has been moved to the trunk and branched to the appropriate containers. This does, however, lead to a new question (follows).** * By having the TeamBuildTypes folder in ...
[ 0.4816778600215912, 0.18761862814426422, 0.2586101293563843, 0.25665712356567383, 0.03324606269598007, -0.112542062997818, 0.04740440100431442, -0.31407272815704346, -0.08575883507728577, -0.7292844653129578, -0.19196836650371552, 0.44899633526802063, 0.21841588616371155, -0.13366101682186...
we also use [Sandcastle Help File Builder](http://www.codeplex.com/SHFB) to manage the output. This produces a project file in a format specific to SFHB. * Should generated documentation be stored in the source control structure? * Should documentation be generated for each container, or does it only posses value for ...
[ 0.5440259575843811, 0.2559314966201782, 0.3267797529697418, 0.13970375061035156, -0.24312545359134674, -0.23233282566070557, -0.0414123460650444, -0.32756587862968445, -0.05328324809670448, -0.5250298976898193, -0.07755497097969055, 0.3172651529312134, -0.0972253754734993, 0.18460956215858...
and `Tests`. Diagram changed to reflect this change.*** **Third Party Binaries** * Should binaries (controls, libraries, etc.) be stored in source control? * If so, should it be it's own Team Project? **General Documentation** - Non-generated documentation, such as requirements, design documents, test plans, etc. ar...
[ 0.4731064736843109, -0.03020539879798889, -0.25436657667160034, 0.27053210139274597, -0.001537115778774023, -0.3859473466873169, 0.1252221167087555, -0.1538981944322586, 0.06538950651884079, -0.7417681813240051, -0.16472607851028442, 0.34486138820648193, 0.03238099813461304, -0.43018472194...
control aspect of TFS. --- I will update the structure as I get answers to the questions to provide a clearer picture. I also welcome any other comments related to potential changes. If I have any other questions, I will make sure to modify this post. **Edits:** * **Clarification. `Source` and `Tests` folders do li...
[ 0.6155751943588257, -0.0824010893702507, -0.08685325086116791, 0.4555565416812897, -0.018411312252283096, -0.35062524676322937, 0.10110945999622345, -0.30702248215675354, 0.09366755932569504, -0.5845107436180115, -0.1313309669494629, 0.568436861038208, -0.07712344080209732, -0.226107120513...
such as requirements, design documents, test plans, etc.** * **Added resolution related to TeamBuildTypes folder for build defintions.** * **Based upon various feedback, moved the TeamBuildTypes folder to the trunk / branch levels.** I like your idea of putting the Sandcastle files as a peer to Source and Tests, I woul...
[ 0.6430957913398743, -0.0342324934899807, 0.25091907382011414, 0.13780835270881653, 0.003919744864106178, -0.14958103001117706, 0.11371782422065735, -0.33423683047294617, -0.09316323697566986, -0.7588623762130737, 0.22280345857143402, 0.703980028629303, 0.12228278070688248, -0.1520398408174...
your documentation with each release, and using TFS is an easy aproach to ensure your documentation stays in the correct place. 2. Using TFS to store it means everyone will know where to go get the documentation. One thing I don't see which I always struggle with is where to third party dependancies, it might be that ...
[ 0.6763784289360046, 0.10462028533220291, 0.5127152800559998, 0.19494852423667908, 0.17292580008506775, -0.5508539080619812, 0.12376361340284348, -0.1322261542081833, -0.25351670384407043, -0.9332025051116943, -0.17417138814926147, 0.3929741382598877, -0.11644595861434937, 0.132719084620475...
ComponentArt/ WebUI/ 2008.1/ Src I like to add the source, I've had to patch CA's source which I hate to do but when a third party doesn't fix the bug you have to resort to this.
[ 0.520474374294281, 0.19051767885684967, 0.4122297763824463, -0.22656244039535522, -0.17110756039619446, -0.17003233730793, 0.06511591374874115, 0.1656673550605774, 0.030979862436652184, -0.5161240100860596, 0.33567357063293457, 0.8199031949043274, -0.43273019790649414, 0.03488772362470627,...
I was reading the Math.random() javadoc and saw that random is only psuedorandom. Is there a library (specifically java) that generates random numbers according to random variables like environmental temperature, CPU temperature/voltage, or anything like that? Check out <http://random.org/> RANDOM.ORG is a true rand...
[ 0.6398154497146606, -0.098604217171669, -0.17135320603847504, 0.28502756357192993, -0.3541814088821411, -0.18898777663707733, -0.1580066680908203, -0.12867258489131927, -0.3523716926574707, -0.4415740668773651, 0.2774945795536041, 0.032588712871074677, -0.3062746226787567, 0.31495976448059...
From a [previous question](https://stackoverflow.com/questions/29040/linq-to-sql-can-i-eager-load-only-one-field-in-a-joined-table), I learn that Linq to SQL is not able to eager load only certain files of foreingKey tables. So I'm asking what .net ORM can support including this type of statement inside a entity class...
[ 0.0632564052939415, 0.1799187809228897, 0.39436355233192444, -0.22679898142814636, -0.05226434767246246, 0.1751466542482376, -0.04292883723974228, -0.4417896568775177, -0.10922574996948242, -0.3348131477832794, -0.2227698415517807, 0.5166542530059814, -0.22062024474143982, -0.0290359668433...
Order.OrderTypeID = OrderType.OrderTypeID INNER JOIN Provider on Order.ProviderID = Provider.ProviderID ``` I want to keep it as simple as possible (trying to avoid NHibernate and such) As part of a projection, LINQ-to-SQL should handle that - have you tried ``` select new {Order = order, ProductName = order.P...
[ -0.025497308000922203, 0.15771490335464478, 0.45775219798088074, -0.21737000346183777, -0.0003759171813726425, 0.1342657208442688, 0.032874397933483124, -0.2349127233028412, -0.2188788205385208, -0.6049542427062988, -0.0887012705206871, 0.5239309668540955, -0.35123151540756226, 0.102291993...
could add properties in the partial class, but you'd have to do lots of load-options to make them load eagerly. In reality, it probably isn't worth it given how it complicated the object model.
[ 0.0930836871266365, -0.2095302790403366, -0.06551124900579453, 0.4710433781147003, -0.2432413548231125, 0.1817212849855423, 0.25414496660232544, -0.1629304140806198, -0.1668790876865387, -0.3395364582538605, 0.09507808089256287, 0.6029142737388611, 0.06304530054330826, 0.1296166032552719, ...
Both of these appservers are at least in part OSGI based. One (Glassfish) is obviously Java EE while the other isn't. Now I'm at the stage of choosing a platform for a new project and the natural choice is Glassfish v3 Prelude. This does raise the issue of perhaps we should be using S2AP instead. The question then is ...
[ -0.23858875036239624, -0.16563533246517181, 0.3976861536502838, 0.19908851385116577, -0.19949214160442352, 0.017536450177431107, -0.22371551394462585, 0.1897801160812378, -0.32946693897247314, -0.6248401403427124, 0.06711900234222412, 0.5569652318954468, -0.3630703091621399, 0.002678200136...
possible to do XA TX with Spring-Framework, is just that you're left on your own to locate a suitable XA manager and integrate it. Course XA TX have very much fallen into disrepute. Most folks try to avoid them like the plague. Amazon.com, for instance, does not use them. We currently use Spring-Framework and Tomcat ...
[ 0.5535053014755249, -0.0237807035446167, 0.12748883664608002, 0.15029922127723694, -0.21177208423614502, -0.06931941211223602, 0.190744549036026, 0.11627262830734253, -0.18770505487918854, -0.3838459551334381, -0.0826302319765091, 0.3180589973926544, -0.4276236891746521, -0.123110964894294...
to remain open source accessible to community of users. Once you go Java EE, you get tied to a particular Java EE vendor as it's difficult to move between implementations. EJB3 supposedly will ease this, but would bet it will still be a major undertaking to switch Java EE app servers. Frankly Spring-Framework provide...
[ 0.5860129594802856, 0.04580090939998627, 0.22870902717113495, 0.18760888278484344, -0.3041859567165375, -0.27720755338668823, 0.31524932384490967, 0.07459725439548492, -0.41186830401420593, -0.4659481644630432, -0.18979965150356293, 0.04019968584179878, -0.2320391982793808, -0.051410276442...
DataGridView.CellContentClick is not firing if I mouse click a DataGridViewCheckBoxCell very fast. How can I solve this? I need to know when CheckBox's check state changes Try handling the `CellMouseUp` event. You can check which colum the `MouseUp` event occurred in to see if it is your checkbox column. You can ...
[ -0.25808677077293396, -0.23520652949810028, 0.37101221084594727, 0.0009934239787980914, -0.11907189339399338, -0.17171785235404968, 0.2643320858478546, -0.2919527590274811, 0.011632079258561134, -0.7407674789428711, 0.23548243939876556, 0.612612247467041, -0.4610615670681, 0.00422125589102...
the checkbox changes, the first column wil reflect its check state, without having to move from the row or cell. ``` public partial class Form1 : Form { public Form1() { InitializeComponent(); dataGridView1.Rows.Add("False", false); dataGridView1.Rows.Add("True", true); } priva...
[ -0.11095256358385086, -0.1659553200006485, 0.7940893173217773, -0.3856642544269562, 0.2053670883178711, -0.03616946563124657, 0.4136291444301605, -0.45444878935813904, 0.015145866200327873, -0.8177279233932495, -0.5174492597579956, 0.45568782091140747, -0.3808252811431885, 0.12860682606697...
{ dataGridView1.EndEdit(); } } private void dataGridView1_CellValueChanged(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex != -1) { dataGridView1.Rows[e.RowIndex].Cells[0].Value = dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex]...
[ -0.06922447681427002, -0.23425613343715668, 0.7085414528846741, -0.17138417065143585, 0.169087216258049, 0.032102178782224655, 0.3581983149051666, -0.2811734080314636, -0.10637879371643066, -0.65392005443573, -0.13844133913516998, 0.6171268224716187, -0.5183917284011841, 0.1985813975334167...
I'm trying to select more than 80,000 record in SQL Server in a table that has millions of records. The issue is that I've the correct Index, but it takes more than 15 minutes to return the recordset. I'm using MS SQL Server 2000, I found a pagination method using stored procedures but it uses a temporal table that I ...
[ 0.03938058763742447, 0.2543082535266876, 0.3279499411582947, 0.2843154966831207, 0.1497856229543686, -0.14706435799598694, 0.008072958327829838, -0.02824847586452961, -0.7573691010475159, -0.7602084279060364, 0.38693398237228394, 0.36336106061935425, -0.0962674543261528, 0.4331347942352295...
your input parameters for user's filtering and sort options, but the general principle will apply.. I used this technique with SQL 2000 in 2000/2001 timeframe with 90M record table to deliver fast paging for 150-200k row resultsets. Since only the key is in the temp table, it is a very narrow, very small temp tabl;e, a...
[ -0.16666170954704285, -0.10982950776815414, 0.5744991302490234, 0.19255904853343964, -0.23714441061019897, -0.13777343928813934, 0.15036460757255554, -0.18468813598155975, -0.20892925560474396, -0.6841041445732117, 0.30300360918045044, 0.5461553335189819, -0.08682113885879517, -0.015251956...
few records... ``` Create Procedure GetPagedData @Page Integer = 1, @PageSize Integer = 100, @UsersFilteringCOnditions, @UsersSortOptions As Set NoCount On Declare @Start Integer, Declare @End Integer Declare @NumRecs Integer -- Declare a temp table variable to hold all the pk values... Declare @Keys Table (r...
[ -0.008687206543982029, 0.08988781273365021, 0.4536527395248413, 0.14508827030658722, 0.05153926834464073, 0.2990046441555023, 0.2492889165878296, -0.34023651480674744, -0.2069634646177292, -0.5028321743011475, 0.01989731937646866, 0.36089321970939636, -0.18897375464439392, 0.39048036932945...
Order By UsersSortOptions -- Then, select from your big table only the data -- from the rows for the page the user wants Select @NumRecs = Count(*) From Keys Set @End = @Page * @PageSize Set @Start = @End + 1 - @PageSize Select {Insert ColumnListHere} From MyMillionRowTable T Join @Keys K...
[ -0.22932648658752441, 0.2071579545736313, 0.7595688700675964, 0.06434585154056549, 0.014876027591526508, 0.23469868302345276, -0.012112936936318874, -0.44465911388397217, -0.3516228497028351, -0.5585803389549255, -0.2857377231121063, 0.2921864986419678, -0.26302894949913025, 0.290425539016...
Do T-SQL queries in SQL Server support short-circuiting? For instance, I have a situation where I have two database and I'm comparing data between the two tables to match and copy some info across. In one table, the "ID" field will always have leading zeros (such as "000000001234"), and in the other table, the ID fiel...
[ 0.30529654026031494, -0.3524829149246216, -0.08592155575752258, 0.1277056485414505, -0.22224415838718414, -0.07801990956068039, -0.021391943097114563, 0.1137726902961731, 0.0570724755525589, -0.4760514795780182, 0.02203989401459694, 0.3036085367202759, -0.3377387523651123, 0.15322034060955...
handle the case where both ID's have the padded zeros and are equal. Will doing so speed up the query by matching items on the "=" and not evaluating the LIKE for every single row (will it short circuit and skip the LIKE)? SQL Server does **NOT** short circuit where conditions. it can't since it's a cost based system:...
[ 0.02584165893495083, 0.015872186049818993, 0.10306654125452042, 0.21284691989421844, -0.04519858583807945, -0.12225396931171417, -0.024046912789344788, -0.259537011384964, -0.10001061856746674, -0.28241971135139465, 0.04677283763885498, 0.5313107967376709, -0.2094602733850479, -0.047377943...
I have an interesting situation where I need to deploy an ASP.NET MVC app to a (pseudo-boss's) local desktop machine so they can run it locally for data entry purposes. What would be the best way to get the app running on a vista machine without Visual Studio installed? Ideally, It would be a one click that started a...
[ 0.7676141262054443, 0.06577348709106445, 0.10657387226819992, 0.11623521149158478, -0.18835949897766113, -0.022093039005994797, 0.3177812099456787, -0.1324647217988968, -0.22496330738067627, -0.42793595790863037, 0.013590735383331776, 0.7367233633995056, -0.28043776750564575, -0.0642194226...
even a non-technical person can understand. The big thing is that this person is not very technical, so it needs to be easy for them to start and stop the application. You need IIS installed, which should be available for Vista. Then just set up a working directory and put your app there, it's not 1 click but maybe.,.....
[ 0.15498028695583344, 0.031199321150779724, 0.1689056009054184, 0.2845664620399475, 0.2520972788333893, -0.5657480955123901, 0.5505279898643494, -0.0017997469985857606, -0.09793172031641006, -0.7369334101676941, -0.28459903597831726, 0.9131008982658386, -0.17482620477676392, 0.0787697583436...
I've used the [`setargv.obj` linking for Expanding Wildcard Arguments](http://msdn.microsoft.com/en-us/library/8bch7bkk.aspx) in the past for a number of C and C++ apps, but I can't find any similar mention for .net applications. **Is there a standard way to have your app's command line parameters automatically wildca...
[ 0.334012895822525, 0.053401488810777664, 0.35494503378868103, 0.19666051864624023, 0.09107401967048645, -0.22998660802841187, 0.1226005032658577, -0.219046950340271, -0.4161025285720825, -0.7060617804527283, -0.01512163132429123, 0.5519042015075684, -0.3609617352485657, -0.1474835425615310...
split the parameters for the path and name for the `GetFiles()`, but this is a general idea. Linking `setargv.obj` into a C or C++ app would basically do all the wildcard expansion, leaving the user to only iterate over the argv array. ```cs public static void Main(string[] args) { foreach (string argString in arg...
[ -0.17351490259170532, -0.39660677313804626, 0.37985140085220337, -0.2310563176870346, 0.282602995634079, -0.06957686692476273, 0.29612448811531067, -0.4734328091144562, -0.1560717523097992, -0.3691003620624542, -0.21921101212501526, 0.380287230014801, -0.5415491461753845, 0.096452355384826...
filenameOnly = argString.Substring(lastBackslashPos, argString.Length - lastBackslashPos); string[] fileList = System.IO.Directory.GetFiles(path, filenameOnly); foreach (string fileName in fileList) { // do things for each file } } } ``` Your code looks like exactly ho...
[ 0.11104074120521545, -0.2535662055015564, 0.3808459937572479, -0.11475150287151337, 0.30771011114120483, -0.2065749615430832, 0.46700823307037354, -0.23369039595127106, -0.21961931884288788, -0.8583024144172668, -0.29345405101776123, 0.3722698390483856, -0.21600955724716187, -0.03550386428...
I have a webservice in java that receives a list of information to be inserted or updated in a database. I don't know which one is to insert or update. Which one is the best approach to abtain better performance results: 1. Iterate over the list(a object list, with the table pk on it), try to insert the entry on Data...
[ 0.08123580366373062, 0.08489261567592621, 0.15888534486293793, 0.02801758609712124, -0.04645252972841263, -0.14090390503406525, 0.2247711420059204, -0.21617569029331207, -0.027137620374560356, -0.8457239270210266, 0.06688518822193146, 0.55219966173172, -0.255926251411438, -0.07743346691131...
be new bd entries, but there will be a saturation point that most of the entries will be to update. I'm talking about a DB table that could reach over 100 million entries in a mature form. What will be your approach? Performance is my most important goal. If your database supports MERGE, I would have thought that was...
[ 0.45971396565437317, 0.05019755661487579, 0.39395517110824585, -0.0965893343091011, -0.1607140600681305, -0.12071770429611206, -0.032692763954401016, -0.34172725677490234, -0.08764509111642838, -0.7373459935188293, -0.23402157425880432, 0.41385552287101746, -0.14865952730178833, 0.16464410...
By default C# compares DateTime objects to the 100ns tick. However, my database returns DateTime values to the nearest millisecond. What's the best way to compare two DateTime objects in C# using a specified tolerance? Edit: I'm dealing with a truncation issue, not a rounding issue. As Joe points out below, a rounding...
[ 0.2619082033634186, -0.07047831267118454, 0.4406995475292206, -0.15805144608020782, -0.00253196875564754, 0.07724421471357346, 0.08772151917219162, -0.15768533945083618, -0.13063949346542358, -0.558585524559021, 0.1396711766719818, 0.7208606004714966, -0.08517324924468994, 0.04570603370666...
two dates. I usally use the TimeSpan.FromXXX methods to do something like this: ``` if((myDate - myOtherDate) > TimeSpan.FromSeconds(10)) { //Do something here } ```
[ 0.364055335521698, -0.17814186215400696, 0.5284364223480225, -0.20218390226364136, 0.3601568937301636, -0.09293226152658463, -0.15671169757843018, 0.28071966767311096, -0.03594628721475601, -0.6153354644775391, 0.15975449979305267, 0.297381728887558, -0.06484389305114746, 0.036122389137744...
I have a Div with five float divs inside: ``` var div=document.createElement("div"); div.className="cssDivNino"; var divFolio=document.createElement("div"); divFolio.className="cssFolio"; div.appendChild(divFolio); var divCurp=document.createElement("div"); divCurp.className="cssCurp"; div.appendChild(divCurp); var...
[ -0.17720016837120056, -0.014401376247406006, 0.7598770260810852, 0.01821788027882576, -0.010134865529835224, 0.38666895031929016, 0.34771010279655457, -0.42133429646492004, 0.05535128712654114, -0.6697739362716675, -0.2730455696582794, 0.28452616930007935, -0.12738804519176483, 0.074946254...
extra space of the parent div under the child divs on IE6. I've tried to fix this with javascript: ``` div.style.height = divFolio.style.height; ``` But it doesn't work. A few notes: 1. You will save yourself a lot of trouble by just using a `<table>` for this data, which is tabular. 2. Building this stuff via the...
[ 0.18964733183383942, -0.027843687683343887, 0.5254416465759277, -0.009875625371932983, -0.07307460904121399, 0.14346818625926971, -0.00012112199328839779, -0.1955450028181076, -0.10125507414340973, -0.7887207269668579, 0.09157701581716537, 0.40033629536628723, 0.0687725618481636, 0.1733901...
When I am editing a cell in a `dataGrid`, the changes are not applied to the `dataProvider` until I finish editing. Is there a way that I can make the changes appear in the `dataProvider` whilst editing? I would assume that the way of doing this would be to subclass the editor I am using, in this case `NumericStepper`...
[ 0.2927960157394409, 0.07297573983669281, 0.30377060174942017, -0.15042343735694885, 0.003925730474293232, -0.39119020104408264, 0.1279187649488449, -0.11974672228097916, -0.3128778338432312, -0.6799325942993164, 0.0884300023317337, 0.2746599018573761, -0.304363489151001, 0.0099308351054787...
this stuff via the DOM is insanely slow compared to letting the browser just render raw HTML. Just something to be aware of. Anyway, I'd immediately try floating the container div `.cssDivNino` left as well, explicitly setting top and bottom margins to 0, and keeping a close eye on [IE6's suite of float/margin bugs.](...
[ -0.06258134543895721, -0.14822320640087128, 0.5656827092170715, -0.056952912360429764, -0.05184882506728172, 0.01838778890669346, -0.0776478573679924, -0.05617491900920868, -0.01667952537536621, -0.8298487067222595, 0.22833502292633057, 0.6666489243507385, 0.2534886300563812, 0.17172569036...
I have a simple NAnt build file, which attempts to perform an update from subversion on the specified directory. An example of the test build file content is: ``` <?xml version="1.0" ?> <project name="Project_name" default="update"> <property name="root" value="C:\Subversion\UpdateDir" overwrite="false"/> <property na...
[ 0.48887965083122253, 0.1421564817428589, 0.0968012884259224, -0.15784116089344025, -0.11265017092227936, 0.03725720942020416, 0.47447669506073, -0.42551231384277344, 0.31420913338661194, -0.8323282599449158, -0.006716820411384106, 0.41002070903778076, -0.03282298520207405, 0.00767757510766...
the test build file), the build fails with an error of 1 being returned from the Collabnet subversion client 'svn.exe' file. The annoying thing, is that NAnt GUI can run the build file without error, so I don't see why TeamCity should fail, since I believe it to be using the same subversion client as NAnt GUI and the ...
[ 0.1950831264257431, -0.012825418263673782, 0.009681020863354206, 0.04006004333496094, -0.1101926788687706, -0.0028149811550974846, 0.800266444683075, -0.5631536245346069, 0.1689309924840927, -0.579322099685669, -0.03300829976797104, 0.7745034694671631, -0.18735209107398987, -0.090859599411...
details) [16:01:56]: C:\Subversion\ProjectBuilds\BuildFiles\Update0412.build(9,10): External Program Failed: C:\Program Files\CollabNet Subversion\svn.exe (return code was 1) [16:01:56]: NAnt output: "C:\Program Files\NAnt-Gui\bin\NAnt.exe" -buildfile:C:\Subversion\ProjectBuilds\BuildFiles\Update0412.build -extension:C...
[ -0.2868499457836151, 0.023570042103528976, 0.4308406412601471, 0.07285007834434509, 0.3410688042640686, 0.42190662026405334, 0.5208683013916016, -0.5032770037651062, -0.29916372895240784, -0.7488598227500916, -0.2525576055049896, 0.31044021248817444, -0.12243757396936417, -0.19712117314338...
locked [svn-update] svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) BUILD FAILED - 0 non-fatal error(s), 2 warning(s) C:\Subversion\ProjectBuilds\BuildFiles\Update0412.build(9,10): External Program Failed: C:\Program Files\CollabNet Subversion\svn.exe (return code was 1) Total time: 0.4 sec...
[ -0.16728556156158447, 0.13366907835006714, 0.2640278935432434, 0.019049808382987976, 0.18387611210346222, 0.1626223772764206, 0.8634151816368103, -0.5544136762619019, -0.3508470952510834, -0.43911829590797424, -0.3037954568862915, 0.47463276982307434, -0.2513255476951599, -0.32345798611640...
The error message points to that working copy having gotten muddled somehow; this can sometimes happen if a build fails and it was in the middle of an update. I'd suggest trying to do a `svn cleanup` in the specific agent's working copy.
[ 0.3017626106739044, 0.24366582930088043, 0.053564686328172684, 0.10326576232910156, 0.2346959412097931, -0.14023612439632416, 0.3736061453819275, 0.22669047117233276, -0.07056733220815659, -0.4390663504600525, -0.02479952946305275, 0.5005807876586914, -0.08153297752141953, -0.0040261177346...
Is there any best practice data model for authentication/ authorization schema? A data model that consists of a mapping of roles to privileges is fairly flexible and suits most purposes. Then you assign roles to users (the concept is essentially the same as that of groups)...a user may have more than one role, and th...
[ 0.26446014642715454, -0.05931934714317322, 0.07734549045562744, 0.4122673571109772, 0.2049989551305771, -0.39830946922302246, -0.06189776584506035, -0.20821644365787506, -0.18362465500831604, -0.3227543234825134, -0.031464073807001114, 0.3892020285129547, -0.07638254761695862, -0.242499127...
are schemes that are designed so that they only care what the user can do, not who they are). In your design you can visualise the access control system as a matrix (roles to privileges). I would also expand on the 'do not store passwords' answer - don't design your own authentication scheme at all. You'll probably ...
[ 0.3843538165092468, -0.03610651195049286, 0.20256578922271729, 0.20862549543380737, 0.2592344284057617, -0.33269840478897095, 0.13876084983348846, -0.27135542035102844, -0.2038433849811554, -0.5780103802680969, -0.10548409074544907, 0.5228789448738098, -0.4143574833869934, -0.0184586569666...
I love to Extend my Assert.AreEqual to many different classes, the known one is the CollectionAssert of course, but I can think of some more such as: [ImageAssert](http://www.human-debugger.net/blog/2008/12/21/TddExtendingAssertToSupportImages.aspx), XmlAssert etc.. Did you Create your own Assert classes? and what kin...
[ 0.16590628027915955, -0.11801467835903168, 0.4849305748939514, 0.20623338222503662, -0.5361785888671875, 0.0653083473443985, 0.24464546144008636, -0.5666589736938477, 0.0873858854174614, -0.4518739879131317, 0.10103515535593033, 0.9330394268035889, 0.23504389822483063, -0.06773275136947632...
= Bitmap.FromFile(@"C:\ShaniData\Projects2008\TddSamples\Output\Image1.jpg"); Bitmap expectedBitmap = new Bitmap(expected); Bitmap actualBitmap = new Bitmap(actual); ImageAssert.AreEqual(expectedBitmap, actualBitmap); } public class ImageAssert { //public static void MoreMethods(Bitmap expected, Bitmap actual...
[ 0.3741282820701599, -0.5435736179351807, 0.8746139407157898, 0.16467559337615967, 0.028585536405444145, 0.20215517282485962, -0.032244790345430374, -0.4042961597442627, -0.2656196653842926, -0.7920259833335876, -0.05764617770910263, 1.003643274307251, -0.030417483299970627, 0.0397500172257...
HandleFail("ImageAssert.HasTheSameSize", String.Empty); } public static void AreEqual(Bitmap expected, Bitmap actual) { for (int i = 0; i < expected.Width; i++) { for (int j = 0; j < expected.Height; j++) { Color expectedBit = expected.GetPixel(i, j);
[ 0.14361222088336945, -0.6735802888870239, 0.7545446157455444, -0.4243784248828888, 0.04960831627249718, 0.3401571214199066, 0.30492791533470154, -0.5008367896080017, 0.3509324789047241, -0.580811619758606, -0.19494791328907013, 0.824005663394928, -0.3386571407318115, -0.05690590292215347, ...
Color actualBit = actual.GetPixel(i, j); if (!expectedBit.Equals(actualBit)) { HandleFail("ImageAssert.AreEqual", String.Empty, i, j); return;
[ 0.2686401605606079, -0.615007221698761, 0.6302120089530945, -0.062338974326848984, 0.2759512960910797, 0.3399483263492584, 0.17208890616893768, 0.05215328186750412, 0.19822265207767487, -0.5070198774337769, -0.03369154781103134, 0.9234979748725891, -0.4016176462173462, 0.000622894265688955...
} } } } internal static void HandleFail(string assertionName, string message, params object[] parameters) { throw new AssertFailedException(String.Format(assertionName)); } } ```
[ -0.04554041102528572, 0.0556643083691597, 0.48119255900382996, -0.3393515646457672, -0.027755506336688995, -0.11925584822893143, 0.19531303644180298, -0.3437668979167938, 0.29378756880760193, -0.3520648777484894, -0.26804840564727783, 0.7245088815689087, -0.12331768125295639, 0.42921331524...
Having fallen behind in the world of ORM and modern data access, I'm looking to move away from DataSets (*shudder*) and into a proper mapping framework. I've just about got my head around Linq to SQL, an I'm now looking into NHibernate with the view to using it in our next project. With old school sql and data sets, ...
[ 0.10682310909032822, 0.17184917628765106, 0.2511920928955078, 0.0946056917309761, -0.5890892744064331, -0.0946059599518776, -0.07206854224205017, 0.0661110207438469, -0.3898831009864807, -0.45981618762016296, 0.05097835138440132, 0.1610487848520279, -0.05402375012636185, 0.2897802293300628...
with Ayende's Linq to NHibernate? By this i mean, if i do the equivalent of: ``` Select * from customers where name = "fred" ``` will it fetch every customer into memory, and then filter out the non-freds, or is it clever enough to only get what it needs in the first place? If it is intelligent, what are the cavea...
[ 0.20125573873519897, 0.27641141414642334, 0.1253184676170349, 0.2533879578113556, -0.21447601914405823, -0.38612261414527893, -0.14315716922283173, -0.4829983115196228, -0.09575515240430832, -0.19489075243473053, 0.17111070454120636, 0.6391716599464417, -0.04311653971672058, 0.168895184993...
you name = .... So it won't load all the customers into the memory to search for the name.
[ 0.24017491936683655, 0.23664435744285583, 0.1372840404510498, 0.05541292950510979, 0.3577537536621094, 0.04816482216119766, 0.15854798257350922, 0.10522399842739105, -0.10235345363616943, -0.4146118760108948, 0.054645296186208725, 0.5665075182914734, -0.039488889276981354, 0.31845057010650...
I have two tables in a MySQL database urltracker with columns id and urlclicked and urlreferrer with columns id, url\_id and urlreferrer the urltracker is really just a lookup table with the url\_id column in the urlreferrer table being the link between the tables. **Example DDL:** ``` CREATE TABLE urltracker ( i...
[ 0.03417753428220749, 0.09539759904146194, 0.498078316450119, 0.15602122247219086, -0.2285042405128479, 0.021108778193593025, -0.009228208102285862, 0.07383283227682114, -0.0003837222175206989, -0.8838220834732056, 0.09509624540805817, 0.33873051404953003, -0.14052097499370575, 0.3950271904...
VARCHAR(200) NOT NULL FOREIGN KEY(url_id) REFERENCES urltracker(id) ); ``` What i wany to do is join the two tables in such a way that i can get the url that was clicked by looking up the urlclicked table and the total number of referrers from the urlreferrer table for this particular url. I have messed about with...
[ 0.2081420123577118, -0.02743314765393734, 0.9043552279472351, 0.18310405313968658, -0.12242241203784943, -0.2722342312335968, 0.3923371732234955, -0.21280570328235626, 0.006352091673761606, -0.5277960896492004, 0.06145940348505974, 0.8587724566459656, -0.26615551114082336, 0.20234932005405...
If WebBrowser1Locked Then e.Cancel = True End If End Sub ``` This requires a global locking boolean variable. ``` Partial Public Class Window1 Dim WebBrowser1Locked As Boolean = True ... End Class ``` And locking and unlocking to be wrapped around the *desired* navigation. ``` WebBrowser1Loc...
[ -0.0733046606183052, -0.34496980905532837, 0.7769729495048523, 0.03400655835866928, 0.3603299856185913, -0.16010475158691406, 0.5474236607551575, -0.11389622837305069, -0.06674192100763321, -0.4301010072231293, -0.23223648965358734, 0.8456644415855408, -0.4058948755264282, 0.24466036260128...
I have a SSRS report and using PL/SQL for the dataset creation. My report needs two tables 1 one gives detailed view.(dataset 1) 2 one below that gives a summary table (data should come from the calculations based on the data in 1 table) I am using a temporary table for the dataset one. What are the methods to get...
[ 0.26417988538742065, 0.008030940778553486, 0.319404661655426, -0.044231630861759186, 0.04408861696720123, 0.05436449870467186, -0.10941115766763687, -0.46074751019477844, -0.3854505717754364, -0.44672590494155884, 0.23530329763889313, 0.3578873574733734, -0.39796745777130127, -0.0894474238...
as follows: `a[b] == *(a + b)` Therefore `a[5]` will evaluate to: ``` *(a + 5) ``` and `5[a]` will evaluate to: ``` *(5 + a) ``` `a` is a pointer to the first element of the array. `a[5]` is the value that's 5 **elements** further from `a`, which is the same as `*(a + 5)`, and from elementary school math we kno...
[ 0.1001620814204216, 0.2381511628627777, 0.2643362283706665, -0.3042460083961487, -0.18501845002174377, 0.10874570906162262, 0.29544177651405334, -0.5688374042510986, -0.09239897131919861, -0.2761455774307251, -0.4238431453704834, 0.42362284660339355, 0.043333087116479874, 0.116747461259365...
We are working with some new Cutting Tools that can have it's hardware parameters altered through the serial port instead of just a control panel. When the hardware parameters are altered the hardware will take a few seconds to reconfigure itself and then signal that it is ready to be used. Our setup before this inv...
[ 0.802619993686676, -0.05262936279177666, 0.30927860736846924, 0.2370319366455078, 0.3182699978351593, 0.4810255765914917, -0.3218534588813782, -0.28318318724632263, -0.17587552964687347, -0.43464112281799316, 0.026061516255140305, 0.6245829463005066, 0.03773363679647446, -0.141823783516883...
click OK and the machine starts cutting. For the new Hardware we pull out the current configuration if there is a change we transmit and throw up a dialog showing what the new configuration is along with a indicator showing whether the hardware is ready. Not everything is automated through the serial port so sometime ...
[ 0.33728325366973877, 0.06892532855272293, 0.55459064245224, 0.12953203916549683, 0.2973855137825012, 0.02753094770014286, -0.018629517406225204, 0.018621444702148438, -0.5300344824790955, -0.28355225920677185, -0.11807287484407425, 0.9218031764030457, -0.36612626910209656, 0.14812763035297...
done this type of work. I am concerned that I missing some solution to make the whole thing more responsive. It is not an option to use an alternative to serial as we buy the cutting hardware from a third party. Another thing I would like to do is have the option of displaying a status dialog and leave it running with...
[ 0.5691546201705933, -0.172948956489563, 0.10170739144086838, 0.314484179019928, -0.09394175559282303, -0.16983361542224884, 0.08557885885238647, 0.2417159229516983, -0.37922948598861694, -0.6674914956092834, 0.35242950916290283, 0.8164045810699463, 0.0018187297973781824, -0.218115285038948...
you can display a particular byte array by adding `new String(byteArray)` as a watch expression.
[ 0.6168065071105957, -0.2879229784011841, 0.3103969395160675, -0.04497205838561058, 0.027757983654737473, -0.03175533562898636, 0.020562343299388885, -0.22126050293445587, -0.46793100237846375, -0.36473268270492554, -0.017490487545728683, 0.5691026449203491, -0.3038029670715332, -0.06397181...
I'm wanting to keep the font size of a navigation menu the same size for all browsers. I set the font-size of the navigation menu text to a specific pixel size. In IE this works, but not in FF. The problem is, if a person changes their browser's font size, then it completely ruins the menu layout in FF. Is there a w...
[ 0.23246510326862335, 0.29047125577926636, 0.41720935702323914, -0.005626168102025986, -0.1492297649383545, 0.1607397496700287, 0.38643360137939453, -0.04793143272399902, -0.010643483139574528, -1.2723026275634766, 0.33927756547927856, 0.5788874626159668, -0.43820449709892273, -0.1623028069...
menu. Thanks! You have three choices: 1. Fix your menu layout such that it is more tolerant of different font sizes (recommended: plenty of users who won't agree with your choice of font size - not just limited to visually impaired users either). 2. Replace text with images (with appropriate alt text!); FF (and IE) ...
[ 0.018181435763835907, -0.18061770498752594, 0.6312662959098816, 0.131251722574234, -0.2009834349155426, 0.0029675113037228584, 0.5255010724067688, 0.17922742664813995, -0.22168217599391937, -0.7686788439750671, -0.3913351893424988, 0.9427781701087952, -0.17053943872451782, -0.2163931280374...
I have a web application that I'm working on for work and its not very Firefox friendly (design was made 2 years before I started with the company). There are some CSS issues that I am having problems with and I can't use a CSS Reset because the page design is pretty much set in stone and it would cause more work then ...
[ 0.4801294207572937, 0.18525196611881256, 0.04892802983522415, -0.1096898540854454, -0.19354408979415894, 0.01466560922563076, 0.11083816736936569, -0.025651032105088234, -0.22751638293266296, -0.8457208871841431, 0.37175750732421875, 0.5933119058609009, -0.18303252756595612, 0.101031653583...
stores the CSS settings in the ever-so-dumb-place, *the Registry*. Another issue is whether the doctype of your application is using standards mode or quirks mode. If it's using [quirks mode](http://en.wikipedia.org/wiki/Quirks_mode), you're in trouble. Fixing things for non-IE issues will break IE issues etc. You wil...
[ 0.4755893349647522, 0.10332624614238739, -0.03194032236933708, 0.47843220829963684, 0.11127113550901413, -0.4072619080543518, 0.46707701683044434, 0.036283791065216064, -0.39602550864219666, -0.5302343964576721, -0.07282859086990356, 0.29899826645851135, -0.16952939331531525, 0.00074391742...
I am using **InstallShield 2009** to generate an **MSI** for a codebase I have inherited. The code is comprised of **VB6**, and **.NET 2.0** code (C# and C++). I'm developing and installing on **Windows XP SP2**. I created the *InstallShield* project (call it `"MyClient.ISM"`) by reverse engineering it from the *MSI* ...
[ 0.3451952636241913, 0.0910174623131752, 0.725601077079773, -0.17756083607673645, 0.05559040233492851, -0.06755413115024567, 0.2287272810935974, -0.08388473838567734, 0.03339358791708946, -0.8830875754356384, -0.06972901523113251, 0.5864125490188599, -0.19640392065048218, 0.0998175069689750...
made Then I ran `MyClient.MSI` with the msiexec command. E.g. ``` msiexec /lvx C:\inst_server.log /i "C:\MyClient.MSI" ``` It seemed that the problem was due to a `2769 error`. The error locations from the log files resulting from this are below.: ``` DEBUG: Error 2769: Custom Action _A11801EAD1E34CFF981127F7B95...
[ 0.2568800151348114, 0.14509230852127075, 0.5266311764717102, -0.1587660163640976, 0.12264855206012726, 0.1884760558605194, 0.5174192786216736, 0.020567139610648155, -0.3024921119213104, -0.7350233793258667, -0.16185075044631958, 0.6857263445854187, -0.35979577898979187, 0.19098006188869476...
using an *InstallShield* method which works. Here is a [CSS comparison chart](http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(CSS)). IE actually stores the CSS settings in the ever-so-dumb-place, *the Registry*. Another issue is whether the doctype of your application is using standards mode or quirks mode. ...
[ 0.4622498154640198, 0.04969782009720802, 0.059042830020189285, 0.22776184976100922, 0.062360040843486786, -0.38393744826316833, 0.587344229221344, -0.03460118547081947, -0.42197391390800476, -0.7981170415878296, -0.19059161841869354, 0.5132424831390381, -0.2787627875804901, -0.000763540447...
In my javascript I have this ``` loopDeLoop: while (foo !== bar) { switch (fubar) { case reallyFubar: if (anotherFoo == anotherBar) {
[ 0.4299536943435669, -0.22032365202903748, 0.4947553277015686, -0.4387202560901642, 0.24514183402061462, -0.11856576055288315, 0.381000816822052, -0.18950723111629486, -0.11849355697631836, -0.4004650413990021, 0.01183274108916521, 0.5646786093711853, -0.32119137048721313, -0.15822392702102...
break loopDeLoop; } break; default: break; } } ``` But JSLint says...
[ -0.03892112523317337, -0.1550523340702057, 0.18344929814338684, -0.2501002252101898, 0.3156907558441162, -0.5752318501472473, 0.7122657895088196, -0.00023776479065418243, -0.12399066984653473, -0.0691784992814064, -0.47254353761672974, 0.3646237552165985, -0.4902859926223755, 0.09590778499...
lint warning: use of label Here's the notes from [JSLint](http://www.jslint.com/lint.html) > Labels > > JavaScript allows any statement to have a label, and labels have a separate name space. JSLint is more strict. > > > JSLint expects labels only on statements that interact with break: switch, while, do, and ...
[ 0.40330758690834045, 0.07681910693645477, 0.18464945256710052, -0.05232219398021698, -0.2318989634513855, -0.4209245443344116, 0.5421308875083923, -0.23775029182434082, -0.1672738492488861, -0.3289700746536255, -0.13760869204998016, 0.3698156774044037, -0.47877562046051025, -0.092244192957...
reiterate, if you use labels at all, even correctly, JSLint will give that warning. Edit: Looks like you might be able to disable the label warning with a `-use_of_label` configuration directive.
[ 0.3787012994289398, -0.22482343018054962, -0.13337565958499908, 0.07347533106803894, 0.25031784176826477, -0.6512535214424133, 0.6145467162132263, 0.22810320556163788, -0.20903801918029785, -0.5873579978942871, -0.27869319915771484, 0.5803080201148987, -0.232920840382576, -0.04234628006815...
In our C++ course they suggest not to use C++ arrays on new projects anymore. As far as I know Stroustroup himself suggests not to use arrays. But are there significant performance differences? Using C++ arrays with `new` (that is, using dynamic arrays) should be avoided. There is the problem that you have to keep trac...
[ 0.28027766942977905, 0.3676542639732361, 0.10159230977296829, -0.14419853687286377, 0.06820891052484512, -0.14599233865737915, 0.19623251259326935, -0.3131643235683441, -0.4173949658870697, -0.3911758065223694, -0.11574915051460266, 0.7008697390556335, -0.361517071723938, -0.18026055395603...
You should use `std::array` in that case, which wraps a C++ array in a small class and provides a `size` function and iterators to iterate over it. Now, **std::vector vs. native C++ arrays** (taken from the internet): ``` // Comparison of assembly code generated for basic indexing, dereferencing, // and increment op...
[ -0.0673796534538269, -0.12783464789390564, 0.39372408390045166, -0.18433162569999695, -0.10379243642091751, 0.12251028418540955, 0.04256712272763252, -0.6151070594787598, -0.38739702105522156, -0.5742539763450623, -0.20538866519927979, 0.7089759707450867, -0.4543575644493103, 0.05192871764...
32(%rdi), %rax // movl 12(%rax), %eax // ret int vector_index (S & s) { return s.v[3]; } // movq 8(%rdi), %rax // movl 12(%rax), %eax // ret // Conclusion: Indexing a vector is the same damn thing as indexing a pointer. int pointer_deref (S & s) { return *s.p; } // movq 32(%rdi), %rax // mo...
[ -0.17690837383270264, 0.052092451602220535, 0.5951973795890808, -0.16564512252807617, -0.13088063895702362, 0.4757305085659027, 0.381251722574234, -0.42505791783332825, -0.40566912293434143, -0.2762381434440613, -0.05116632953286171, 0.5968739986419678, -0.7736112475395203, 0.0245517063885...
(%rax), %eax // ret // Conclusion: Dereferencing a vector iterator is the same damn thing // as dereferencing a pointer. void pointer_increment (S & s) { ++s.p; } // addq $4, 32(%rdi) // ret void iterator_increment (S & s) { ++s.i; } // addq $4, 40(%rdi) // ret // Conclusion: Incrementing a vector ...
[ 0.08863897621631622, -0.003107770811766386, 0.41162776947021484, -0.25051477551460266, -0.12001562863588333, 0.3162277042865753, 0.2916620373725891, -0.3850160241127014, -0.09040013700723648, -0.28709980845451355, -0.15062353014945984, 0.7146127820014954, -0.45038560032844543, 0.2089935243...
your elements initialized initially, using `new`-allocated arrays can have performance advantages because `std::vector` initializes all elements to default values (0 for int, for example) on construction (credits to @bernie for reminding me).
[ 0.15066714584827423, -0.2041730135679245, -0.14737273752689362, 0.004203323274850845, 0.043131858110427856, 0.12443351000547409, 0.10646956413984299, -0.15012001991271973, -0.20978426933288574, -0.7720946669578552, -0.009299480356276035, 0.44342270493507385, -0.08106715977191925, -0.337957...
We want to build a library of c# *snips* for .NET. We are looking around to see if there is something similar out there. The library will be open source and free to use and distribute. I see there is a similar question here, but is more theoretical than practical, I want to have [Good Source of .NET Dsg Patterns](htt...
[ 0.6471307873725891, 0.07046963274478912, 0.027437401935458183, 0.25762349367141724, -0.0022402580361813307, -0.20446094870567322, 0.11386946588754654, 0.2447892129421234, -0.2466878592967987, -0.7083545327186584, 0.10742512345314026, 0.2250407189130783, -0.3230205774307251, 0.0512942671775...
time back, was good for reference. <http://dofactory.com/Framework/Framework.aspx>
[ 0.20892862975597382, -0.12421300262212753, 0.33007651567459106, 0.10634830594062805, -0.06087888404726982, 0.2933275103569031, 0.22846850752830505, -0.004756695590913296, -0.01503588818013668, -0.6407689452171326, 0.4221016466617584, 0.09433052688837051, 0.13315068185329437, -0.09973460435...
I'm writing a small and inadequate linear algebra library in C++ for a project (I'm sorry). I'm implementing matrices and operations using double precision numbers. I'm doing right? Should I implement a template class instead? Is there a more precise type around? I've written a C++ linear algebra library using template...
[ 0.6045258045196533, 0.25107279419898987, -0.03367318958044052, -0.07211174815893173, -0.1479589343070984, -0.014190943911671638, -0.08008012175559998, 0.01199321635067463, -0.3776054382324219, -0.4107593297958374, 0.5096612572669983, 0.27261966466903687, -0.4552667737007141, -0.07927124947...
gone the other way, using types *smaller* than a double. For example, we've used float rather than double in a memory-bound application described [here](http://www.codeproject.com/KB/recipes/TailKeeper.aspx). But 99.9 percent of the time we use doubles. If you do use a template argument, watch out for using an integer...
[ 0.5569327473640442, -0.010942012071609497, -0.13310405611991882, -0.15253224968910217, -0.12077058106660843, -0.05162540078163147, 0.36218562722206116, -0.07628899812698364, -0.5600587129592896, -0.3437640368938446, 0.21269549429416656, 0.5433027744293213, -0.33025500178337097, 0.046339515...
Syntactic sugar for properties for example in C#: ``` private int x; public int X{ get { return x; } set { x = value; } } ``` or simply ``` public int X{ get; set; } ``` I am missing verbatim strings in java... @"C:\My Documents\" instead of "C:\\My Documents\\" Do you agree Java needs more "sugar"? An...
[ -0.27086079120635986, 0.07971053570508957, -0.05153743177652359, 0.14849120378494263, -0.26204583048820496, 0.006062028463929892, 0.3698922097682953, 0.2266278713941574, -0.22210299968719482, -0.5485433340072632, -0.14209923148155212, 0.19453652203083038, -0.473987340927124, 0.032030723989...
language with few constructs, kind of a lowest common denominator *lingua franca* in the programming community. It was largely a reaction to the complexity of C++. There is supposed to be very little "magic" in it, beyond what is needed (garbage collection, mostly) to make it a memory-safe language. If you want more s...
[ -0.010966864414513111, -0.004003430716693401, -0.21061666309833527, 0.08958924561738968, -0.22712203860282898, -0.04127344861626625, 0.5405569076538086, 0.5514131188392639, -0.15087002515792847, -0.326518714427948, 0.09581958502531052, 0.3884483873844147, -0.40763115882873535, -0.252348035...
I want to perform this *CODE* equivlant in the castle xml config file. // Foo(string name) IFoo f = new Foo(StaticBarClass.Name); *XML* Now for the XML, I know everything (e.g. the blah) except for the stuff inside the parameter part. What would the parameter part look like? ``` <component id="blah" se...
[ 0.2558816373348236, 0.17422227561473846, 0.5766122937202454, -0.24512454867362976, -0.053592681884765625, -0.24578094482421875, 0.21285617351531982, -0.3598390519618988, -0.25261354446411133, -0.35892727971076965, 0.0236807968467474, 0.6119861602783203, -0.18032841384410858, 0.004683690145...
a very simple, easy to reason about language with few constructs, kind of a lowest common denominator *lingua franca* in the programming community. It was largely a reaction to the complexity of C++. There is supposed to be very little "magic" in it, beyond what is needed (garbage collection, mostly) to make it a memor...
[ 0.048870209604501724, 0.012822096236050129, -0.28545066714286804, 0.19160205125808716, -0.3112287223339081, -0.11462932825088501, 0.2954654395580292, 0.4224392771720886, -0.045151129364967346, -0.1575874537229538, 0.004601720254868269, 0.42524006962776184, -0.15520909428596497, -0.07169786...
Is there anyway to change the content-type of an XML document, in the XML document? I'm working with a really old system that passes back HTML (and we are trying to make it return XML). I'm retrieving it from XMLHttpRequest, and I noticed using netcat that it isn't passing back any content-type headers. When I rece...
[ 0.15383777022361755, -0.20565739274024963, 0.47385555505752563, 0.22032886743545532, -0.4100158214569092, -0.11098399013280869, 0.1136123463511467, -0.08754917979240417, -0.4774080514907837, -0.39650487899780273, -0.07503997534513474, 0.35570359230041504, -0.39794549345970154, 0.0046172882...
your question) is part of the HTTP headers. And HTTP is the mere *means of transportation* for (say) XML documents. They are payload, they know nothing about the HTTP headers, so they can't change them. What you probably mean is "Is there an equivalent to `<meta http-equiv="...` in XML. No, there is not. Even HTML ca...
[ 0.30981218814849854, -0.07275141775608063, 0.31276941299438477, 0.37778833508491516, 0.03779473528265953, -0.0764034241437912, -0.09104284644126892, -0.1668543517589569, -0.29972681403160095, -0.6140648126602173, -0.14735043048858643, 0.27654731273651123, -0.27737680077552795, 0.0757601112...
version="1.0" encoding="UTF-8"?>`) at the top of the file. No header info is are needed to load/display it correctly.
[ 0.00038775696884840727, 0.007882950827479362, 0.6437133550643921, -0.17725780606269836, 0.1077248603105545, -0.4839896261692047, 0.20508943498134613, 0.28611165285110474, 0.002844457281753421, -0.7082752585411072, -0.6960853934288025, 0.303883820772171, -0.5306111574172974, 0.1466199606657...
My app sends lots and lots of data to SAP. To di this, it builds up an SAP table object and sends it over. I get this error somewhat regularly, but not reliably: ``` System exception thrown while marshaling .NET type 20081219 to RFCTYPE_BCD at SAP.Connector.Rfc.RfcMarshal.NetFieldToRfcField(Object src, RFCTYPE type...
[ -0.08313404768705368, 0.3131886124610901, 0.5995962023735046, -0.02500159665942192, 0.0779527872800827, 0.5526745319366455, 0.3889719545841217, -0.12742605805397034, -0.2271348088979721, -0.8045067191123962, -0.22584426403045654, 0.3869107663631439, -0.4540316164493561, -0.2984886169433594...
Object[] MethodParamsIn, RFC_PARAMETER[]& paramsIn, RFC_PARAMETER[]& paramsOut, RFC_TABLE[]& tables, ParameterMap[]& paramMaps) at SAP.Connector.Rfc.RfcClient.RfcInvoke(SAPClient proxy, String method, Object[] methodParamsIn) at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) ``` What'...
[ -0.22352933883666992, 0.12774066627025604, 0.46258544921875, 0.16129378974437714, -0.19191007316112518, -0.10809039324522018, 0.36263665556907654, 0.22415119409561157, -0.49367430806159973, -0.5463152527809143, -0.24167385697364807, 0.02177160233259201, -0.07194635272026062, 0.351477533578...
Nothing, sapTable, ResultTable) End Using ``` I'm thinking maybe multiple threads are using the same connection some how. Using `SAP.Connector.GetNewConnection` instead didn't change anything. --- **Update:** It seems this problem occurs even when I run a single thread! What's the deal?? Is there a way to disable...
[ 0.21183498203754425, 0.08366149663925171, 0.37897953391075134, 0.050641510635614395, -0.29957249760627747, -0.4282281696796417, 0.6873255968093872, 0.24896658957004547, -0.5929549336433411, -0.728283703327179, -0.06294408440589905, 0.5602174401283264, -0.3186578154563904, 0.321470707654953...
The options that I can think of are: * Try to use debugger on the single threaded version. * The magical way. Even without finding the bug ( That is on sap or your code). Just changing the way you do business can make it go away. Its ugly, but sometimes practical. Anyway the recommended way for your scenario seems to ...
[ 0.15642817318439484, -0.09841932356357574, 0.2564712464809418, 0.20623266696929932, 0.1896926909685135, -0.2054060399532318, 0.31159350275993347, 0.2346532940864563, -0.23288744688034058, -0.7851452231407166, -0.05715211480855942, 0.5070609450340271, -0.40121105313301086, 0.106727473437786...
proxy.TheSapRfcICall(SapOpCode, Nothing, Nothing, sapTable, ResultTable) } ``` --- This sample is using implicitly the connection pool. The use of can be controlled from the config file. **Update 3:** Can you please check your librfc32.dll version and date? its should be in system32 directory or in your applicatio...
[ -0.0886860191822052, 0.15455642342567444, 0.3094669580459595, -0.026595111936330795, -0.5149935483932495, -0.16873283684253693, 0.2028283029794693, 0.2509259283542633, -0.0579330138862133, -0.7896702885627747, -0.0968320369720459, 0.04655628278851509, -0.2062307745218277, 0.132929146289825...