On Ubuntu 11.10,
I have to issue python tasks from django using celery.
I'm currently testing on the same machine but eventually the celery worker should run on a remote machine.
django uses the following settings:
BROKER_HOST = "127.0.0.1"
BROKER_PORT = 5672
BROKER_VHOST = "/my_vhost"
BROKER_USER = "celery"
BROKER_PASSWORD = "celery"
I can…
I came across a nasty issue when i installed the Advanced Logging feature for IIS7 via the Web Platform Installer on my Windows 2008 Server. Basically, after installation and reboot none of my sites were working and returned 503 – Internal Server Error. Snooping around in the Event Viewer i found the following error reported by the W3SVC… …
I've been using the 960 Grid system for a while on some of my personal projects and if like me you are no css ninja its convenient for sidestepping the usual nightmare of a good cross browser layout, and allows you to move on to the nitty gritty code and functionality. I just stumbled across a new layout generator that looks rather snazzy and…
After running with a somewhat disconnected set of tools (vs 2008, Ontime, sharepoint 2007) for managing our projects we decided to make the move to Team Foundation Server 2010. With limited coverage of the product available online i went in search of a book and found this… View this book on the Wrox website I must point out that i…
Does anybody know of a survey or study that compares site visitor attitudes/perceptions to security between an EV SSL cert and a security seal?
The EV SSL cert will show up green in the URL (like a bank) and the security seal is usually in the footer and says something like "secured by" or "hacker proof" or "website protection"
I'm…
Arriving in the parking lot of the Orange County Convention
Center, I immediately knew I was in the right place. As far as the eye could
see, the acres of asphalt were awash in backpacks, quirky (to be kind) outfits,
and bad haircuts.
This
was the place. This was Microsoft Mecca v2012 for geeks and nerds, the
Central Florida event…
So I'm trying to create a game where you fit certain shaped objects into the hole that fits them (similar to the young children's game with different shaped blocks) in Unity 3D.
I've encountered a problem, how do I make the holes in the terrain? Or what type of object should I use for making holes in?
So far I've tried to make a…
I am usually a Java programmer, and have used textmate for that almost exclusively, but lately I started using C++ with it. but when i use even the most basic programs and incorporate the cin keyword, and run the program, I dont get an oppurtunity to put in anything during runtime and sometimes it inserts random values by itself!…
About 50% of the my NATTY desktop screen is corrupted. Once that happens I can re-boot as many times as I want but the problem continues. If I logout and then into WINDOWS for a day I may be successful and boot UBUNTU with a good screen.
The desktop is formatted correctly, there's no pixelation, rather there is a fine…
Attached to this post is an excel spreadsheet i use for populating drop down lists for choosing countries. Personally i prefer to have these in a table, and fill the drop down from there, but i have also included formatted markup for the list items that can be copied directly between the drop down list markup.
I use Ubuntu 12.04 64-bit and KVM, my CPU is Core i5 3.3 GHz and I have 8 GB of DDR3 RAM. I run Windows 7 in KVM and it's extremely slow. My co-worker use Debian on the same PC configuration and can run Windows 7 extremely fast! Where can be my problem?
sudo cat /etc/libvirt/qemu/windows.xml
<!--
WARNING: THIS IS…
I was thinking about creating a snake game with C#, so I ran ideas in my head, and some problems came up.
How can I track and output in the correct location the blocks that run after the snake's head?
If the snake is built of five blocks, and the user starts going in a circle, how can I print the snake body in the right…
I am working for a company as a web dev consultant at the moment, and they asked me whether I want to get payed through the Umbrella company or through my Ltd. Which is better for me and why?
The @David Thornley made a good point in comments. Don't forget that we are talking about web developing here. I am not sure how…
The Yandex spider is a frequent visitor to one of the sites I manage. On ocassion it replaces the page name with two ampersands and a space. So if the page is:
/mypage.aspx?param=value
then it will try and crawl it as:
/&& ?param=value
Any idea why it is doing this?
[EDIT] If I remember correctly…
I have a platformer that is in progress, part of this has a camera which I only want to move when the character moves out of a certain threshold, to try to accomplish this I have the following if statement:
if(((Mathf.Abs(target.transform.position.x))-(Mathf.Abs(transform.position.x)))>thres){
x =…
my application did no show toast message when network is disable
if (position == 2)
{
final ConnectivityManager connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo activeNetworkInfo = connMgr .getActiveNetworkInfo();
…
I am creating a client access system, to allow manage invoices, make payments, access information about their products and information/functionality alike.
Supposedly there are less than 1000 clients. Would there be any security threat to use only password (UUID v4 strings) to authenticate user?
My thoughts:
…
I just upgraded to 12.10 on my Lenovo B570 laptop. NetworkManager isn't displaying a submenu for wireless connections at all, even though I downloaded the update through the wireless connection. This displeases me.
Stuff I've tried includes:
$ sudo modprobe wl
FATAL: Module wl not found.
$ sudo lspci -nn |…
I was AFK for about 24 hours and came back to find gnome-system-monitor saying all four CPU cores on my laptop were running at full throttle. mysqld is taking up more than one full core; when I tried to end the process, it restarted with a new PID. Then there's ksoftirqd/0-3, which apparently has something…
Possible Duplicate:
How to find web hosting that meets my requirements?
I am looking for a new VPS for http://hotelpublisher.com. At the moment it is either linode.com, slicehost.com or vps.net (alternatives are welcome). Since I already use Google cloud to deliver data, my priority is…
In my workplace I have a coworker who have been working in the company for 3 years (1 more than me) doing stuff surrounding to software development but not software development. We need to run a new project in C and we have a lot of professional disagreements that in my opinion are caused by…
Basically I'm new to network programming in Python, so I went on a tutorial online to find out about it. Using what was taught in the tutorial (creating a socket, connecting to ports, etc), I modified the code so that I made a program where two computers can send messages to one another.
…
I am a UI team leader. My team has a lot of projects using different languages/technologies.
In some parts we will rewrite (gradually - @Ampt this is for you) the application in order to enable new fresh technologies in and get old dinosaurs out.
I am going to use Node Package Manager…
HOW TO I USE THIS RSA http://xtrace.blogspot.com/2012/03/rsa-demo-example.html?showComment=1349091173502#c199333123405145467 TUTOTIAL CODE IN MY LOGIN CODE BELOW I found code but dnt know how to implement
public class LoginScreen extends Activity implements OnClickListener{
…