Re: Plot points from a kml file in django

2012-09-11 Thread Cal Leeming [Simplicity Media Ltd]
http://stackoverflow.com/questions/833/how-to-process-an-uploaded-kml-file-in-geodjango http://iwoom.blogspot.co.uk/2010/11/python-django-reading-kml-points.html http://code.google.com/p/simplekml/ http://code.google.com/p/pylibkml/ http://pypi.python.org/pypi/pykml Come on man, use Google :)

Re: tree.io installation with django

2012-09-11 Thread Cal Leeming [Simplicity Media Ltd]
Looks like an incompatible version of Django perhaps (first glance). Alternatively, just patch it yourself based on the error given: @@@ django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting. @@@ See https://docs.djangoproject.co

Re: Iphone applications via django

2012-09-11 Thread Cal Leeming [Simplicity Media Ltd]
You can create a server side API for the app - but the actual interface is done using the methods mentioned by Mario previously. Cal On Tue, Sep 11, 2012 at 11:09 AM, Mario Gudelj wrote: > Nope. You do objective c or html and js with something like phonegap > On Sep 11, 2012 6:59 PM, "Sait Maraş

Re: Request for comments - django-cutemodel (model logging and field change auditing)

2012-09-11 Thread Cal Leeming [Simplicity Media Ltd]
ng on the change > audit code > Sure thing, if you think of any additional changes please feel free to fire them over (it'd be great to see others using this in the wild!) > > Kurt Pruhs > Utah State University > Programing & Design Team > > > > > On Mond

Request for comments - django-cutemodel (model logging and field change auditing)

2012-09-10 Thread Cal Leeming [Simplicity Media Ltd]
Hi guys, We have just released a new module that allows for lightweight/easy relational event logging and auditing field changes. Our use case was to satisfy four main requirements; * Log events directly from models, whilst keeping a relational link to the row that triggered the event * Keep tra

Re: 回复: How to host Django 1.4 with Python 2.7 on OpenShift DIY

2012-08-13 Thread Cal Leeming [Simplicity Media Ltd]
/var/lib/stickshift/688174c010/app-root/runtime/repo/.openshift/action_hooks/build: line 7: /var/lib/stickshift/680e98b8570/pingmeebldr/runtime//bin/pip: No such file or directory Tbh, I think you need to speak with OpenShift On Mon, Aug 13, 2012 at 12:37 PM, surya wrote: > Hi Pengfei, > >

Re: How to host Django 1.4 with Python 2.7 on OpenShift DIY

2012-08-12 Thread Cal Leeming [Simplicity Media Ltd]
rds. > > > On Sun, Aug 12, 2012 at 2:10 PM, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > >> You can't blindly follow a deployment tutorial and expect to not have to >> get your hands dirty - especially when it's not

Re: How to host Django 1.4 with Python 2.7 on OpenShift DIY

2012-08-12 Thread Cal Leeming [Simplicity Media Ltd]
t; maintenance downtime or capacity problems. Please try again later. >> ---------- >> Apache/2.2.15 (Red Hat) Server at appName-userID.rhcloud.com Port 80 >> >> On Sunday, August 12, 2012 10:43:46 PM UTC+5:30, Cal Leeming [Simplicity >> Media Ltd] wrote:

Re: How to host Django 1.4 with Python 2.7 on OpenShift DIY

2012-08-12 Thread Cal Leeming [Simplicity Media Ltd]
ort 80 > > On Sunday, August 12, 2012 10:43:46 PM UTC+5:30, Cal Leeming [Simplicity > Media Ltd] wrote: > >> Surya, >> >> Your original question does not really explain what problem you are >> having. >> >> From what I can tell, you have read tutori

Re: How to host Django 1.4 with Python 2.7 on OpenShift DIY

2012-08-12 Thread Cal Leeming [Simplicity Media Ltd]
Surya, Your original question does not really explain what problem you are having. >From what I can tell, you have read tutorials on the web that explain how to set up Django on OpenShift, but you have not explained what is wrong with them, nor what specific problem you are having. You'll need t

Re: object.create speed, creating 3 objects takes 1 sec in sqlite

2012-08-08 Thread Cal Leeming [Simplicity Media Ltd]
1/11/cassandra-hadoopy-performance-tunning.html > > Ivo Marcelo Leonardi Zaniolo > +55 71 9302 3400 > imarcel...@gmail.com > www.informatizzare.com.br > imarcelolz.blogspot.com.br > Em 08/08/2012 01:18, "Cal Leeming [Simplicity Media Ltd]" < > cal.leem...@simplicitymed

Re: object.create speed, creating 3 objects takes 1 sec in sqlite

2012-08-07 Thread Cal Leeming [Simplicity Media Ltd]
Hi Anton, In short, attempting to do any sort of bulk import "out of the box" with the ORM, will always end with bad performance. No matter how fast your disks are (SSDs with 4000 iops in RAID 1 for example), you'll still only get around 0.1s per insert via the ORM on a single thread, and if you

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-08-06 Thread Cal Leeming [Simplicity Media Ltd]
llation on this - we'll get there in the end! Cal On Mon, Jul 16, 2012 at 12:23 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Hi guys, > > This has now been confirmed for the following date: > > - Thursday 9th August 2012 - 7:00

Re: Demise of Mr. Kenneth Gonsalves

2012-08-03 Thread Cal Leeming [Simplicity Media Ltd]
Ah jeez... he was a good guy too, always keen to help others - really sorry to hear this news. Another harsh reminder on just how short and precious our time in this life really is :/ Cal On Fri, Aug 3, 2012 at 4:12 PM, Anoop Thomas Mathew wrote: > With my heartfelt condolence, I'd like to info

Re: MySQL total overheat (somewhat complex database)

2012-07-30 Thread Cal Leeming [Simplicity Media Ltd]
Could you provide us with the models.py for this table? Just the model definitions will suffice. Can you also provide the snippet of Python code which is generating this SQL Cal On Sat, Jul 28, 2012 at 7:44 PM, lubos wrote: > Hello, > > I have a quite sophisticated database with frequently int

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-23 Thread Cal Leeming [Simplicity Media Ltd]
available after the webcast? > > > Thanks. > > > On Saturday, June 30, 2012 7:10:27 PM UTC+4, Cal Leeming [Simplicity Media > Ltd] wrote: >> >> Hi all, >> >> As some of you know, I did a live webcast last year (July 2011) on our >> LLG project, which

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-22 Thread Cal Leeming [Simplicity Media Ltd]
Could you clarify what you mean by "twich" and "auto VOD writing"..? Google failed me :/ On Sat, Jul 21, 2012 at 7:02 AM, b1- wrote: > +1 >> >> > And use some services like twich with auto VOD writing. > I think it will be intresting not only for us > > -- > You received this message because you

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-16 Thread Cal Leeming [Simplicity Media Ltd]
Hi guys, This has now been confirmed for the following date: - Thursday 9th August 2012 - 7:00 PM (UTC) Webcast details will be sent 48 hours before. Cheers Cal On Sun, Jul 1, 2012 at 4:09 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Wow

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-13 Thread Cal Leeming [Simplicity Media Ltd]
Leeming [Simplicity Media Ltd] > wrote: > > Just a reminder that the poll will be closing in two days time, if you > > haven't already booked, please do so now! > > I thought somebody asked this but can't find it now... is there any > recording of the first one available

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-12 Thread Cal Leeming [Simplicity Media Ltd]
Just a reminder that the poll will be closing in two days time, if you haven't already booked, please do so now! On Tue, Jul 3, 2012 at 12:35 AM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Just in case anyone missed the URL, you can book

Re: {% spaceless %} abuse (?)

2012-07-06 Thread Cal Leeming [Simplicity Media Ltd]
Oh, I should also mention that the last time I tested this was approx 6 months ago, so this may not be an issue any more. The other issue is it can cause 'View Source' to freeze up (or in firefox, just not display anything). On Fri, Jul 6, 2012 at 5:26 PM, Cal Leeming [Simplicity

Re: {% spaceless %} abuse (?)

2012-07-06 Thread Cal Leeming [Simplicity Media Ltd]
sers (such as Chrome) handled it fine, but IE8/IE9 lagged pretty badly. Feel free to test for yourself, but this was certainly our experiences from it. Cal On Fri, Jul 6, 2012 at 3:36 PM, Russell Keith-Magee wrote: > On Fri, Jul 6, 2012 at 10:29 PM, Cal Leeming [Simplicity Media Ltd] >

Re: Render time

2012-07-06 Thread Cal Leeming [Simplicity Media Ltd]
Just FYI - New Relic does a fantastic job of browser speed graphing - but it is an expensive product. On Fri, Jul 6, 2012 at 6:14 AM, Larry Martell wrote: > On Thu, Jul 5, 2012 at 10:48 PM, Andy McKay wrote: > >> I'm trying to use the Navigation Timing package to measure how long a > >> page tak

Re: {% spaceless %} abuse (?)

2012-07-06 Thread Cal Leeming [Simplicity Media Ltd]
-1 on removing spaceless. On pages where you have lots of rows in a loop, the amount of whitespace you end up with can massively increase page loading times. Sure, you could use whitespace stripping middleware I guess, but some people prefer not to have that. I agree that spaceless does make cod

Re: Highlighting Active Navigation Link - correct approach?

2012-07-06 Thread Cal Leeming [Simplicity Media Ltd]
d. The other option is to see if the core devs would accept a patch which allows you to specify a 'urlname group' on the url() method in urls.py.. Cal On Fri, Jul 6, 2012 at 3:20 PM, Melvyn Sopacua wrote: > On 6-7-2012 16:01, Cal Leeming [Simplicity Media Ltd] wrote: > > I

Re: Highlighting Active Navigation Link - correct approach?

2012-07-06 Thread Cal Leeming [Simplicity Media Ltd]
I've actually just done a ticket about this.. https://code.djangoproject.com/ticket/18584 Personally, I think the approach mentioned in the ticket is a far saner way of doing things. Cal On Fri, Jul 6, 2012 at 12:55 PM, Dhiraj Thakur wrote: > > > On Monday, January 9, 2012 11:57:52 AM UTC+5:3

dateutil relativedelta compare - strange results

2012-07-03 Thread Cal Leeming [Simplicity Media Ltd]
Hi all, Just spent about an hour figuring out what the hell was going on with dateutil comparisons, and thought I'd share with the group. Essentially, when trying to compare relativedelta to each other, we were getting very strange results. In the end, it was due to the fact 'calendar' needed to

get_or_create() race condition MySQL - second fix!

2012-07-03 Thread Cal Leeming [Simplicity Media Ltd]
Hi guys, A while ago we released a monkey patch which resolved the get_or_create() race condition when used in combination with READ COMMITED transaction isolation. However, this caused issues with legacy applications, so we have released a new fix that works without READ COMMITED. The code snip

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-02 Thread Cal Leeming [Simplicity Media Ltd]
Just in case anyone missed the URL, you can book your slot here: http://www.doodle.com/8ptehyqr6uezhtsy Voting open until 14th July. Cal On Mon, Jul 2, 2012 at 9:59 AM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Curious, I'll have to te

Re: Fw: PLEASE HELP

2012-07-02 Thread Cal Leeming [Simplicity Media Ltd]
Emily, Please refrain from sending chain/spam emails to the list, this isn't acceptable. Also - on a site note, you really shouldn't be giving out your entire mailbox by cc'ing everyone, this isn't very good practice at all. Cal -- You received this message because you are subscribed to the Go

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-02 Thread Cal Leeming [Simplicity Media Ltd]
gle+ Hangouts? > > On Mon, Jul 2, 2012 at 1:09 AM, Cal Leeming [Simplicity Media Ltd] > wrote: > > Wow - glad to see there's people interested in this! > > > > Here is the schedule, could everyone please select which days/times they > are > > available (enter mo

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-02 Thread Cal Leeming [Simplicity Media Ltd]
gt; using livestream, and a backup stream from one of our own servers - both >> have a maximum capacity of 50 users at 720p. >> >> Cal >> >> On Sat, Jun 30, 2012 at 4:10 PM, Cal Leeming [Simplicity Media Ltd] >> wrote: >> >> Hi all, >>

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-01 Thread Cal Leeming [Simplicity Media Ltd]
most votes wins. Given our awful experiences with conferencing software, we'll probably be using livestream, and a backup stream from one of our own servers - both have a maximum capacity of 50 users at 720p. Cal On Sat, Jun 30, 2012 at 4:10 PM, Cal Leeming [Simplicity Media

Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-06-30 Thread Cal Leeming [Simplicity Media Ltd]
Hi all, As some of you know, I did a live webcast last year (July 2011) on our LLG project, which explained how we overcome some of the problems associated with large data processing. After reviewing the video, I found that the sound quality was very poor, the slides weren't very well structured,

Re: 403 error when POSTing to a view with csrf protection

2012-06-24 Thread Cal Leeming [Simplicity Media Ltd]
Hi Mike, Please provide some code examples, a traceback snippet and a bit more info. Here are some great tips on how to do this: https://code.djangoproject.com/wiki/UsingTheMailingList Without this information, others on the list may find it much more difficult to help you. Cal On Sun, Jun 24,

Re: Send message to SMS Gateway

2012-06-23 Thread Cal Leeming [Simplicity Media Ltd]
Just fyi, if you were working directly with an upstream provider (such as T-Mobile or O2), you would most likely need to be processing literally millions of messages a month.. you'd probably also need to meet minimum commit terms (such as throughput and contract duration). I suspect anything short

Re: Race and Locking? was Re: Duplicate rows with same key in DB?

2012-06-23 Thread Cal Leeming [Simplicity Media Ltd]
Also - get_or_create doesn't always prevent a race condition if you have high traffic.. depending on your code+stack. I already did a post about this a while back: http://markmail.org/message/j3qr2y26i5uk7c3z On Sat, Jun 23, 2012 at 8:57 AM, Melvyn Sopacua wrote: > On 23-6-2012 9:52, Melvyn Sop

Re: Send message to SMS Gateway

2012-06-23 Thread Cal Leeming [Simplicity Media Ltd]
>From the way your email is worded, I think you are looking at doing this the wrong way. Look at using something like BulkSMS - or an SMS USB device. Don't start trying to figure out how SMPP and SS7 works, you'll only give yourself a head ache and it absolutely wouldn't be relevant to you. Cal

Re: Import error

2012-06-22 Thread Cal Leeming [Simplicity Media Ltd]
Hi Emily, Here is a really good article (written by the very people who contribute to this list) on how to ask questions on the mailing list: https://code.djangoproject.com/wiki/UsingTheMailingList It tells you what you can do to try and resolve the issue yourself, and what sort of information y

Re: I need something to help with.

2012-06-21 Thread Cal Leeming [Simplicity Media Ltd]
Hi Oladipupo, It's always great to see people wanting to get involved. There are plenty of 'easy pickings' tickets on the Django tickets queue.. or if you don't have enough time/energy to do code contributions, then you could assist users with problems on the mailing list, or contribute to discus

Re: Monitoring cache usage?

2012-06-21 Thread Cal Leeming [Simplicity Media Ltd]
Oh also - I'm not entire sure it's possible to break down hits based on key prefix, at least easily. You might be able to analyse each one of the data slabs/pages/chunks, see which keys are inside, and relate that back to the number of hits against it. The following article goes into more detail:

Re: Monitoring cache usage?

2012-06-21 Thread Cal Leeming [Simplicity Media Ltd]
A quick search on Google found the following: https://github.com/dlrust/python-memcached-stats https://developers.google.com/appengine/docs/python/memcache/clientclass http://code.google.com/p/memcache-top/ http://www.mysqlperformanceblog.com/2008/11/26/a-quick-way-to-get-memcached-status/ If yo

Re: Monitoring memory usage of an external component

2012-06-21 Thread Cal Leeming [Simplicity Media Ltd]
Depending on the web application server you use, this can usually restrict the memory limit for you - uWSGI is a fine example of this. You can also use the 'poor mans' memory checks by checking the resident memory usage (not sure what that func is in Java), and checking if its over a certain limit

Re: strftime

2012-06-21 Thread Cal Leeming [Simplicity Media Ltd]
Hi Armagan, I would suggest investigating what the 'date' variable contains.. You can do this by doing: print type(date) print dir(date) print date I'd also recommend going back through your code and seeing how the date object is instantiated. For future reference, you do really need to provide

Re: New to Django, need help starting

2012-06-21 Thread Cal Leeming [Simplicity Media Ltd]
+1 Personally, I'd really recommend having virtualbox/vmware instance running the same stack as your production environment (i.e. the env where you are going to deploy code to) so you can ensure no horrible sys lib bugs kick in (lxml is a pain for this!!). But if this is too much to start with, th

Re: Installing Django @ Shared Host

2012-06-21 Thread Cal Leeming [Simplicity Media Ltd]
Unless they provide some sort of SaaS service where they take care of deployment for you, then you need shell access. There are plenty of Django friendly shared hosts if you are not comfortable deploying your own stack on a dedi/colo/IaaS cloud - see previous threads on this topic. Personal advice

Re: Our thanks/acknowledgments for Django

2012-06-20 Thread Cal Leeming [Simplicity Media Ltd]
note would you be willing to share total > turn around time / hour spent for the site you launched ? And would you > classify the project as small, medium, or large. > > > > On 20/06/2012 17:14, Cal Leeming [Simplicity Media Ltd] wrote: > > Hi all, > > Last week we releas

Our thanks/acknowledgments for Django

2012-06-20 Thread Cal Leeming [Simplicity Media Ltd]
Hi all, Last week we released a new site into the wild - sadly I haven't had much time to contribute to tickets, or even support on the mailing list - so felt it was about time I started showing our appreciation for Django and its community. Therefore we created an acknowledgements section on the

Re: Please Assist Learning Programming and Python with Django Framework and Stuck

2012-06-16 Thread Cal Leeming [Simplicity Media Ltd]
Just to echo on advice already given, your indenting is a real mess here. You can't get away with bad indenting like you can in other languages, because Python relies on indenting for the flow of code. (i.e. you use intends rather than brackets). You are also using mixed indents (some are 4 space

Stackato PaaS - any experiences?

2012-06-13 Thread Cal Leeming [Simplicity Media Ltd]
Okay, this time I've been reviewing the Stackato PaaS. http://www.activestate.com/stackato Has anyone else here had experiences using this in production to host Django apps? The demo video they made was cute, the management interface seems to be spot on (from the screenshots at least), and the co

Re: Django hosting on heroku - any experiences?

2012-06-11 Thread Cal Leeming [Simplicity Media Ltd]
If so, that would make a lot of sense :) On Mon, Jun 11, 2012 at 11:00 PM, Javier Guerra Giraldez wrote: > On Mon, Jun 11, 2012 at 4:56 PM, Cal Leeming [Simplicity Media Ltd] > wrote: > > As such - I get the impression that any developer who knows how to > maintain > &g

Re: Django hosting on heroku - any experiences?

2012-06-11 Thread Cal Leeming [Simplicity Media Ltd]
That's a good point - I think maybe the issue is just with PaaS in general, not specifically Heroku. On Mon, Jun 11, 2012 at 10:56 PM, Javier Guerra Giraldez wrote: > On Mon, Jun 11, 2012 at 4:42 PM, Cal Leeming [Simplicity Media Ltd] > wrote: > > There's a huge diff

Re: Django hosting on heroku - any experiences?

2012-06-11 Thread Cal Leeming [Simplicity Media Ltd]
Thanks for this very detailed report, Rolo. It seems to be in-line with the article written up by David Cramer (in prev reply), and also other posts that I've read on the topic. One of the things that put me off from reading their site, is that Heroku's key selling point was "Never touch the comm

Re: Django hosting on heroku - any experiences?

2012-06-11 Thread Cal Leeming [Simplicity Media Ltd]
Leeming [Simplicity Media Ltd] wrote: > >> Been a while since my last post! >> >> Read through some of the archives, but couldn't seem to find many user >> reviews on Heroku from django-users list. >> > > You might want to read this: <http://justcram

Django hosting on heroku - any experiences?

2012-06-11 Thread Cal Leeming [Simplicity Media Ltd]
Been a while since my last post! Read through some of the archives, but couldn't seem to find many user reviews on Heroku from django-users list. Could anyone hosting their Django app with Heroku care to post their experiences? Looking for info like: * Downtime experiences (how long, how criti

Re: where do you host your django app and how to you deploy it?!

2012-05-18 Thread Cal Leeming [Simplicity Media Ltd]
I know this is an old thread, but I feel obliged to comment. Some of our legacy clients used DreamHost for their django/python apps.. Then dreamhost decided their VPS's needed a software and hardware upgrade, which resulted in lost data, 4-ish days of downtime, numerous server config inconsistenci

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-05 Thread Cal Leeming [Simplicity Media Ltd]
Programmer* On Sat, May 5, 2012 at 8:22 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Good point - I'd still rather be a programming than a plumber though! > > > On Sat, May 5, 2012 at 6:02 PM, Andy McKay wrote: > >> &g

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-05 Thread Cal Leeming [Simplicity Media Ltd]
Good point - I'd still rather be a programming than a plumber though! On Sat, May 5, 2012 at 6:02 PM, Andy McKay wrote: > > A plumber is mostly manual labor which will take a toll on the body over > the > > years. > > Programming too takes its toll on the body over time (make sure you > have a n

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-03 Thread Cal Leeming [Simplicity Media Ltd]
travelling, covering free quotations etc. > > -- > Daniel Sokolowski > Web Engineer > Danols Web Engineeringhttp://webdesign.danols.com/ > Office: 613-817-6833 > Fax: 613-817-4553 > Toll Free: 1-855-5DANOLS > Kingston, ON K7L 1H3, Canada > > > > > On 03/05/2012

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-03 Thread Cal Leeming [Simplicity Media Ltd]
Hi, Just my two cents worth on this (albeit slightly off topic) - it's not all about technical ability or the industry you are working in. Most clients are willing to pay that extra premium for contractors who are able to manage expectations and go above and beyond. I've seen many great develope

Re: [JOB] Urgent - PHP/Python Developer needed

2012-05-01 Thread Cal Leeming [Simplicity Media Ltd]
salaries, you can guarantee you're gonna be stressed as hell and on-call every weekend. Work satisfaction, opportunities/learning experience, and general life style means so much more - it just took me a few years to realise :) > > On Tue, May 1, 2012 at 7:25 AM, Cal Leeming [Simplicity Med

Re: [JOB] Urgent - PHP/Python Developer needed

2012-05-01 Thread Cal Leeming [Simplicity Media Ltd]
gt; rate and a part time alternative. > > ** ** > > * 1500$/month for 70 hours (20$/hour) > > * 2000$/month for 100 hours (20$/hour) > > ** ** > > Thanks**** > > ** ** > > Cal > > On Tue, Apr 10, 2012 at 9:31 PM, Cal Leeming [Simplicity Media Ltd] < &

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-13 Thread Cal Leeming [Simplicity Media Ltd]
adult industry and their sites content >>>> 18+ mature content. >>>> >>>> Cal >>>> >>>> >>>> On Fri, Apr 13, 2012 at 1:02 PM, Gerald Klein wrote: >>>> >>>>> Hi, I apologize I didn't get yo

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-13 Thread Cal Leeming [Simplicity Media Ltd]
with companies in the adult industry - and we've certainly never had problems retaining clients or securing contracts as a result of that. > > > On Fri, Apr 13, 2012 at 15:16, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > >> Just

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-13 Thread Cal Leeming [Simplicity Media Ltd]
However as a side note, we actually manage and maintain somewhere in the region of 40+ pay sites (including tours, members area etc), and literally thousands of 'mini SEO' sites. Cal On Fri, Apr 13, 2012 at 3:16 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-13 Thread Cal Leeming [Simplicity Media Ltd]
20$/hour) >> * 2000$/month for 100 hours (20$/hour) >> >> Thanks >> >> Cal >> >> On Tue, Apr 10, 2012 at 9:31 PM, Cal Leeming [Simplicity Media Ltd] < >> cal.leem...@simplicitymedialtd.co.uk> wrote: >> >>> Hi all, >>> >>&

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-13 Thread Cal Leeming [Simplicity Media Ltd]
le to offer you an on-site position (if this is what you wanted). On Thu, Apr 12, 2012 at 8:27 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Further update on this - budget has changed so, we can now offer a higher > rate and a part time al

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-12 Thread Cal Leeming [Simplicity Media Ltd]
Further update on this - budget has changed so, we can now offer a higher rate and a part time alternative. * 1500$/month for 70 hours (20$/hour) * 2000$/month for 100 hours (20$/hour) Thanks Cal On Tue, Apr 10, 2012 at 9:31 PM, Cal Leeming [Simplicity Media Ltd] < cal.l

