The projects aims to bring the support of python3 to the whole mozilla-central codebase and remove the support for python2 since it reached its end of life in January'20. It involves keeping up to date third_party packages so as to improve performance and add support for python3. There still a lot of work left that is to be done
Django girls, Django gays | |
(E: entrevistador. A y B son los entrevistados, no consigo identificarlos por su voz al 100% con los que se presentan al principio del podcast) | |
- E: Tenéis pensada alguna actividad para fomentar una sociedad “más mejor”? Es una pregunta un poco rara. | |
- A: Je, ¿una sociedad más mejor? Hombre, pues mira, ahí va a haber como es la <no se entiende bien> Django Girls, los Django Gays, los Django... (se oyen risas) de todos los colores (más risas). Digo yo, por aquello de las cosas diferentes, no? | |
- B: Por ahora solo hay... | |
- A: (interrumpe) No, también a lo mejor hacemos los Django Macho <incomprensible> las mujeres | |
- B: Los Macho Ibéricos | |
- A: Hombre, a ver, básicamente, a ver. Lo que ocurre con Python y estas comunidades, ese movimiento de software libre compartido, eso es una revolución de tal calibre que ello per se ya es una transformación de la sociedad. No hay que andar buscándole muchas vueltas a la cosa. Yo he conocido la época en la que no había software, porque ya soy un poco |
-
The code will get better. Linus' Law: "given enough eyeballs, all bugs are shallow": we'll be able to get community contributions and bug reports, and thus the code will grow better faster than we can grow it ourselves. Also, Joy's Law - "No matter who you are, most of the smartest people work for someone else": we'll get better code from people who don't work for us than from people who do.
-
We'll write better code. Wall's 3rd great virtual of a programmer, Hubris: we'll write better code people we don't want other people to say bad things about us. We'll do better with the world watching than with just us.
-
Increased ability to hire. We're a 19k circ newspaper in a town most people have never heard of. Open source will help put us on the map, make us a place people actually might be interested in working.
-
When we do hire, we'll be able to hire pe
""" | |
module mydjangolib.bigint_patch | |
A fix for the rather well-known ticket #399 in the django project. | |
Create and link to auto-incrementing primary keys of type bigint without | |
having to reload the model instance after saving it to get the ID set in | |
the instance. | |
Logs: |
# apkg/__init__.py | |
# Empty. Nothing to see here. |
#### PS1 customization #### | |
NONE="\[\033[0m\]" # unsets color to term fg color | |
# regular colors | |
K="\[\033[0;30m\]" # black | |
R="\[\033[0;31m\]" # red | |
G="\[\033[0;32m\]" # green | |
Y="\[\033[0;33m\]" # yellow | |
B="\[\033[0;34m\]" # blue | |
M="\[\033[0;35m\]" # magenta |
This document assumes you already have an up and running instance of django_compressor, and that you understand how to use it in your templates. The goal is to explain what the main template tag, {% compress %}, does behind the scenes, to help you debug performance problems for instance.
The goal of Summer of Code is to get your project written, reviewed, and | |
ultimately merged back into Django's trunk. We want your project to | |
succeed, and we approved it because we think you've got a good chance of | |
pulling it off. | |
However, this is easier said than done. You'll need to work hard, | |
communicate effectively with the community, and pass a rigorous peer | |
review. Your mentor -- and Django's committer team in general -- will give | |
you as much support as possible, but ultimately the onus is on your | |
shoulders to get this done. |
"Memcached cache backend" | |
from django.core.cache.backends import memcached | |
from django.utils.encoding import smart_unicode, smart_str | |
MIN_COMPRESS_LEN = 150000 | |
class CacheClass(memcached.CacheClass): | |
def add(self, key, value, timeout=None, min_compress_len=MIN_COMPRESS_LEN): | |
if isinstance(value, unicode): |
Save the supervisord.initscript script as /etc/init.d/supervisord | |
Run /usr/sbin/update-rc.d -f supervisord defaults |