|
I have a python application that depends on the uuid module, but on the server where I need to run it, uuid is not installed. I do not have root on the server so I cannot place the uuid .pys in the /usr/lib/python2.4/site-packages folder... is there a...
Started by Ryan on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
It's a very common development tool used for using....
Just sudo apt-get install python-virtualenv (?).
The fastest is the simple command:
export PYTHONPATH=path/to/module/directory
Alternatively, you can use virtualenv .
There are several ways to do this.
|
|
From time to time, there will be student attached to our projects, i would certainly like to assign him/her many things to do so can learn more. But alot of times we are resigned to assigning stuff like documentaiton, updating of ui mockup screens etc...
Started by Ronald on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
If the student has enthusiasm you code do some pair programming through a bug and let them ... .
How long are the students around for? When we have had students on-site for up to two weeks there was not much other then testing type work we could give them .
|
|
Hi,
I'm in early development stage of developing a web application. Im currently reviewing as to whether I should use ASP .NET Membership or write my own. Im more lenient towards to using ASP .NET Membership to save me some development time. Need help...
Started by RWendi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I can see no reason to implement your own membership functionality if the default... .
Basically if I were to evaluate what to use for a project I would look at the requirements .
I myself am a fan of the Membership/Roles/Profile providers so I'm a bit biased .
|
Ask your Facebook Friends
|
So, given the fact that you can only get hard drives of about 160GB now for the cheapest price, I find i have a ton of extra drive space on workstations spread throughout my office. I'd like to utilize this space as a redundant RAID-like array of some...
Started by Mystere Man on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at serverfault):
Put a distributed compiler or perhaps a distributed 3D renderer on them... .
Well, it's certainly not a typical way of doing it, and I really wouldn't suggest it for...well, anything other than an experiment, but you might be able to get OpenAFS to do it .
|
|
What is the best method for utilizing a single code base for multiple websites?
We have validation and session management libraries that we use on multiple websites. Is there a best practice for keeping a single copy rather than having to maintain updates...
Started by Cory House on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Make everything....
Changes can be merged back to the origin and then propagated to each website .
Group it into folders and branch the folders into each website .
If you're using source control (and if you're not, you should be), you can branch the common code .
|
|
With the Announcement of the Microsoft AJAX CDN a debate arouse this morning about whether utilizing a public CDN for common libraries was a good idea for intranet applications. I can see both sides of the argument but without revealing too much of our...
Started by ahsteele on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Your intranet is closer still!
The second advantage is that the user might already have the content cached, which again isn't all that relevant on your intranet - you can ... .
The main advantage of a CDN is that it delivers content from close to the user .
|
|
I have a LinkSys RV042 Dual Wan Router in my office. I am using it in smartlink mode, so that when primary fails, the backup link takes over.
The problem is that backup link is highly under-utilized. I have a dev machine that periodically replicates data...
Started by sharjeel on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
You can find more details in this Cisco support doc (you might need to register before you can view it)
I've never... .
If you put the RV042 in Load Balancing mode, you can set it to send traffic from an IP address or service over a specific WAN interface .
|
|
I have a 4 CPU 16GB RAM system with an Areca 1230 RAID card and 6 HDs in a RAID 0+1 configuration with 1 hot spare.
System has 2 onboard 1Gpbs nics
I want to turn the system into a NAS.
It seems like 16GB RAM for a NAS is a waste though.
Is there any ...
Started by JonathanLIVE on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
That amount of memory will be used by default through ... .
Samba? NFS? All of the above? At its very base, Linux will use all available unallocated memory to serve as the file cache .
That kind of depends on what service is providing the NAS functionality .
|
|
I'm writing a desktop application to do vector drawing in C++, and considering using sqlite to back my undo/redo feature.
Has anybody used sqlite for undo/redo features? How does it work out for you?
Clarification:
I was aware of the stack approach, I...
Started by lyxera on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Because....
Basically a undo/redo feature can be implemented using a stack: when the user does an operation, you push on the stack an object that represents the delta between the state before and after the operation, and when you undo, you "unroll" the delta .
|
|
I'm doing a simple ray tracer in C++ using SDL for graphics and pthread for threading. And I have a problem making my program utilizing two cores, the threads work, they just don't drive both cores to 100%. To interface SDL I write directly to it's memory...
Started by jopsen on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To get good CPU performance in this kind of situation where your code is mostly CPU bound, it is understood to use a task oriented... .
I'd take a wild stab in the dark and say your worker threads are spending lots of time waiting on the condition variable .
|