I hereby claim:
- I am gasman on github.
- I am mattwestcott (https://keybase.io/mattwestcott) on keybase.
- I have a public key whose fingerprint is 4D33 A325 2D66 7384 42E7 FF9E 1A92 6186 FECD 38FE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import six | |
class ModelBase(type): | |
def __new__(meta, name, bases, dct): | |
print("ModelBase.__new__(%s)" % name) | |
result = super(ModelBase, meta).__new__(meta, name, bases, dct) | |
print("/ModelBase.__new__(%s)" % name) | |
return result | |
def __init__(cls, name, bases, dct): |
; Vortex Tracker II PT3 playback routine - written by Sergey Bulba | |
; usage: | |
; ld hl,address_of_pt3_data | |
; call pt3_init | |
; then every 1/50 second: | |
; call play | |
; to silence: | |
; call mute |
On 17 Jul 2014, at 11:41, Matthew Westcott wrote:
So, as a compromise, how about we keep the packages in there, but use a '>=' rule so that they pick up the latest version? The downside is that new versions can be released at any time, and we can no longer guarantee that local and live installations of a site are running the same version - which is bad news if the packages introduce breaking changes (hellooo elasticsearch!). But then again, that already happens to some extent (e.g. packages that define their own dependencies using >=) and it doesn't seem to have been a problem up to now.
Having pondered the '>=' versus '==' conundrum some more, I'm starting to think that the "best practice" for requirements files as codified by the Two Scoops book has some room for improvement. The root of the problem is that the requirements file has two conflicting purposes:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
# Base box to build off, and download URL for when it doesn't exist on the user's system already | |
config.vm.box = "wagtail-base-v0.1" | |
config.vm.box_url = "http://downloads.torchbox.com/wagtail-base-v0.1.box" | |
# You can also build from a vanilla precise32 box, although it'll take longer |