Re: Django Book

2012-04-12 Thread Cal Leeming [Simplicity Media Ltd]
Boy, I've lost count of how many times I've had arguments about books vs documentation vs learning on your own. In short, the only way you're going to get updated books is if technically competent writers spend time writing it - but I doubt many devs would be interested in re-writing (and essentia

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-10 Thread Cal Leeming [Simplicity Media Ltd]
offer is "bad" >> > :) > > cheers, > El 10/04/2012, a las 23:18, Cal Leeming [Simplicity Media Ltd] escribió: > > > > On Tue, Apr 10, 2012 at 10:12 PM, andrea mucci wrote: > >> hi Cal >> >> Our solutions are high volume (peaking at aroun

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-10 Thread Cal Leeming [Simplicity Media Ltd]
bad language > > cheers, > El 10/04/2012, a las 22:31, Cal Leeming [Simplicity Media Ltd] escribió: > > Hi all, > > Another urgent position has come up in our company, applicant needs to > have some experience with using Django but must also be comfortable with > PHP (our cli

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-10 Thread Cal Leeming [Simplicity Media Ltd]
12, at 1:31 PM, Cal Leeming [Simplicity Media Ltd] wrote: > > > * MUST be able to work 30+ hours a week. > > > [...] > > > The position is full time, offering around $2000/month (roughly > £1200/month) for the right candidate - price/hours are negotiable. > > Jus

Re: [JOB] Urgent - PHP/Python Developer needed

2012-04-10 Thread Cal Leeming [Simplicity Media Ltd]
Sorry, small mistake on the posting, Django should have obviously been under essential skills! Cal On Tue, Apr 10, 2012 at 9:31 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Hi all, > > Another urgent position has come up in our company,

[JOB] Urgent - PHP/Python Developer needed

2012-04-10 Thread Cal Leeming [Simplicity Media Ltd]
Hi all, Another urgent position has come up in our company, applicant needs to have some experience with using Django but must also be comfortable with PHP (our clients are a 50/50 split between PHP and Django). -- Simplicity Media Ltd are an established UK company providing bespoke IT solut

Looking for paid advice on (NoSQL) Hadoop / MongoDB / Dynamo

2012-03-21 Thread Cal Leeming [Simplicity Media Ltd]
Hi all, Currently looking at getting some expert advice relating to NoSQL solutions such as Hadoop, MongoDB, Dynamo and others. The kind of advice we're looking for is an 'overall' perspective and general discussion, rather than a step by step guide. Can pay market rates for up to 8 hours worth

Re: Automatically block requests from bad IP addresses

2012-02-12 Thread Cal Leeming [Simplicity Media Ltd]
That's pretty cute, we use a similar type of DDoS protection method in our webapps too, along with an abusive IP register (albeit ours isn't based on RPM - requests per minute). You might also want to consider looking at CloudFlare (free for even huge amounts of traffic), as they maintain a *huge*

Startup seeks Python dev for large scale scraping / data mining

2012-02-02 Thread Cal Leeming [Simplicity Media Ltd]
Hi all, If anyone is interested in the below spec, please feel free to contact me on cal.leem...@insurancezebra.com Cheers Cal InsuranceZebra, an Innovation Works, Inc. AlphaLab company seeks a Python developer to join its exciting entrepreneurial team - on a remote working basis with imm

[re-post] MySQL connection pooling - preferred method??

2012-01-26 Thread Cal Leeming [Simplicity Media Ltd]
g, but I'm still really dubious because when it gets into those depths, surely that should be in the core... *shrugs* Penny for your thoughts? :) Cal -- Forwarded message ------ From: Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> Date: Wed, Jan

Re: Directory layout for a large Django application (not project)

2012-01-10 Thread Cal Leeming [Simplicity Media Ltd]
ek > > On 10 January 2012 13:01, Cal Leeming [Simplicity Media Ltd] > wrote: > > I've hit this same problem myself many times. > > > > Ultimately there is never any one answer - you can split out > functionality > > into individual modules, but there has to be

Re: Directory layout for a large Django application (not project)

2012-01-10 Thread Cal Leeming [Simplicity Media Ltd]
I've hit this same problem myself many times. Ultimately there is never any one answer - you can split out functionality into individual modules, but there has to be a good use case for it, otherwise the overhead has a negative impact. You also have to take into consideration the re-usability of

Re: New Relic with Django

2012-01-03 Thread Cal Leeming [Simplicity Media Ltd]
> william.ratcl...@gmail.com> wrote: > >> Could someone provide a link, or a brief description of "New Relic" >> >> Thanks! >> >> >> On Tue, Jan 3, 2012 at 9:00 AM, Cal Leeming [Simplicity Media Ltd] < >> cal.leem...@simplicitymedialtd.co.uk

Re: New Relic with Django

2012-01-03 Thread Cal Leeming [Simplicity Media Ltd]
Yeah, the pricing is very steep - and is really only suited for production systems which are bringing in a decent amount of revenue. It's a shame no one has brought out an open source version of New Relic - if I had the time/funding, I totally would! Cal On Tue, Jan 3, 2012 at 1:33 PM, Brian Bou

Re: Django app for IP address lookup

2012-01-01 Thread Cal Leeming [Simplicity Media Ltd]
Nice little web app. It would be great if you can put the source code on GitHub, so others may benefit from this :) Cal On Sun, Jan 1, 2012 at 6:56 AM, Timothy Makobu wrote: > Thanks man. Happy new year! > > > On Sun, Jan 1, 2012 at 9:33 AM, Addy Yeow wrote: > >> Here you go: >> http://dazzlep

