This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pairings | initial load | sorting click | pagination click | | |
|----------+--------------+---------------+------------------| | |
| 1000 | 15s | 12s | 12s | | |
| 500 | 7.5s | 5.26s | 5.29s | | |
| 250 | 6.14s | 3.04s | 2.95s | | |
| 100 | 3.97s | 1.42s | 1.39s | | |
| 50 | 3.45s | 813ms | 813ms | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dug@var-som-am35:~/src/redmine-2.1.2$ gem install bundler | |
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>': | |
It seems your ruby installation is missing psych (for YAML output). | |
To eliminate this warning, please install libyaml and reinstall your ruby. | |
ERROR: Loading command: install (LoadError) | |
cannot load such file -- zlib | |
ERROR: While executing gem ... (NameError) | |
uninitialized constant Gem::Commands::InstallCommand | |
dug@var-som-am35:~/src/redmine-2.1.2$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Capybara | |
class Server | |
def initialize | |
@port = ... | |
end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from repoze.lemonade.content import create_content | |
from opencore.models.interfaces import IProfile | |
from opencore.security.policy import to_profile_active | |
groups = ('group.KarlStaff',) | |
lastname = "Reynolds" | |
email = "nobody@nowhere.com" | |
users = root.users | |
profiles = root['profiles'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(working db) | |
zodb=# \z public.current_object | |
Access privileges | |
Schema | Name | Type | Access privileges | Column access privileges | |
--------+----------------+-------+-------------------+-------------------------- | |
public | current_object | table | | | |
(failing db) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On the project view: | |
+ Can you confirm that these are new, additional data that we will | |
collect from the user, keep associated with a project, and allow the | |
owning user to edit? | |
- Project Title | |
- Project photo | |
- Project location | |
- Project description | |
- Focus area association | |
- Twitter hash tags associated with this project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "mechanize" | |
require "benchmark" | |
story = "my-cow-ate-my-homework" | |
env = :staging | |
urls = { | |
:staging => 'http://hcd-connect-staging.herokuapp.com/stories/', | |
:devel => 'http://127.0.0.1:6544/stories/' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 799b2c7debb78643eec2afcd4691f334f5486a10 | |
Author: Alex May <alex.k.may@gmail.com> | |
Date: Tue Mar 20 13:50:34 2012 -0700 | |
bump up event stack size | |
- should be enough to hold 1 year's worth of events now | |
diff --git a/src/opencore/opencore/models/contentfeeds.py b/src/opencore/opencore/models/contentfeeds.py | |
index 243c841..e6f6747 100644 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 3c24d247ec2fc421cfdf05f53314284634307542 | |
Author: Alex May <alex.k.may@gmail.com> | |
Date: Sun Apr 15 13:02:00 2012 -0700 | |
set sane limits on stack size | |
- we know that stacks of size 10k+ cannot be iterated through | |
quickly enough to serve web requests | |
diff --git a/src/opencore/opencore/models/contentfeeds.py b/src/opencore/opencore/models/contentfeeds.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 07b0e595d0c35bea2476a499161785cdc1204864 | |
Author: Alex May <alex.k.may@gmail.com> | |
Date: Wed Mar 28 14:54:01 2012 -0700 | |
use context's topics, not contents | |
diff --git a/src/opencore/opencore/models/contentfeeds.py b/src/opencore/opencore/models/contentfeeds.py | |
index 51de399..4a71ee3 100644 | |
--- a/src/opencore/opencore/models/contentfeeds.py | |
+++ b/src/opencore/opencore/models/contentfeeds.py |