Questions tagged [isolation]

258 questions
0
votes
1 answer

Race condition in MySQL query? Reducing inventory

Each item (stock) in the inventory is modelled as a row. stock ===== code: primary key itemType: foreign key to items table available: boolean So to reduce stock what is done is something like: UPDATE stock SET available = false where code =…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
0
votes
2 answers

What's the best practice , using subdomains, archive SEO , keep the system scalable , and isolate the applications?

We are developing a website quite similar with ebay.com and in order to upgrade/maintain it without much effort we decided to split/isolate different parts of the website like ebay does too (e.g the item page/application will be served from…
Michael
  • 6,377
  • 14
  • 59
  • 91
0
votes
1 answer

I want to create isolated environment for all teammates to run their code

Suppose I have a ubuntu machine(server). And 3 team members, they all are working on their separate applications : 1. PHP 2. Node 3. Java Now when they push their code, I need to be able to run their code so that they can test it.…
Anshul
  • 1
  • 2
0
votes
0 answers

Running programs in isolated environments?

My company make a variety of (usually) desktop apps to be used internally to aid the creation/analysis of our datasets. Recently I created a program which acts as a sort of installation & runtime manager, with the purpose of: Providing users with…
jramm
  • 6,415
  • 4
  • 34
  • 73
0
votes
3 answers

Isolating JS from other JS in the same HTML document

Consider this code:
This will return 'bar' to the console. However I'd like for foo and any other variables declared outside #isolated to be…
kjaos
  • 1
  • 1
0
votes
0 answers

Isolating Dilated image part from Original Image

I have performed Morphological Operation on the original gray eye image (imgSrc) to locate the eyelashes part by following code. seClosing = strel('disk', 5); //perform closing closeImg = imclose(imgSrc,seClosing); midImg = closeImg - imgSrc;…
Purvik Rana
  • 331
  • 7
  • 17
0
votes
2 answers

Test isolation with many requests on Symfony 2.6

My project uses Symfony 2.6. I am trying to isolate my test in order to don't commit any change on my database. I manage to isolate my test with only one request. But when there are many of them, it doesn't work and I can't manage to find why. Any…
emottet
  • 457
  • 6
  • 18
0
votes
1 answer

Isolation level and DIRT READ SQL SERVER 2005 (advanced question)

I will describe my problem for an easier explanation: I have a table and my soft is accessing it (update, insert) using transaction. The problem is that I want to enable DIRT READ in this table. But I cant use with (nolock) in my sql statements…
Luiz
  • 1
0
votes
2 answers

Isolate PHP versions on AWS EC2

I'm actually using PHP 5.3 on all my projects. But for all the reasons you know, I want to update to PHP 5.4 (or 5.5). We're also going to migrate on AWS EC2 soon, on a "normal" Linux, Debian Wheezy for example. But the problem is that we've got…
Bonswouar
  • 1,521
  • 2
  • 17
  • 37
0
votes
1 answer

exclusive lock and shared lock for select statement - SQL Server

I am not able to understand how select will behave while its part of exclusive transaction. Please consider following scenarios – Scenario 1 Step 1.1 create table Tmp(x int) insert into Tmp values(1) Step 1.2 – session 1 begin tran set transaction…
UVData
  • 459
  • 2
  • 6
  • 13
0
votes
1 answer

PHP application isolation?

I am currently building a simple CMS, and I would like to isolate it as much as possible. The application itself will have php login function, however I was thinking to add one more layer of security utilising Apache built-in security. How secure is…
mrmut
  • 484
  • 5
  • 18
0
votes
2 answers

.NET SQLDatareader isolated read

I have a SQL Server database which stores accounts with credits (about 200.000 records), and a separate table which stores the transactions (about 20.000.000). Whenever a transaction is added to the database the credits are updated. What I need to…
0
votes
2 answers

Isolate function from runtime

I'm not sure how to call that, if anyone can think of better title, let me know, I'll rename this question. This is not real-life example, but if I get solution to such situation, I'll use it in bigger project. Just assume that I HAVE TO do it like…
Filip Malczak
  • 3,124
  • 24
  • 44
0
votes
0 answers

How to isolate an older version of chrome on linux

I need to run chrome 25 on my ubuntu saucy for testing of a web application. I don't want to replace my current version of chrome and was wondering if there is a simple way to isolate a program? I have ubuntu running in a chroot on my Chromebook…
aintnorest
  • 1,326
  • 2
  • 13
  • 20
0
votes
1 answer

When including my LinkedIn public profile page as HTML inside a DIV it takes over my own jQuery includes how can i stop this?

I can't be doing with the whole member profile auth thingy from LinkedIn, I just want to put our public profiles onto our site within our profile sections: I can use a php include to do this and all is well, except that it ruins my jQuery already…
Robbie Miller
  • 35
  • 1
  • 8