Re: Happy new year

2012-01-01 Thread Cal Leeming [Simplicity Media Ltd]
Happy new year everyone :) Lets hope 2012 is a great year for Django!! On Sun, Jan 1, 2012 at 8:58 AM, Daniel Ngarambe wrote: > Hello Geeks, > > I wish you all a happy mew year. > > DNSr. > > Sent from Samsung Galaxy S > On 1 Jan 2012 08:24, "girish shabadimath" > wrote: > >> New year wishes t

Little something for those still here on Christmas Eve :)

2011-12-24 Thread Cal Leeming [Simplicity Media Ltd]
Our version of Christmas Eve *cough* "fail over testing". Although only a lose connection to Django (prod boxes ran django webapps) - I'm sure most of you will appreciate this. -- ‎(04:42:52) foxx/sleepycal: right, f**k this (04:42:58) foxx/sleepycal: its 4.42am (04:43:04) foxx/slee

Re: Which IDE should I use for Django?

2011-12-23 Thread Cal Leeming [Simplicity Media Ltd]
:) On Dec 23, 2011 5:36 AM, "kenneth gonsalves" wrote: > On Thu, 2011-12-22 at 16:44 +, Cal Leeming [Simplicity Media Ltd] > wrote: > > Personally - I'd recommend Sublime Text 2 - but this is a text editor, > > not really an IDE. > > actually the best IDE i

