hello vonnie
will byers stan first human second
almost home
I'd rather be in outer space 🛸

pixel skylines

oozey mess
Lint Roller? I Barely Know Her
noise dept.
he wasn't even looking at me and he found me
Alisa U Zemlji Chuda
occasionally subtle

JVL
art blog(derogatory)
KIROKAZE

Kiana Khansmith

Kaledo Art
Peter Solarz
Keni

No title available
styofa doing anything

seen from United States
seen from Netherlands
seen from United States
seen from Türkiye

seen from United States

seen from Singapore
seen from Netherlands

seen from United States

seen from Czechia
seen from Türkiye
seen from Kenya

seen from United Kingdom

seen from United States

seen from United States

seen from United States
seen from United States
seen from United States

seen from Paraguay

seen from United States

seen from Singapore
@arenaofthefuture
The greater power that artificial intelligence will be
Artificial intelligence will excel at defining terms.The power of artificial intelligence will come from being able to create multiple contexts for every question. Each correct context will make the bullseye closer and bigger and thus easier to hit. Each correct context will exist inside of a previously established context and each must be congruent with the other. (Primitive Example tbd square and rectangle) Here's a real world technology example; predictive text. I typed, "are you following the wild card game?" Referring to the NFL games on the tv. Given my location, a sports bar, the multitude of communications on the Web about wild card games (not necessarily my comms), and past viewing habits, every word should have been anticipated. Complex computational example tbd.
ZendService Twitter
http://framework.zend.com/manual/2.2/en/modules/zendservice.twitter.html
http://zend-framework-community.634137.n4.nabble.com/How-to-use-prepare-install-ZendService-Twitter-td4658351.html
http://moquet.net/blog/5-features-about-composer-php/
http://forums.zend.com/viewtopic.php?f=59&t=110988
https://github.com/zendframework/zf2/issues/5478
"Timestamp out of bounds"
https://dev.twitter.com/discussions/670
http://www.thegeekstuff.com/2010/09/change-timezone-in-linux/
This:
response = $twitter->search->tweets('#zf2'); foreach ($response->toValue() as $tweet) { printf("%s\n- (%s)\n", $tweet->text, $tweet->user->name); }
should be
echo "<pre>"; // Search for something: $response = $twitter->search->tweets('#zf2'); foreach ($response->toValue() as $obj) { foreach($obj as $tweet){ printf("%s\n- (%s)\n", $tweet->text, $tweet->user->name); } }
?> </pre>
PHP Interview Questions
http://www.woodstitch.com/resources/php-interview-questions.php
http://www.cram.com/tag/php
Custom View Helper in ZF2
http://robertbasic.com/blog/working-with-custom-view-helpers-in-zend-framework-2
Notes on mediasite
It seems that to get the model for querying a specific table with, I have to have a method wrap a service locator call.
For example,
public function getImageTable() { if (!$this->imageTable) { $sm = $this->getServiceLocator(); $this->imageTable = $sm->get('Image\Model\ImageTable'); } return $this->imageTable; }
It looks like I have to duplicate that in every controller that wants to query the image table. Can't be right.
ZF2 Module creation
The module directory can be created with the following:
mkdir -pv Album/{config,src/Album/{Controller,Form,Model},view/album/album}
Quickstart:
http://framework.zend.com/manual/2.0/en/user-guide/modules.html
zf2 and Entity hydration
http://akrabat.com/zend-framework-2/returning-a-zf2-hydratingresultset-when-starting-with-raw-sql/
http://blog.evan.pro/zf2-tablegateway-hydration
Exception Handling in PHP
From pear
An error is defined as an unexpected, invalid program state from which it is impossible to recover.
An exception should be thrown whenever an error condition is met.
The thrown exception should contain enough information to debug the error and quickly identify the error cause. Note that, during production runs, no exception should reach the end-user, so there is no need for concern about technical complexity in the exception error messages.
Exceptions should never be used as normal program flow. This requirement is equivalent to requiring that exceptions be thrown only on error conditions, and never in normal program states.
From the book "Code complete":
Use exceptions to notify about things that should not be ignored.
Don't use exceptions if the error can be handled locally.
Make sure the exceptions are at the same level of abstraction as the rest of your routine.
Exceptions should be reserved for what's truly exceptional.
From ralphschindler
In PHP 5.3, the base exception class now handles nesting. What is nesting? Nesting is the ability to catch a particular exception, create a new exception object to be thrown with a reference to the original exception. This then allows the caller access to both the exception thrown from within the consumed library of the more well known type, but also access to the exception that originated this exceptional behavior as well.
Why is this useful? Typically, this is most useful in code that consumes other code that throws exceptions of its own type. This might be code that utilizes the adapter pattern to wrap 3rd party code to deliver some kind of adaptable functionality, or simply code that utilizes some exception throwing PHP extension.
php.net links:
http://us3.php.net/manual/en/language.exceptions.extending.php
http://us3.php.net/manual/en/spl.exceptions.php
http://www.php.net/manual/en/class.errorexception.php
http://php.net/manual/en/errorfunc.constants.php
http://php.net/manual/en/function.set-exception-handler.php
zf1.12 error handling
http://framework.zend.com/manual/1.12/en/zend.controller.plugins.html
http://framework.zend.com/manual/1.12/en/zend.controller.exceptions.html
http://framework.zend.com/manual/2.2/en/modules/zend.exception.html
http://framework.zend.com/manual/1.12/en/zend.exception.using.html
https://github.com/zendframework/zf1/blob/master/library/Zend/Exception.php
http://akrabat.com/zend-framework/handling-exceptions-in-a-front-controller-plugin/
http://www.dragonbe.com/2007/11/error-handling-in-zend-framework.html
Capture E_ERROR (fatal)
http://insomanic.me.uk/post/229851073/php-trick-catching-fatal-errors-e-error-with-a
with zf1.2: http://stackoverflow.com/questions/16284235/zend-framework-error-page-for-php-fatal-errors
StackOverflow
http://stackoverflow.com/questions/3992078/trigger-error-vs-throwing-exceptions
http://stackoverflow.com/questions/60607/in-php5-should-i-use-exceptions-or-trigger-error-set-error-handler?lq=1