This file contains hidden or 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
-> % httperf --server=localhost --rate=1000 --num-conns=10000 --port 8081 | |
httperf --client=0/1 --server=localhost --port=8081 --uri=/ --rate=1000 --send-buffer=4096 --recv-buffer=16384 --num-conns=10000 --num-calls=1 | |
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE | |
Maximum connect burst length: 2 | |
Total: connections 1573 requests 1573 replies 1352 test-duration 33.777 s | |
Connection rate: 46.6 conn/s (21.5 ms/conn, <=1022 concurrent connections) | |
Connection time [ms]: min 24.2 avg 12044.1 max 32692.9 median 5362.5 stddev 11001.5 | |
Connection time [ms]: connect 9472.6 |
This file contains hidden or 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
Sep 9 13:51:15 htpc mythfrontend[21553]: I Decoder ringbuffer.cpp:1086 (WaitForAvail) RingBuf(/media/Drobo01/dvr/1002_20120909135042.mpg): Waited 14.5 seconds for data | |
Sep 9 13:51:15 htpc to become available... 0 < 32768 | |
Sep 9 13:51:15 htpc mythfrontend[21553]: N CoreContext mythplayer.cpp:2078 (PrebufferEnoughFrames) Player(0): Waited 13987ms for video buffers AAAAAAAAAAAAAAAAAAAUUUUUUU | |
UUUuLP | |
Sep 9 13:51:15 htpc mythfrontend[21553]: N CoreContext mythplayer.cpp:2078 (PrebufferEnoughFrames) Player(0): Waited 14103ms for video buffers AAAAAAAAAAAAAAAAAAAUUUUUUU | |
UUUuLP | |
Sep 9 13:51:15 htpc mythfrontend[21553]: I Decoder ringbuffer.cpp:1086 (WaitForAvail) RingBuf(/media/Drobo01/dvr/1002_20120909135042.mpg): Waited 14.8 seconds for data | |
Sep 9 13:51:15 htpc to become available... 0 < 32768 | |
Sep 9 13:51:15 htpc mythfrontend[21553]: N CoreContext mythplayer.cpp:2078 (PrebufferEnoughFrames) Player(0): Waited 14220ms for video buffers AAAAAAAAAAAAAAAAAAAUUUUUUU | |
UUUuLP |
This file contains hidden or 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
<?php | |
class Arden_Repository_Users extends Arden_Repository_KohanaDatabase | |
{ | |
protected $_model_class = 'Model_User'; | |
protected $_table_name = 'users'; | |
public function find_users() | |
{ | |
return $this->load_set([]); |
This file contains hidden or 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
diff --git a/application/bootstrap.php b/application/bootstrap.php | |
index 7f571c9..216f92a 100644 | |
--- a/application/bootstrap.php | |
+++ b/application/bootstrap.php | |
@@ -100,6 +100,7 @@ Kohana::$config->attach(new Config_File); | |
Kohana::modules(array( | |
'database' => MODPATH.'database', // Database access | |
'auto-modeler' => MODPATH.'auto-modeler', | |
+ 'arden' => MODPATH.'arden', | |
'kostache' => MODPATH.'kostache', |
This file contains hidden or 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
diff --git a/application/classes/context/user/add.php b/application/classes/context/user/add.php | |
index 20b2330..85a98f3 100644 | |
--- a/application/classes/context/user/add.php | |
+++ b/application/classes/context/user/add.php | |
@@ -13,12 +13,34 @@ class Context_User_Add | |
$groups = arr::get($data, 'groups', array()); | |
unset($data['groups']); | |
- // Normally, UnsavedUser would be a private class of this context, | |
- // but you can't nest classes in php. This hard dependancy is ok in |
This file contains hidden or 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
dyld: Library not loaded: /Users/jeremybush/gentoo/lib/libiconv.2.dylib | |
Referenced from: /Users/jeremybush/gentoo/bin/bash | |
Reason: Incompatible library version: bash requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 |
This file contains hidden or 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
2012-06-17 13:22:45.391296 I [27429] ProcessRequest mainserver.cpp:1360 (HandleAnnounce) - MainServer::ANN Monitor | |
2012-06-17 13:22:45.391473 I [27429/27692] ProcessRequest mainserver.cpp:1362 (HandleAnnounce) - adding: htpc as a client (events: 2) | |
2012-06-17 13:22:45.391921 I [27429/27692] ProcessRequest mainserver.cpp:1360 (HandleAnnounce) - MainServer::ANN Monitor | |
2012-06-17 13:22:45.391931 I [27429/27692] ProcessRequest mainserver.cpp:1362 (HandleAnnounce) - adding: htpc as a client (events: 2) | |
2012-06-17 13:22:45.466376 I [27429/27446] Scheduler scheduler.cpp:2069 (HandleReschedule) - Scheduled 105 items in 0.2 = 0.00 match + 0.19 place | |
2012-06-17 13:22:45.467312 I [27429/27446] Scheduler scheduler.cpp:2011 (HandleReschedule) - Reschedule requested for id 0. | |
2012-06-17 13:22:45.610965 I [27429/27446] Scheduler scheduler.cpp:2069 (HandleReschedule) - Scheduled 105 items in 0.1 = 0.00 match + 0.14 place | |
2012-06-17 13:22:46.083551 I [27429/27692] ProcessRequest mainserver.cpp:1410 (HandleAnnounce) - adding: |
This file contains hidden or 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
% irb | |
1.9.3-p194 :001 > require 'date' | |
=> true | |
1.9.3-p194 :002 > date = Date.new(2001,2,3) | |
=> #<Date: 2001-02-03 ((2451944j,0s,0n),+0s,2299161j)> | |
1.9.3-p194 :003 > date.strftime('%Z') | |
=> "+00:00" |
This file contains hidden or 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
-> % ./phpspec-composer.php specs -f d -b -c | |
AutoModelerDAO | |
should create a loaded model (PENDING: No reason given) | |
should create a model with an id (PENDING: No reason given) | |
should throw exception when creating loaded model (PENDING: No reason given) | |
should update one row (PENDING: No reason given) | |
should throw exception when updating non loaded model (PENDING: No reason given) | |
should delete persisted model (PENDING: No reason given) | |
should throw exception when deleting non loaded model (PENDING: No reason given) | |
AutoModeler |
This file contains hidden or 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
diff --git a/classes/automodeler/gateway/database/orm.php b/classes/automodeler/gateway/database/orm.php | |
new file mode 100644 | |
index 0000000..0d6c8fb | |
--- /dev/null | |
+++ b/classes/automodeler/gateway/database/orm.php | |
@@ -0,0 +1,36 @@ | |
+<?php | |
+ | |
+class AutoModeler_Gateway_Database_ORM extends AutoModeler_Gateway_Database | |
+{ |