Re: Weekly discussion/randoms thread..

2011-12-23 Thread Cal Leeming [Simplicity Media Ltd]
1 12:29 PM, "Andre Terra" wrote: > On Fri, Dec 23, 2011 at 12:27 AM, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > >> I think the most important aspect is to keep this integrated into the >> list, and not require the

Re: Weekly discussion/randoms thread..

2011-12-22 Thread Cal Leeming [Simplicity Media Ltd]
h-Magee < russ...@keith-magee.com> wrote: > > > On Fri, Dec 23, 2011 at 12:39 AM, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > >> Since starting, PythonWeekly seems to have been sending out some quite >> useful and interes

Re: Weekly discussion/randoms thread..

2011-12-22 Thread Cal Leeming [Simplicity Media Ltd]
Sure, here you go: Taken from: http://excess.org/article/2011/12/unfortunate-python/ if __name__ == '__main__'

Re: Which IDE should I use for Django?

2011-12-22 Thread Cal Leeming [Simplicity Media Ltd]
Personally - I'd recommend Sublime Text 2 - but this is a text editor, not really an IDE. But, it doesn't come with 'useful' code completion or code intellisense. It also really depends on what sort of developer you are.. If you came from a background of using a text editor like vi/nano/editra,

Weekly discussion/randoms thread..

