text stringlengths 0 30.5k | title stringclasses 1
value | embeddings listlengths 768 768 |
|---|---|---|
purpose. If you really care about immedatly notification of a change, it is very efficient. Your code sits in tight loop, constantly polling (asking) a resource whether it has changed / updated. This means you are notified as soon as you can be that something is different. But, your code is not doing anything else and ... | [
0.5150911808013916,
-0.18682782351970673,
0.26207587122917175,
0.2333725541830063,
-0.07724080979824066,
-0.01058700866997242,
0.3566524386405945,
-0.20442640781402588,
-0.4012014865875244,
-0.8533744215965271,
0.17559237778186798,
0.5283714532852173,
-0.2528379559516907,
-0.08079575747251... | |
and you might miss critical changes, too short and you are back to the problems of the first method.
Alternatives, such as interrupts or messages, etc. can provide a better compromise in these situations. You are notified of a change as soon as is practically possible, but this delay is not something you control, it d... | [
0.28136998414993286,
-0.2018985003232956,
0.3885532021522522,
0.5389066934585571,
-0.053279515355825424,
-0.13519743084907532,
-0.03632030636072159,
-0.14007572829723358,
-0.2796161472797394,
-0.5948055982589722,
0.25078877806663513,
0.3633982241153717,
-0.27191635966300964,
0.184546887874... | |
inherently wrong.
* It can be very effective.
* It is very simple. | [
0.29713913798332214,
0.04359693080186844,
-0.20568665862083435,
0.27607986330986023,
-0.3737471103668213,
-0.03155846893787384,
0.29909446835517883,
-0.12225274741649628,
0.2718341052532196,
-0.6147223114967346,
0.05818978697061539,
0.6641160845756531,
-0.30191570520401,
-0.110342338681221... | |
Is there a way to limit the rows returned at the Oracle datasource level in a Tomcat application?
It seems `maxRows` is only available if you set it on the datasource in the Java code. Putting `maxRows="2"` on the datasource doesn't apply.
Is there any other way limit the rows returned? Without a code change?
It isn'... | [
0.04610634595155716,
-0.14360977709293365,
0.5498456358909607,
-0.014767774380743504,
0.05340076610445976,
-0.043450310826301575,
0.177444726228714,
-0.13180550932884216,
-0.4473678171634674,
-0.2615015506744385,
0.047524284571409225,
0.5942215323448181,
-0.33123263716697693,
-0.0260332841... | |
drop the ones outside the range. You would really need to use rownum to make it work well with Oracle and you can't do that either in the configuration. | [
0.6170042157173157,
-0.10984323918819427,
-0.11793699115514755,
0.07032167911529541,
-0.11763057112693787,
-0.11266188323497772,
-0.23558565974235535,
-0.21446435153484344,
0.28186503052711487,
-0.07337101548910141,
0.2127895951271057,
0.802628219127655,
-0.10432080924510956,
-0.1620828956... | |
I would like to create a WLST script to create my Weblogic domain. However I'm having problems adding the LDAP config.
```
cd("/SecurityConfiguration/myDomain")
cmo.createRealm("myrealm")
cd("/SecurityConfiguration/myDomain/Realms/myrealm")
cmo.createAuthenticationProvider("myLDAP", "weblogic.security.providers.authe... | [
0.09863600879907608,
0.13304086029529572,
0.8238677382469177,
0.08927696198225021,
0.03732314705848694,
-0.2802571654319763,
0.307611346244812,
-0.36762797832489014,
0.11722336709499359,
-0.7932270169258118,
-0.06875836849212646,
0.5823212265968323,
-0.12139597535133362,
0.1213794052600860... | |
In a C# application I am working on I have a very long identifier as follows:-
```
foo.bar.bwah.blah.whatever.very.very.huge
```
Whenever I to reference this object it's an absolute nightmare, and unfortunately I do need to reference it a lot:-
```
var something = foo.bar.bwah.blah.whatever.very.very.huge.a;
var so... | [
0.11012351512908936,
0.2765974700450897,
0.33388203382492065,
-0.2593201994895935,
0.2547716200351715,
-0.15594178438186646,
0.6758754849433899,
0.3375706076622009,
-0.26137757301330566,
-0.5560194253921509,
-0.18976125121116638,
0.38592737913131714,
-0.09339464455842972,
0.406374126672744... | |
is something like the following:-
```
foo.bar.bwah.blah.whatever.very.very.huge.a = "hello";
string** shorterPointer = &foo.bar.bwah.blah.whatever.very.very.huge.a;
foo.bar.bwah.blah.whatever.very.very.huge.a = "world";
Console.WriteLine(**shorter);
```
Which would output "world" as required.
I believe you can achi... | [
0.03831462189555168,
0.3558729887008667,
0.19141945242881775,
-0.06633753329515457,
0.047914452850818634,
-0.12466119974851608,
0.464542418718338,
0.061119407415390015,
-0.08412761241197586,
-0.3357459306716919,
-0.18908965587615967,
0.44400134682655334,
-0.16301532089710236,
0.23893068730... | |
*instantiating different objects* on each occasion, hence my stored reference to a becomes invalid after re-assignment.
One way out is to use one or a pair of lambdas.
For example:
```
Func<string> getter = () => blah_de_blah;
Action<string> setter = x => blah_de_blah = x;
```
Now, you can use getter and setter to ... | [
0.23800167441368103,
-0.0687413290143013,
0.35480040311813354,
-0.22187216579914093,
0.03924848884344101,
-0.056628916412591934,
0.1878776103258133,
-0.18639110028743744,
-0.26128295063972473,
-0.5479868650436401,
-0.3529036343097687,
0.19511117041110992,
-0.49744492769241333,
0.1697536557... | |
of the [Law of Demeter](http://en.wikipedia.org/wiki/Law_of_Demeter), which inhibits the flexibility of the codebase - it requires too much information in too many places. | [
0.15438500046730042,
0.3228059411048889,
-0.36236751079559326,
0.013525033369660378,
0.23776032030582428,
0.04897512495517731,
0.35254767537117004,
-0.5768532752990723,
0.06951818615198135,
-0.3668361008167267,
-0.3462465703487396,
0.5049722790718079,
-0.3935537338256836,
0.364887773990631... | |
I'm using MVC to validate some html text boxes on a page, for example in my controller there is
```
if (String.IsNullOrEmpty(name))
{
ModelState.AddModelError("name", "You must specify a name.");
}
if (ViewData.ModelState.IsValid)
{
return RedirectToActi... | [
0.06160193681716919,
-0.3923276960849762,
0.946722686290741,
-0.10151256620883942,
0.16632409393787384,
-0.20996074378490448,
0.13246983289718628,
-0.36509737372398376,
-0.20405510067939758,
-0.6202914714813232,
-0.01593136228621006,
0.5673403143882751,
-0.301200270652771,
0.35510322451591... | |
problem is here, if validation fails, it fails returning View("Add") reason being controllers don't process views on return view(), an option would be to use RedirectToView("viewname"); and that'll work fine EXCEPT it doesn't carry through the validation AddModelError stuff ("it's as if loading the page for the first t... | [
0.31106317043304443,
-0.2891472280025482,
0.7797690629959106,
-0.18777534365653992,
0.0645686462521553,
-0.010785037651658058,
0.20421148836612701,
-0.4886326789855957,
-0.3299640417098999,
-0.6468514204025269,
-0.13224954903125763,
0.5385929942131042,
-0.35899966955184937,
0.1568983346223... | |
"accomodationId", "accomodationType");
ViewData["regionName"] = new SelectList(regionList, "regionId", "regionName");
return View();
```
that works fine, however, I think there is a better way rather than repeating that block of code, does anyone know any way of returning a redirected view and passing... | [
-0.1600305140018463,
-0.39977404475212097,
0.6845964193344116,
-0.0804077684879303,
0.10865313559770584,
0.11321782320737839,
-0.03861841559410095,
-0.20503033697605133,
-0.2145308256149292,
-0.5284732580184937,
-0.3195860683917999,
0.8801366090774536,
-0.31534501910209656,
-0.013194963335... | |
POST action (which is, I presume, what you're showing above; it isn't clear) you can call the same, private method to populate ViewData. Now you no longer have any duplicated code. Remember that ViewData is a property of the Controller type, so you can set it anywhere, not just in the action method itself. | [
0.2207227647304535,
-0.45032230019569397,
0.4524478614330292,
0.2573850154876709,
-0.10344269871711731,
-0.12385447323322296,
-0.05893533304333687,
0.21393713355064392,
-0.4072394371032715,
-0.5607503056526184,
-0.2524680495262146,
0.2367180585861206,
-0.4909147322177887,
0.265056610107421... | |
I need to implement a browser based component (most likely java applet since it needs to be cross-browser) that will allow us to digitally sign and verify data in the XadES format. What options are available and what is the best solution?
I found one that seems to work, but is still in development and has some bugs:
<h... | [
0.49858641624450684,
0.10020074993371964,
0.1633964627981186,
0.31292885541915894,
0.28851714730262756,
-0.09267066419124603,
0.40570947527885437,
-0.11548565328121185,
0.26449599862098694,
-0.7427495121955872,
0.04089939221739769,
0.10201258957386017,
0.09369638562202454,
-0.1900680512189... | |
Marked a javascript file as "Embedded resource"
Added WebResource attribute to my AssemblyInfo class
Now i'm trying to output the embedded javascript to my master page. All I'm getting is a "Web Resource not found" from the web resource url.
Project Assembly Name:
```
CompanyProduct
```
Project Default Name... | [
-0.061592038720846176,
0.42648518085479736,
0.37089723348617554,
-0.29838043451309204,
0.4220126271247864,
-0.07648134231567383,
0.2504754662513733,
0.03719208389520645,
-0.10156611353158951,
-0.7705782651901245,
-0.3577246367931366,
0.5359528064727783,
-0.2288704365491867,
0.2455834597349... | |
review the following URL and make sure that it is spelled correctly.
**Requested URL:** /WebResource.axd
**Version Information:** Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Instead of `this.GetType()`, get a type from the assembly that contains the resource.. ie:
```
typeof(Co... | [
0.4966777265071869,
0.3433864116668701,
0.4374427795410156,
-0.04579133167862892,
-0.011257934384047985,
-0.18124161660671234,
0.46646514534950256,
-0.08716801553964615,
0.08583374321460724,
-0.7551930546760559,
-0.3340754210948944,
0.15519195795059204,
-0.2834693491458893,
0.1830411851406... | |
My code runs inside a JAR file, say **foo.jar**, and I need to know, in the code, in which folder the running **foo.jar** is.
So, if **foo.jar** is in `C:\FOO\`, I want to get that path no matter what my current working directory is.
```
return new File(MyClass.class.getProtectionDomain().getCodeSource().getLocation()... | [
0.40691235661506653,
0.10249388962984085,
0.3025699853897095,
-0.13402433693408966,
0.3127075433731079,
0.005376789253205061,
0.5809308290481567,
0.058215778321027756,
-0.035991597920656204,
-0.8478987216949463,
-0.13963259756565094,
0.5474757552146912,
-0.12778694927692413,
0.235847324132... | |
I am currently doing some socket programming using C/C++. To be able to use a somewhat cleaner interface, and a more OO structure, I decided to write a few simple wrapper classes around parts of the C socket API, but while doing so I stumbled upon a problem:
Given the following code:
```
// Global method
int foo(int ... | [
0.08572995662689209,
0.4480205178260803,
0.09983963519334793,
-0.37837836146354675,
-0.06922443211078644,
0.27808499336242676,
0.19711311161518097,
-0.013424457050859928,
-0.1173153966665268,
-0.4095878601074219,
0.06518083810806274,
0.4501650929450989,
-0.5970067381858826,
0.2104255259037... | |
‘FooBar::foo(int)’
test.cpp:9: note: candidates are: void FooBar::foo()
```
Renaming the class method solves the problem.
Why is it that there is some kind of naming conflict even though the method signatures are different? What is the best way to fix this?
Thanks
/Erik
The problem is that it first looks in the sco... | [
0.01585465855896473,
0.28893759846687317,
0.07986310869455338,
0.06656584143638611,
-0.04469149932265282,
-0.07310380786657333,
0.5469454526901245,
-0.04051288962364197,
-0.050066009163856506,
-0.3205547034740448,
-0.26426735520362854,
0.6755780577659607,
-0.43130847811698914,
0.3454489707... | |
the function within baz:
```
void baz() { int foo(int); foo(1); }
```
The scope that the foo function is assumed to be defined in is the surrounding namespace of your class. | [
0.07493966072797775,
0.22329898178577423,
0.12412182241678238,
-0.36834943294525146,
0.10789554566144943,
-0.003994967322796583,
0.06866329908370972,
0.08323641866445541,
0.06995238363742828,
-0.2949158549308777,
-0.3923938572406769,
0.5613126754760742,
-0.6710291504859924,
0.0883734971284... | |
if i have :
```
<div class="carBig"></div>
```
and
```
<div class="car"></div>
```
and $(".car").size();
i get 2 items ..
I think you may have something funky somewhere that's throwing it off. If I run this very simple example, it works just as expected.
```
<html>
<head>
</head>
<script type="text/javascript" ... | [
0.4902729392051697,
0.007903169840574265,
0.2993171215057373,
0.04917523264884949,
-0.1456167995929718,
-0.006893893238157034,
-0.0890575498342514,
-0.47651833295822144,
-0.3290998637676239,
-0.49596115946769714,
-0.2268136739730835,
0.39722445607185364,
-0.08085637539625168,
-0.1042539328... | |
Is it possible to checkout only those files from a SVN repository that were modified in a revision or range of revisions, without checking out any files that were not modified?
My suggestion is in the same lines as flolo suggests. But, takes a range.
You could the following shell function.
```
function checkout_files_... | [
-0.20746566355228424,
0.07970665395259857,
0.65000319480896,
-0.21004170179367065,
0.34267932176589966,
-0.2070111185312271,
0.33125123381614685,
-0.1932753175497055,
-0.10669956356287003,
-0.4547836184501648,
-0.3315103054046631,
0.8790740966796875,
-0.23602819442749023,
0.087731517851352... | |
A bit of background first:
* I am using "base" code from a remote SVN repository, not under my control. The code is not tagged (yet), so I always need to keep up with the trunk.
* For a number of reasons (the most important being that our local extensions to the code are of a "niche" nature, and intended to solve a sp... | [
0.6243811249732971,
0.20967146754264832,
0.06466878205537796,
0.12611784040927887,
0.219752699136734,
-0.2597977817058563,
0.3069547414779663,
0.2903513014316559,
-0.549735963344574,
-0.2673243284225464,
0.06549053639173508,
0.473995178937912,
0.055761098861694336,
0.11543194204568863,
-... | |
the "local" versioning.
The problem I'm faced with: I can't figure out if there's a good way to have the code simultaneously synchronized with both repositories. That is, I would like to keep the "remote" version information (so that I can merge in future changes), but I would also like to have "local" version informa... | [
0.2925560772418976,
-0.042241938412189484,
0.3657798171043396,
0.15953126549720764,
0.19302348792552948,
-0.25157973170280457,
0.3422633409500122,
0.3518519699573517,
-0.40141239762306213,
-0.7082712054252625,
-0.11581078171730042,
0.7163834571838379,
-0.4060896039009094,
0.381700307130813... | |
needs to be synchronized independently.
Is there a way to do this in subversion? Or do you have suggestions about alternative ways of approaching this?
I did this using git svn, with my development done in a git repository. The remote development is done in subversion. I made a git svn clone of the subversion reposit... | [
0.6202901601791382,
-0.18415124714374542,
0.44452211260795593,
0.040680792182683945,
-0.15953052043914795,
0.17483344674110413,
0.10153684765100479,
0.0020727163646370173,
-0.46791714429855347,
-0.4498414695262909,
0.2403695285320282,
0.5747787356376648,
-0.41700559854507446,
0.20634664595... | |
- the "local development" origin and the "from subversion mirror" origin. Whenever I feel the need, I can merge changes from the subversion mirror into our development tree. Local changes are not affected, they live apart and don't mess up the svn mirror.
I used [gitosis](http://scie.nti.st/2007/11/14/hosting-git-repo... | [
0.24981632828712463,
0.052011873573064804,
0.6195781230926514,
-0.09933421015739441,
0.040073320269584656,
0.12168069928884506,
0.18511241674423218,
-0.08564341813325882,
-0.15158887207508087,
-0.8249019384384155,
-0.04519600793719292,
0.511428713798523,
-0.013487215153872967,
0.1897204518... | |
clone git://$MACHINE/svnmirror.git
# that's an anonymous, read only clone
# no push to the svn mirror for developers - only cronjob user can push there
git remote add newproject git@$MACHINE:myproject.git
git push newproject
# now do the real deal
git clone git://$MACHINE/myproject.git
# hack hack hack
git push # orig... | [
0.4257761836051941,
-0.12773890793323517,
0.5377034544944763,
-0.03433613106608391,
0.17233242094516754,
-0.07917783409357071,
0.027133315801620483,
-0.2885189354419708,
0.0010989856673404574,
-0.525529146194458,
0.028178883716464043,
0.5967976450920105,
-0.04334243759512901,
0.51954716444... | |
Is it acceptable to add types to the `std` namespace. For example, I want a TCHAR-friendly string, so is the following acceptable?
```
#include <string>
namespace std
{
typedef basic_string<TCHAR> tstring;
}
```
Or should I use my own namespace?
No ... part of the point of a namespace is to prevent name collisi... | [
0.43125131726264954,
0.24878358840942383,
0.13952288031578064,
-0.06041305884718895,
-0.23552201688289642,
-0.3367827832698822,
0.3006044626235962,
-0.050198107957839966,
-0.07323460280895233,
-0.5732753276824951,
-0.15941625833511353,
0.6312224268913269,
-0.48812660574913025,
0.0792624205... | |
I'm rewriting a PHP+MySQL site that averages 40-50 hits a day using Django.
Is SQLite a suitable database to use here? Are there any advantages/disadvantages between them?
I'm just using the db to store a blog and the users who can edit it. I am using fulltext search for the blog search, but no complex joins anywher... | [
0.4039487838745117,
0.21849553287029266,
0.37282657623291016,
0.048635613173246384,
-0.36584362387657166,
-0.13880443572998047,
0.20983092486858368,
-0.13051442801952362,
-0.23129363358020782,
-0.6793213486671448,
0.20574387907981873,
0.5193833708763123,
-0.2448214888572693,
0.066725425422... | |
Good morning,
I work in a small shop (only two of us) and we currently manage more .vbs scripts that we would like to (we would like to manage zero). One of the nice things about these scripts is that it's quick to make changes (as necessary) and go back to our day jobs.
That's all nice and good until we decide that... | [
0.9104598760604858,
0.20955614745616913,
0.39030706882476807,
0.13053357601165771,
0.11655513942241669,
-0.12692561745643616,
-0.020391179248690605,
0.18863064050674438,
-0.12299061566591263,
-0.8574092984199524,
0.3507138192653656,
0.47757816314697266,
0.0653918981552124,
0.01438994985073... | |
that people have used and like? I'd prefer free/cheap tools, naturally.
Regards,
-Alan.
[PowerShell](http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx) is the "next generation, .NET-based scripting platform" from Microsoft. I haven't looked at it in detail, but from what I've ... | [
0.35748597979545593,
0.16974662244319916,
-0.11395193636417389,
0.1362195611000061,
-0.15783989429473877,
-0.11566296219825745,
0.027013124898076057,
0.31803959608078003,
-0.12853170931339264,
-0.5362219214439392,
-0.15328647196292877,
0.6249025464057922,
-0.22895345091819763,
0.0155863258... | |
static, but with duck-typing where you want it). | [
-0.08547728508710861,
-0.2800009250640869,
0.38634341955184937,
0.1883651465177536,
0.09306543320417404,
0.11081065237522125,
0.030625516548752785,
0.33099886775016785,
-0.3529248535633087,
-0.08411560207605362,
-0.4571080803871155,
0.3046860992908478,
-0.6035262942314148,
-0.0157444290816... | |
I understand that you can now create MVC-specific user controls, but will my existing standard ASCX user controls work in an MVC view?
I understand that MVC pages have a completely different lifecycle but will, for example, a Page\_Load method be invoked as normal when the control is sitting in a view?
If your standa... | [
0.1258821189403534,
-0.15507811307907104,
0.5534175634384155,
0.06522930413484573,
-0.2077975571155548,
-0.1501110941171646,
0.05067427083849907,
-0.058096032589673996,
-0.24508218467235565,
-0.5292987823486328,
-0.08324160426855087,
0.7655430436134338,
-0.5017508268356323,
0.2023617178201... | |
I'm sure you've all seen them. Line of Business UIs that have logic such as: "When ComboA is selected, query for values based on that selection, and populate Textbox B", or "When ButtonC is pressed, disable Textboxes C and D", and on and on ... it gets particularly bad when you can have multiple permutations of the log... | [
0.3319688141345978,
-0.08292590826749802,
0.17571435868740082,
0.15569445490837097,
-0.09918897598981857,
-0.12420990318059921,
-0.10902343690395355,
0.037983302026987076,
-0.43868300318717957,
-0.7940406799316406,
-0.07629668712615967,
0.5914934277534485,
-0.2887052297592163,
0.2743836343... | |
logic of the UI state maintainable? what would be the process you use to determine how this would ideally be presented and implemented?
Not that I think this should matter for the responses, but I am currently presented with just this "opportunity", and it's an ASP.NET web page that uses javascript to respond to the u... | [
0.04295716434717178,
-0.045416753739118576,
0.1035187616944313,
0.36119791865348816,
-0.041879042983055115,
-0.09375518560409546,
0.24938060343265533,
-0.22445178031921387,
-0.17978481948375702,
-0.6291402578353882,
0.014098171144723892,
0.691230297088623,
-0.1349119395017624,
-0.076369307... | |
but actually different. Someone maybe grouped these onto on page because there were enough similarities.
If you can try looking at the problem as if it were not implemented at all, how would you structure the user interface if you had to implement it now. If it is too radically different and existing users would have... | [
0.6102964878082275,
0.06879963725805283,
-0.2901204228401184,
0.13974182307720184,
-0.25062501430511475,
0.2865539491176605,
-0.04824578016996384,
-0.12673304975032806,
-0.2342614084482193,
-0.7674140334129333,
0.38249123096466064,
0.49210241436958313,
-0.36683326959609985,
0.4802349805831... | |
I need to have the output of a PHP snippet in a Plone site. It was delivered to be a small library that has a display() function, in PHP, that outputs a line of text. But I need to put it in a Plone site. Do you have any recommendations?
I was thinking a long the lines of having a display.php that just runs display() ... | [
0.6113277077674866,
0.1139545738697052,
0.19980716705322266,
0.16814202070236206,
-0.19927144050598145,
-0.0262015201151371,
-0.11328506469726562,
0.24077771604061127,
-0.30110910534858704,
-0.6698039770126343,
0.3076714873313904,
0.38214111328125,
0.07630245387554169,
-0.03592786937952041... | |
Plone template?
One important and critical constraint is that the output should be directly on the HTML and not an an iframe. This is a constraint coming from the outside, nothing technical.
Another option is to run the PHP script on the server using os.popen, then just printing the output. Quick and dirty example:
`... | [
0.5712146162986755,
-0.07638248801231384,
0.23021908104419708,
-0.01039499044418335,
-0.2358887493610382,
0.07613338530063629,
-0.03441285714507103,
-0.2165282815694809,
-0.15295098721981049,
-0.46059611439704895,
0.036884862929582596,
0.6135293245315552,
-0.5018371939659119,
-0.2707318365... | |
**What happens in the memory when a class instantiates the following object?**
```
public class SomeObject{
private String strSomeProperty;
public SomeObject(String strSomeProperty){
this.strSomeProperty = strSomeProperty;
}
public void setSomeProperty(String strSomeProperty){
this.s... | [
-0.0826915055513382,
-0.1616218388080597,
0.2013131082057953,
-0.14929193258285522,
0.17745593190193176,
0.09393034130334854,
0.12011060863733292,
0.08846830576658249,
-0.5385732650756836,
-0.34357011318206787,
-0.5785658955574036,
0.47939953207969666,
-0.2845933437347412,
0.06176020577549... | |
to the newly instantiated object and its properties?**
Let's step through it:
```
SomeObject so1 = new SomeObject("some property value");
```
... is actually more complicated than it looks, because you're creating a new String. It might be easier to think of as:
```
String tmp = new String("some property value");
S... | [
0.04011957347393036,
-0.33195650577545166,
0.15378624200820923,
-0.05290260165929794,
-0.09997586905956268,
-0.022784437984228134,
0.1337250918149948,
-0.07400652021169662,
-0.2791210412979126,
-0.4753435254096985,
-0.2577090561389923,
0.48774099349975586,
-0.23701830208301544,
0.005837934... | |
the String. You typically don't know or care about the internals of the String implementation, so just take it on trust that a chunk of memory is being used to represent "some property value". Also, you have some memory temporarily allocated containing a reference to the String. In the second form, it's explicitly call... | [
0.0668562799692154,
-0.1317024827003479,
0.1985376477241516,
-0.10716207325458527,
-0.1785210520029068,
-0.11164479702711105,
0.16442561149597168,
0.05176124721765518,
-0.3613347113132477,
-0.45997363328933716,
-0.2225360870361328,
0.35597169399261475,
-0.33036401867866516,
-0.178845360875... | |
that `strSomeProperty` is just a reference to a String. For now, it'll be initialised to null.
Next, the constructor is executed.
```
this.strSomeProperty = strSomeProperty;
```
All this does is copy the *reference* to the String, into your `strSomeProperty` field.
Finally, space is allocated for the object refer... | [
0.014197045937180519,
0.04237062856554985,
0.5078326463699341,
-0.2490282505750656,
0.2699626386165619,
0.11239182204008102,
0.032939497381448746,
-0.02158762700855732,
-0.15507465600967407,
-0.4928203821182251,
-0.3863757252693176,
0.3613111972808838,
-0.27129223942756653,
-0.009717818349... | |
I have some funny deadlock caused by a stupid simple SQL UPDATE query, on a flat plain table, under default "READ COMMITED" transaction.
```
UPDATE table SET column=@P1 WHERE PK=@P2
```
Column `PK` is `varchar(11)`, has a clustered index on it.
no trigger or table relation..etc on the table.
I did some check and fi... | [
0.029099199920892715,
0.44322776794433594,
0.4746021628379822,
0.05110228434205055,
-0.01609986461699009,
-0.05013146251440048,
0.3148559629917145,
0.022560587152838707,
-0.5033503770828247,
-0.543349027633667,
-0.01657744310796261,
0.5092974901199341,
-0.21098202466964722,
0.4256351590156... | |
reduce the number of locks it takes for one single row update without using cursor?
--
Thanks for your suggestion.
I had tried to rebuild the index a few times, with high and low fill factor. I had tried to make processes update different position/slice. But nothing got improved or worst.
--
I tried the SQL Server... | [
0.07523136585950851,
0.18686068058013916,
0.4118026793003082,
0.034797247499227524,
-0.11428305506706238,
0.15546442568302155,
0.10305353999137878,
-0.2942448854446411,
-0.47478869557380676,
-0.7460011839866638,
0.21800021827220917,
0.7811789512634277,
-0.35512712597846985,
0.1034607440233... | |
2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock 0 971497 102 - Resource type Exchange | [
-0.5208908319473267,
0.08092848211526871,
0.12134039402008057,
0.21760448813438416,
-0.12381121516227722,
0.16709552705287933,
0.4153040945529938,
-0.10856102406978607,
-0.15464405715465546,
-0.47596344351768494,
-0.08959511667490005,
0.32952627539634705,
-0.1331561803817749,
0.40243130922... | |
Lock:Deadlock Chain 17887476 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 209 1:438102 | [
-0.2968255281448364,
0.16747261583805084,
0.4202427268028259,
0.035032063722610474,
0.11758901178836823,
0.24729974567890167,
0.5378034710884094,
-0.671176016330719,
-0.5778684020042419,
0.21964605152606964,
-0.16137810051441193,
0.2685745060443878,
-0.2576379179954529,
0.3271954357624054,... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006271 0 0X56AF060001000000000000001B0006 27 0 - LOCK 4 - U 0 72057594040352768 1 - TRANSACTION 0 6 - PAGE mydatabase 971497 101 - Resource type Lock
Lock:Deadlock Chain 17887477 | [
-0.5122663378715515,
0.41228896379470825,
0.49267205595970154,
-0.03490937873721123,
-0.13298048079013824,
0.2768881022930145,
0.4046516418457031,
-0.6760278940200806,
-0.1768239438533783,
-0.17049577832221985,
-0.13763296604156494,
0.3246598541736603,
-0.252517431974411,
0.302152395248413... | |
1 0X01 4 myserver 2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock 0 | [
-0.387874960899353,
-0.08256934583187103,
0.12605589628219604,
0.01218671165406704,
-0.2725028097629547,
-0.15317687392234802,
0.5740139484405518,
-0.06196914240717888,
0.08639609068632126,
-0.413863867521286,
-0.05149852856993675,
0.35357096791267395,
-0.4987083375453949,
0.18168719112873... | |
971497 102 - Resource type Exchange Lock:Deadlock Chain 17887478 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 54 1:426206 | [
-0.47393909096717834,
0.2601499855518341,
0.1364147663116455,
0.13464108109474182,
0.1221507266163826,
0.24516364932060242,
0.35196542739868164,
-0.34968385100364685,
-0.2930833697319031,
-0.053276970982551575,
-0.12394098937511444,
0.16815584897994995,
-0.3169970214366913,
0.3620845079421... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006240 0 0XDE80060001000000000000001B0006 27 0 - LOCK 4 - U 0 72057594040352768 1 - TRANSACTION 0 6 - PAGE mydatabase 971497 101 - Resource type Lock | [
-0.5859794616699219,
0.3660700023174286,
0.4321274757385254,
0.07291009277105331,
-0.07514186948537827,
0.18535540997982025,
0.3036348819732666,
-0.48463645577430725,
-0.08194997161626816,
-0.4795248806476593,
-0.12898576259613037,
0.327302485704422,
-0.24182790517807007,
0.142095789313316... | |
Lock:Deadlock Chain 17887479 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 209 1:426206 | [
-0.24540874361991882,
0.15655982494354248,
0.42837658524513245,
0.0313088558614254,
0.1011154055595398,
0.2295684516429901,
0.5391843318939209,
-0.6825070977210999,
-0.5810316801071167,
0.23402483761310577,
-0.14953579008579254,
0.28634676337242126,
-0.2680228054523468,
0.3187600076198578,... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006271 | [
-0.6699299812316895,
0.2679328918457031,
-0.18134386837482452,
0.15538281202316284,
-0.3211652636528015,
0.2404603213071823,
0.6205955147743225,
-0.011535156518220901,
-0.44055983424186707,
-0.2899235188961029,
0.004403154365718365,
0.20314469933509827,
-0.3197878897190094,
0.5497964620590... | |
0 0XDE80060001000000000000001B0006 27 0 - LOCK 4 - U 0 72057594040352768 1 - TRANSACTION 0 6 - PAGE mydatabase 971497 101 - Resource type Lock
Lock:Deadlock Chain 17887480 1 | [
-0.47566837072372437,
0.1933474987745285,
0.4244134724140167,
0.04487324878573418,
-0.009784658439457417,
0.16726535558700562,
0.15795284509658813,
-0.49729669094085693,
-0.12537847459316254,
-0.2599223852157593,
-0.18224042654037476,
0.34650856256484985,
-0.23580075800418854,
0.1312893182... | |
0X01 4 myserver 2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock 0 | [
-0.4557799696922302,
0.026946566998958588,
0.18749509751796722,
0.09339706599712372,
-0.28951096534729004,
-0.03628897666931152,
0.4957372546195984,
0.05765609070658684,
0.07262574136257172,
-0.4012228846549988,
-0.017513513565063477,
0.3627842962741852,
-0.32944151759147644,
0.23241159319... | |
971497 102 - Resource type Exchange Lock:Deadlock Chain 17887481 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 54 1:426066 | [
-0.44238054752349854,
0.2500104308128357,
0.14765320718288422,
0.14869162440299988,
0.10809455066919327,
0.22601036727428436,
0.33362632989883423,
-0.31921181082725525,
-0.26907336711883545,
-0.031078312546014786,
-0.12782663106918335,
0.17942319810390472,
-0.32819056510925293,
0.393113613... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006240 0 0X5280060001000000000000001B0006 27 0 - LOCK 4 - U 0 72057594040352768 1 - TRANSACTION 0 6 - PAGE mydatabase 971497 101 - Resource type Lock | [
-0.5819966197013855,
0.3468279242515564,
0.40177303552627563,
0.0627497136592865,
-0.0796576514840126,
0.18736976385116577,
0.30682241916656494,
-0.4869639575481415,
-0.09697441011667252,
-0.4895007014274597,
-0.12618982791900635,
0.3159809708595276,
-0.23302896320819855,
0.152933165431022... | |
Lock:Deadlock Chain 17887482 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 209 1:426066 | [
-0.21163302659988403,
0.16462424397468567,
0.4194493889808655,
0.05594645440578461,
0.0593269057571888,
0.20296967029571533,
0.5341417193412781,
-0.6534252166748047,
-0.541378378868103,
0.2269984632730484,
-0.1751459389925003,
0.28035271167755127,
-0.26154524087905884,
0.3392271101474762,
... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006271 | [
-0.6699299812316895,
0.2679328918457031,
-0.18134386837482452,
0.15538281202316284,
-0.3211652636528015,
0.2404603213071823,
0.6205955147743225,
-0.011535156518220901,
-0.44055983424186707,
-0.2899235188961029,
0.004403154365718365,
0.20314469933509827,
-0.3197878897190094,
0.5497964620590... | |
0 0X5280060001000000000000001B0006 27 0 - LOCK 4 - U 0 72057594040352768 1 - TRANSACTION 0 6 - PAGE mydatabase 971497 101 - Resource type Lock
Lock:Deadlock Chain 17887483 1 | [
-0.48294368386268616,
0.19864298403263092,
0.3981316387653351,
0.04212358966469765,
-0.029551660642027855,
0.19028852880001068,
0.17292658984661102,
-0.5435706973075867,
-0.14976482093334198,
-0.22876393795013428,
-0.18092820048332214,
0.33252862095832825,
-0.2299795299768448,
0.1606366187... | |
0X01 4 myserver 2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock 0 | [
-0.4557799696922302,
0.026946566998958588,
0.18749509751796722,
0.09339706599712372,
-0.28951096534729004,
-0.03628897666931152,
0.4957372546195984,
0.05765609070658684,
0.07262574136257172,
-0.4012228846549988,
-0.017513513565063477,
0.3627842962741852,
-0.32944151759147644,
0.23241159319... | |
971497 102 - Resource type Exchange Lock:Deadlock Chain 17887484 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 209 1:425614 | [
-0.5032579898834229,
0.2399115413427353,
0.24079719185829163,
0.1485779881477356,
0.09114445000886917,
0.22479644417762756,
0.34519341588020325,
-0.34193894267082214,
-0.3057890832424164,
-0.08914460241794586,
-0.07296066731214523,
0.09191979467868805,
-0.22873690724372864,
0.3723841309547... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006271 0 0X8E7E060001000000000000001B0006 27 0 - LOCK 4 - U 0 72057594040352768 1 - TRANSACTION 0 6 - PAGE mydatabase 971497 101 - Resource type Lock | [
-0.6198269128799438,
0.41361889243125916,
0.36835795640945435,
0.05542550981044769,
-0.11973188072443008,
0.23885482549667358,
0.3240397274494171,
-0.4773218333721161,
-0.05956047773361206,
-0.43896564841270447,
-0.10291483998298645,
0.3268316090106964,
-0.22778701782226562,
0.120220951735... | |
Lock:Deadlock Chain 17887485 1 0X01 4 myserver 2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock | [
-0.22624748945236206,
0.010930095799267292,
0.20468908548355103,
0.11233595758676529,
0.056865911930799484,
0.15342584252357483,
0.4808121919631958,
-0.25625208020210266,
-0.5055647492408752,
0.00453466409817338,
-0.08698388189077377,
0.3445906937122345,
-0.4284154772758484,
0.368471384048... | |
0 971497 102 - Resource type Exchange Lock:Deadlock Chain 17887486 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 209 1:426687 | [
-0.45711877942085266,
0.2192804366350174,
0.2573454976081848,
0.03331471234560013,
0.08472322672605515,
0.18695418536663055,
0.39630046486854553,
-0.43319791555404663,
-0.27543938159942627,
-0.036309193819761276,
-0.09559542685747147,
0.15712226927280426,
-0.24897901713848114,
0.3329102098... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006271 0 0XBF82060001000000000000001B0006 27 0 - LOCK 4 - U 0 72057594040352768 1 - TRANSACTION 0 6 - PAGE | [
-0.5884636044502258,
0.4009353518486023,
0.5700045824050903,
0.1260114461183548,
-0.3919884264469147,
0.28774315118789673,
0.31163346767425537,
-0.6206120252609253,
-0.0954071506857872,
-0.33525383472442627,
-0.09435535967350006,
0.1544676274061203,
-0.3013814687728882,
0.2866223454475403,... | |
mydatabase 971497 101 - Resource type Lock
Lock:Deadlock Chain 17887487 1 0X01 4 myserver 2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock | [
-0.45229703187942505,
0.08080986142158508,
0.21488001942634583,
0.12637461721897125,
0.08538953959941864,
0.21360495686531067,
0.4210231304168701,
-0.21568045020103455,
-0.4476427435874939,
-0.1986241638660431,
-0.07442720979452133,
0.3698784112930298,
-0.36146488785743713,
0.3129781484603... | |
0 971497 102 - Resource type Exchange
Lock:Deadlock Chain 17887488 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 209 1:425392 | [
-0.46381959319114685,
0.22633472084999084,
0.27537980675697327,
0.05635961517691612,
0.10564353317022324,
0.21325892210006714,
0.3479363024234772,
-0.4260483682155609,
-0.28330299258232117,
-0.06067672371864319,
-0.1076306477189064,
0.132619246840477,
-0.21620240807533264,
0.32460737228393... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006271 0 0XB07D060001000000000000001B0006 27 0 - LOCK 4 - U 0 | [
-0.506986141204834,
0.5758307576179504,
0.34507080912590027,
-0.15615805983543396,
-0.4341644048690796,
0.24665473401546478,
0.34320172667503357,
-0.6245434284210205,
0.07802179455757141,
-0.04232168197631836,
-0.10198554396629333,
0.1892530620098114,
-0.2800680100917816,
0.485896944999694... | |
72057594040352768 1 - TRANSACTION 0 6 - PAGE mydatabase 971497 101 - Resource type Lock
Lock:Deadlock Chain 17887489 1 0X01 4 myserver 2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock | [
-0.5252888202667236,
0.07672277837991714,
0.20606134831905365,
0.16770827770233154,
-0.06788011640310287,
0.22296783328056335,
0.3949967324733734,
-0.3299185633659363,
-0.5010016560554504,
-0.17435261607170105,
-0.14190693199634552,
0.46576908230781555,
-0.2681122124195099,
0.2868028879165... | |
0 971497 102 - Resource type Exchange
Lock:Deadlock Chain 17887491 1 0X01 4 myserver | [
-0.38896164298057556,
0.14778591692447662,
0.12700019776821136,
0.09322343021631241,
0.08319231122732162,
0.08910810202360153,
0.23325595259666443,
-0.22432827949523926,
-0.009523860178887844,
-0.18194906413555145,
-0.33570995926856995,
0.32654446363449097,
-0.3704330027103424,
0.373812913... | |
2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock 0 971497 102 - Resource type Exchange | [
-0.5208908319473267,
0.08092848211526871,
0.12134039402008057,
0.21760448813438416,
-0.12381121516227722,
0.16709552705287933,
0.4153040945529938,
-0.10856102406978607,
-0.15464405715465546,
-0.47596344351768494,
-0.08959511667490005,
0.32952627539634705,
-0.1331561803817749,
0.40243130922... | |
Lock:Deadlock Chain 17887493 1 0X01 4 myserver 2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock | [
-0.2269793003797531,
0.014238721691071987,
0.21713200211524963,
0.11321588605642319,
0.05190730467438698,
0.16359515488147736,
0.46404334902763367,
-0.2697741389274597,
-0.5004742741584778,
0.006960792932659388,
-0.09326394647359848,
0.3370656669139862,
-0.42775434255599976,
0.353435009717... | |
0 971497 102 - Resource type Exchange
Lock:Deadlock Chain 17887494 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 209 1:435792 | [
-0.46041086316108704,
0.19277648627758026,
0.24112601578235626,
0.05592025816440582,
0.10177641361951828,
0.22669075429439545,
0.3267577290534973,
-0.4057701528072357,
-0.26969122886657715,
-0.06071070209145546,
-0.09715169668197632,
0.1150626540184021,
-0.2521488666534424,
0.3329366147518... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006271 0 0X50A6060001000000000000001B0006 27 0 - LOCK 4 - U 0 72057594040352768 1 - TRANSACTION 0 6 - PAGE | [
-0.5892605185508728,
0.37832170724868774,
0.5693563222885132,
0.1413751095533371,
-0.39515262842178345,
0.29523345828056335,
0.2719463109970093,
-0.6039554476737976,
-0.06993059813976288,
-0.3617396354675293,
-0.10250277072191238,
0.12912236154079437,
-0.290793776512146,
0.2456611245870590... | |
mydatabase 971497 101 - Resource type Lock
Lock:Deadlock Chain 17887495 1 0X01 4 myserver 2008-11-28 10:16:46.210 Parallel query worker thread was involved in a deadlock | [
-0.4461846351623535,
0.08228976279497147,
0.2057712823152542,
0.12766364216804504,
0.09277606010437012,
0.2125769555568695,
0.416916161775589,
-0.21111929416656494,
-0.4446485936641693,
-0.20163226127624512,
-0.07582314312458038,
0.3628380000591278,
-0.3626270294189453,
0.2990543842315674,... | |
0 971497 102 - Resource type Exchange
Lock:Deadlock Chain 17887496 1 0X01 4 myserver 2008-11-28 10:16:46.210 Deadlock Chain SPID = 209 1:438206 | [
-0.4551779329776764,
0.22074365615844727,
0.24190498888492584,
0.036177124828100204,
0.08931610733270645,
0.18417267501354218,
0.3667128086090088,
-0.42297542095184326,
-0.2723018527030945,
-0.047421060502529144,
-0.11662963777780533,
0.13945673406124115,
-0.2575282156467438,
0.33499124646... | |
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
[
-1.06126070022583,
-0.7003979086875916,
-0.42257601022720337,
0.09815213829278946,
-0.49541836977005005,
1.143049955368042,
0.859436571598053,
1.0905910730361938,
-0.6481311917304993,
-0.4323035180568695,
0.5117040276527405,
-0.018845291808247566,
0.3492005467414856,
-0.2664911150932312,
... | ||
265006271 0 0XBEAF060001000000000000001B0006 27 0 - LOCK 4 - U 0 | [
-0.47015199065208435,
0.5722365379333496,
0.38454532623291016,
-0.17395339906215668,
-0.4631805121898651,
0.2662562131881714,
0.34426620602607727,
-0.6352056264877319,
0.08607225865125656,
-0.03646476939320564,
-0.06579798460006714,
0.19908517599105835,
-0.2898868918418884,
0.4967091977596... | |
72057594040352768 1 - TRANSACTION 0 6 - PAGE mydatabase 971497 101 - Resource type Lock
Lock:Deadlock 17887497 myuser 0XCD85FBB269700B4AA2F4E8579D118999 209 myserver myuser 2008-11-28 10:16:45.930 1:426206 265006271 myapps 0 0XDE80060001000000000000001B0006 123 27 281... | [
-0.7539413571357727,
0.30590471625328064,
0.5675831437110901,
0.13415533304214478,
-0.21389485895633698,
0.1458510160446167,
0.36936038732528687,
-0.3783946633338928,
-0.40322160720825195,
-0.38194477558135986,
-0.21221953630447388,
0.4569065570831299,
-0.08192013204097748,
0.1337422430515... | |
0 72057594040352768 1 - TRANSACTION 0 6 - PAGE mydatabase 971498
```
I finally have to do a workaround by using cusror in a stored procedure.
But it is still interesting that how the PAGE lock happen and how to resolve.
---
After some more search on Google, there are some other people ha... | [
-0.2573668360710144,
0.26247069239616394,
0.41796889901161194,
0.1777273416519165,
-0.26521578431129456,
-0.2999063730239868,
0.25742506980895996,
-0.05143510177731514,
-0.344980925321579,
-0.3120407164096832,
-0.000009520277671981603,
0.550162136554718,
-0.3354271650314331,
0.457510381937... | |
Server 2005 but I never get a chance to try. | [
-0.5242178440093994,
0.11057771742343903,
0.334371417760849,
-0.16057534515857697,
-0.46172863245010376,
0.024832870811223984,
0.3056759238243103,
0.19003213942050934,
-0.13625037670135498,
-0.45833638310432434,
0.3238896429538727,
0.2974351644515991,
0.12750817835330963,
-0.14136698842048... | |
I have a custom Jabber IM client and I'm having a problem with links. When something like <http://something.com> is entered I want it to show up as a link in the message window. The message window is a standard c# textbox. Is there a way to mark it as a link so that it can be clicked and open the webpage?
Thanks
A Ric... | [
0.596895158290863,
0.15076333284378052,
0.23327867686748505,
-0.08143498748540878,
-0.18936561048030853,
-0.14723283052444458,
0.3833199441432953,
0.697230875492096,
-0.26119551062583923,
-0.6035826206207275,
0.07000759243965149,
0.44551604986190796,
-0.2637792229652405,
0.3936193287372589... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.