I hereby claim:
- I am jezdez on github.
- I am jezdez (https://keybase.io/jezdez) on keybase.
- I have a public key whose fingerprint is 02E6 89FD 06FF 9474 13E0 887F C795 956F B489 DCA9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
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
#!/usr/bin/env python | |
"""Port localflavors | |
Usage: | |
port.py clone [--dry-run] | |
port.py copy [--dry-run] | |
port.py merge_po [--dry-run] | |
port.py (-h | --help) | |
port.py --version |
Step1-Identify LCD: | |
Open Terminal and copy-paste | |
ioreg -lw0 | grep \"EDID\" | sed "/[^<]*</s///" | xxd -p -r | strings -6 | |
LP154WT1-SJA2 (=LG 2nd revision) | |
LP154WT1-SJA1 (=LG 1st revision) | |
LSN154YL01001 (=Samsung) | |
Step2-Test for IR: | |
http://www.mitchmalone.name/retina-test/ |
AppBase | |
AppPortrait | |
AppSketch | |
AppPassport | |
AppPlan | |
AppDetails | |
AppSpec | |
AppThing | |
AppTraits | |
AppFrame |
""" | |
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. |
from functools import wraps | |
from mock import patch | |
def environ(**variables): | |
def decorator(func): | |
@wraps(func) | |
def wrapped(*args, **kwargs): | |
with patch.dict('os.environ', variables): | |
return func(*args, **kwargs) |
diff --git a/docs/ref/class-based-views/fundamentals.txt b/docs/ref/class-based-views/fundamentals.txt | |
index 2591869..95ae352 100644 | |
--- a/docs/ref/class-based-views/fundamentals.txt | |
+++ b/docs/ref/class-based-views/fundamentals.txt | |
@@ -16,9 +16,8 @@ views. | |
**Method Flowchart** | |
- 1. dispatch() | |
- 2. http_method_not_allowed() |
before: | |
Running all benchmarks | |
Control: Django 1.4 pre-alpha (in git branch master) | |
Experiment: Django 1.4 pre-alpha (in git branch soc2011/form-rendering) | |
Running 'simple_form' benchmark ... | |
Min: 0.000264 -> 0.000267: 1.0117x slower | |
Avg: 0.000309 -> 0.000448: 1.4518x slower | |
Significant (t=-76.577531) |