2011-12-22 Thread Cal Leeming [Simplicity Media Ltd]
Since starting, PythonWeekly seems to have been sending out some quite useful and interesting information.. Although it's not directly related to Django, a lot of the information is highly relevant to every day Django use. It also got me thinking, perhaps it would be nice to have a weekly thread

Re: Bulk import of data

2011-12-02 Thread Cal Leeming [Simplicity Media Ltd]
Faster in what sense? Prototyping/development time, or run time? If it's only a few MB, I see little reason to go as far as to writing it in C. Unless you are performing the same import tens of thousands of times, and the overhead in Python adds up so much that you get problems. But, quite frankl

Re: aggregate(Sum('x')) returns None

2011-11-24 Thread Cal Leeming [Simplicity Media Ltd]
None != 0 If no rows were encountered, then None should be returned, because there was no data to aggregate, thus how can it logically come back with 0? I'm -1 on this On Wed, Nov 23, 2011 at 6:24 PM, M. Can Bayrak wrote: > Agree, i think sum must return decimal. Same problem with me. > > -- >

Re: Online Django meetup at 10am EST to discuss basics

2011-11-20 Thread Cal Leeming [Simplicity Media Ltd]
Hi William, You might want to give a bit more advanced notice when doing online presentations/meetings.. It's not unusual to give 7 days notice.. 48 hours is usually the minimum.. Also 10am EST is not very 'timezone friendly'.. Usually the best is around 6pm GMT (10am PST, 2pm EST), as everyone is

