by: Jason Morehouse |
last post by:
Hello,
Just wondering if anyone is using the apache worker module with php?
I've complied php5 with zend threadsafe support, and apache2 with the
MPM worker module on a Linux box. Everything...
|
by: Tino Lange |
last post by:
Hi!
I just realized that <dict>.setdefault *always* executes the second
argument - even if it's not necessary, because the requested item in
the first argument exists.
This is not what I...
|
by: Leo Breebaart |
last post by:
Hi all,
I have a question about Python and delayed evaluation.
Short-circuiting of Boolean expressions implies that in:
>>> if a() and b():
any possible side-effects the call to b() might...
|
by: Stephanie Stowe |
last post by:
Hi. I have been posting like a looney on an issue I am working on. I will
reiterate the background since you all do not want to remember my issues!
I have an ASP app (biggish). We are creating...
|
by: Ron Garret |
last post by:
Is this a bug or a feature?
class mydict(dict):
def __setitem__(self, key, val):
print 'foo'
dict.__setitem__(self, key, val)
>>> d=mydict()
>>> d=2
foo
|
by: John |
last post by:
If a value type is immutable, I guess it's threadsafe to read it? But not
threadsafe to assign a new value to it (can any value type be truely
immutable? Isn't assigning a totally new value to it,...
|
by: David |
last post by:
I have a static method in the dll that looks like this
public static int myStaticFunction(int input){
}
My question is, should I use a mutex inside the function to ensure that the
function is...
|
by: Diffident |
last post by:
Hello All,
Following is a static method. Can you please tell me if this is
threadsafe...why? If it is not threadsafe...why?
Thank you.
public static string...
|
by: Macca |
last post by:
Hi,
I need a data structure such as an Array/ArrayList/Generic List to hold
multiple instances of a user derfined class.
This array will be accessed across multiple threads. However I dont...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|