Re: Affordable Django hosting solution in India/around?

2012-06-29 Thread Bjarni Rúnar Einarsson
On Tue, Jun 26, 2012 at 4:56 AM, Kartik Singhal wrote: > > If nothing else works out our last option will be to host in college > servers, but that involves additional headache being unreliable. Out of curiosity, what is it that makes your college servers unreliable?

Re: How to deploy new code to the Production Server?

2011-12-02 Thread Bjarni Rúnar Einarsson
I considered it very important to be able to keep all configurations under revision control and have the ability to review the changes between what is live, what is tested and what is in development. As soon as you start leaving things out of revision control (for example as someone recommended

Re: how to match a url in urls.py

2011-10-03 Thread Bjarni Rúnar Einarsson
The complaint about invalid ranges probably stems from the fact that you have '-' in the middle of your character lists. If you do not mean [a-z], you should always make the dash the last character, like so: [az-]. The expression as pasted is requesting ranges [w-:] in a couple of places, which

Re: (off-topic) Quick method of sending files from ssh to clients

2011-09-29 Thread Bjarni Rúnar Einarsson
2011/9/29 Bjarni Rúnar Einarsson <b...@pagekite.net>: > If you have mutt installed (a popular text-mode mail reader/writer), > you can get the same thing done without any scripting: > > $ echo 'Here you go' |mutt recipi...@domain.com -s 'My subject' -a > /path/to/file ... f

Re: (off-topic) Quick method of sending files from ssh to clients

2011-09-29 Thread Bjarni Rúnar Einarsson
If you have mutt installed (a popular text-mode mail reader/writer), you can get the same thing done without any scripting: $ echo 'Here you go' |mutt recipi...@domain.com -s 'My subject' -a /path/to/file :-) On Thu, Sep 29, 2011 at 2:57 PM, Cal Leeming [Simplicity Media Ltd]

Re: Https with runserver

2011-09-22 Thread Bjarni Rúnar Einarsson
Following up to myself (sorry for the spam) - please replace "yourname" with something you invented yourself. Everyone signing up for yourname.pagekite.me is really not going to work very well. :-) 2011/9/22 Bjarni Rúnar Einarsson <b...@pagekite.net>: > Another way, would

Re: Https with runserver

2011-09-22 Thread Bjarni Rúnar Einarsson
Another way, would be to use PageKite. The service provides a wildcard SSL cert for all *.pagekite.me names. From the command line: curl http://pagekite.net/pk/pagekite-0.4.py >pagekite.py python pagekite.py 8000 yourname.pagekite.me Answer the account creation questions and then go to

Re: Some thoughts on a package/stack compile system for easy distribution of webapps..

2011-07-08 Thread Bjarni Rúnar Einarsson
On Fri, Jul 8, 2011 at 5:22 AM, Roberto De Ioris <robe...@unbit.it> wrote: > > 2011/7/8 Bjarni Rúnar Einarsson <b...@pagekite.net> > > > > Nice script; but i (and also i guess Cal) were thinking more in the terms > > of having a single binary. > > > &g

Re: Some thoughts on a package/stack compile system for easy distribution of webapps..

2011-07-07 Thread Bjarni Rúnar Einarsson
I actually just wrote a similar tool for solving a (very limited) subset of this problem: http://pagekite.net/wiki/Floss/PyBreeder/ https://github.com/pagekite/PyBreeder It's basically a small tool for combining multiple .py files into one. It's trivial I know, but I looked all over and

Re: Django Development Environments

2011-06-07 Thread Bjarni Rúnar Einarsson
Dev: - Ubuntu 11.04 (netbook) - vim - git - in-memory mocks of user DB - bundled Django dev server + PageKite for testing & showing coworkers Production: - debian stable (linode) - redis for replicated user DB / sqlite for rarely-changing site content - lighttpd + fastcgi/flup (hot pages

Re: bounces

2011-06-06 Thread Bjarni Rúnar Einarsson
On Mon, Jun 6, 2011 at 12:12 PM, Paul Schewietzek wrote: > If at all, shouldn't they block domains instead of IP's?? Dunno. > > But I'm getting too far off topic with this I guess. > > Have a nice day =) > I worked as a spam fighter for a while, can share my insight:

Re: How to choose a license for an app or a project?

2011-05-15 Thread Bjarni Rúnar Einarsson
On Sat, May 14, 2011 at 7:39 PM, Boštjan Mejak wrote: > Say I create an app in Python and wxPython (a Python GUI framework). And > then I upload my installation binaries (binaries created with py2exe and > setup made with Inno Setup) to, say, Google Code. I don't want to

Re: How to choose a license for an app or a project?

2011-05-14 Thread Bjarni Rúnar Einarsson
Hi Bostjan, I think you are misunderstanding one basic thing. You do not NEED a license for your own code. By default, program code is protected by copyright in most parts of the world. Licenses clarify or renounce some or all of the protections of copyright and patent law, and they only matter

Re: How to choose a license for an app or a project?

2011-05-14 Thread Bjarni Rúnar Einarsson
On Sat, May 14, 2011 at 1:38 AM, Kenneth Gonsalves <law...@thenilgiris.com>wrote: > On Fri, 2011-05-13 at 12:23 +0000, Bjarni Rúnar Einarsson wrote: > > Other random points: Generally speaking, I prefer the more recent, > > modern > > licenses (GPLv3 instead of G

Re: How to choose a license for an app or a project?

2011-05-13 Thread Bjarni Rúnar Einarsson
Here are some of my rules of thumb: 1) If it is trivial, put it in the public domain (config files, etc.). 2) If you are trying to create a standard of some sort, use the Apache 2 license. 3) If you are trying to contribute to an existing community, use whatever license they use.