Re: [] Re: memcached - Errors and Solution - please provide comments!

2011-11-12 Thread Cal Leeming [Simplicity Media Ltd]
+1 on hashing the key. Just my two cents worth but, the way our company does it as standard is something like this: import hashlib def generate_key(*args, **kwargs): return hashlib.sha224(pickle.dumps([args, kwargs])).hexdigest() Then you can do stuff like: lol = YourModel.objects.all()[0] g

Re: Django class based views - not keen - anyone else??

2011-11-05 Thread Cal Leeming [Simplicity Media Ltd]
mes, you just have to think outside of the box :) > > On Fri, Nov 4, 2011 at 6:36 PM, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > >> Hey all, >> >> I took a look through some of the documentation for class based views - and

Django class based views - not keen - anyone else??

2011-11-04 Thread Cal Leeming [Simplicity Media Ltd]
Hey all, I took a look through some of the documentation for class based views - and my first reaction was "Eww.". Imho, it looks much like the "admin section" customization stuff, and would quickly become a pain to work with if you deviate away from 'the box'. This comes from me having absolute

Re: sprintf in python (not strictly django, but used all the time in django webapps)

2011-10-24 Thread Cal Leeming [Simplicity Media Ltd]
You're correct :L Thanks for this - I think I might replace my daily break with random Python docs pages, rather than 'theregister' for a few weeks! Cal On Mon, Oct 24, 2011 at 3:09 PM, Tom Evans wrote: > On Thu, Oct 20, 2011 at 7:17 PM, Cal Leeming [Simplicity Media Ltd

Re: sprintf in python (not strictly django, but used all the time in django webapps)

2011-10-20 Thread Cal Leeming [Simplicity Media Ltd]
te: > On Thu, Oct 20, 2011 at 2:21 PM, Tim Chase > wrote: >> On 10/20/11 13:17, Cal Leeming [Simplicity Media Ltd] wrote: >>> >>> So, just out of curiosity, how many other people didn't realise you >>> could do this: >>> >>>>&

sprintf in python (not strictly django, but used all the time in django webapps)

2011-10-20 Thread Cal Leeming [Simplicity Media Ltd]
So, just out of curiosity, how many other people didn't realise you could do this: >>> print '%(language)s has %(number)03d quote types.' % \ ... {"language": "Python", "number": 2} Instead of this: print "%s has %03d" % ( "python", "2" ) 6 years of python development, and I never found

<    1   2   3   4   5   6   7   >