Skip to content

Instantly share code, notes, and snippets.

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
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
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',
<?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([]);
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
@zombor
zombor / Kohana
Created September 12, 2012 02:42
Benchmarks
-> % 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
[:start_date_time, :end_date_time, :updated_at, :created_at].each do |key|
presentation_hash[key] = presentation_hash[key].iso8601 if presentation_hash[key]
end
"Sending: \x00\x00\x008\x02\v\x00\x00\x00\x01htspversion\x06\x03\n\x00\x00\x00\x05clientnamerspec\x03\x06\x00\x00\x00\x05methodhello"
#<HTSP::Message:0x007f899d1eac48 @params={"htspversion"=>6, "servername"=>"HTS Tvheadend", "serverversion"=>"3.1.769~g4303374", "challenge"=>"\x13\xB3s\xBC\xC3*Bc \xDA\xA02\xE4\xB9u\xE8\x97D\x15\xD5Ny\xAFM\xE0(i\xB2\x91\xC8\xA6&", "servercapability"=>{}}>
"Sending: \x00\x00\x00P\x03\b\x00\x00\x00\nusernamejeremybush\x03\x06\x00\x00\x00\x14digest\x82k_\xE2b\x9E\xA2\x89\xE1\xA7\xA3h\x87Z\x82yD\x1C\x8E\b\x03\x06\x00\x00\x00\fmethodauthenticate"
F
Failures:
1) HTSP::Client authenticate successfully authenticates
Failure/Error: response = subject.authenticate('jeremybush', 'zombor')
RuntimeError:
2012-10-17T16:33:40+00:00 app[postgres]: [5-1] u7tj1vbt0q5kn7 [GOLD] LOG: could not receive data from client: Connection reset by peer
2012-10-17T16:33:40+00:00 app[postgres]: [6-1] u7tj1vbt0q5kn7 [GOLD] LOG: unexpected EOF on client connection
2012-10-17T16:33:40+00:00 app[postgres]: [5-1] u7tj1vbt0q5kn7 [GOLD] LOG: could not receive data from client: Connection reset by peer
2012-10-17T16:33:40+00:00 app[postgres]: [6-1] u7tj1vbt0q5kn7 [GOLD] LOG: unexpected EOF on client connection
2012-10-17T16:33:40+00:00 app[postgres]: [5-1] u7tj1vbt0q5kn7 [GOLD] LOG: could not receive data from client: Connection reset by peer
2012-10-17T16:33:40+00:00 app[postgres]: [6-1] u7tj1vbt0q5kn7 [GOLD] LOG: unexpected EOF on client connection
2012-10-17T16:33:40+00:00 app[postgres]: [5-1] u7tj1vbt0q5kn7 [GOLD] LOG: could not receive data from client: Connection reset by peer
2012-10-17T16:33:40+00:00 app[postgres]: [6-1] u7tj1vbt0q5kn7 [GOLD] LOG: unexpected EOF on client connection
diff --git a/classes/kohana/unittest/tests.php b/classes/kohana/unittest/tests.php
index b87ba52..98f8974 100644
--- a/classes/kohana/unittest/tests.php
+++ b/classes/kohana/unittest/tests.php
@@ -18,7 +18,7 @@ class Kohana_Unittest_Tests {
* is greater than or equal to 3.5
* @var boolean
*/
- static protected $phpunit_v35 = FALSE;
+ static protected $phpunit_v35 = TRUE;