last day (61 days later) » 

user50049
4:29 PM
room topic changed to Phalcon PHP: For those interested in, using or modifying the Phalcon PHP framework. [c] [phalcon] [php] [php5]
 
Hey Tim
Thank you so much for all your help
 
4:44 PM
Hi
 
I'm Andres lol
 
Figures! Twisted lol
Can you pull on the main site? I added the SO chat room in Support
please
:)
 
Yes
In the past, we use to have a irc channel
 
Somehow IRC is becoming a bit less popular
Not sure why but I have heard this from a lot of people
 
4:51 PM
But it's difficult be logged in all the day
 
We had one for work and we abandoned it - now we use Skype
Yep
 
also, this chat is nice, thanks Tim
Currently Eduar seems to be the user1310923091
haha
 
I already pulled down the website changes
 
5:04 PM
what do you think about this intro: docs.phalconphp.com/en/0.5.0/reference/micro.html
 
Looking good
I will make some minor changes for the best part this is really good :)
 
Eduar tell me that recently (today) joined stack overflow, so he doesn't have enough reputation to talk
Nikolaos, yesterday i had been working on the version class, i added you as co-autor :) github.com/phalcon/cphalcon/blob/master/dev/version.c
it needs a few unit tests
 
Is the Phalcon\Version live? i.e. can I access it through PHP?
 
user50049
Sorry all, I am working quite late tonight :) I'm here
 
No worries Tim. Thank you once again. Awesome job!
 
5:19 PM
hi Tim
yes Nikolaos, just pull down changes from cphalcon
 
user50049
@NikolaosDimopoulos As a mod, I am also an emissary of the SO community, I'm glad that the response was good.
 
I like this chat
Like gmail - first time I have been in this one. @Tim-post good work!!
 
user50049
Chat is pretty awesome.
 
yes, thanks tim
 
Where are you Tim? US?
Andres and Eduar are South America (I think that is)
 
user50049
5:22 PM
Oh yeah, welcome to one boxing:
 
user50049
1
Q: How do I use phalcon-devtools\ide\phpstorm in phpstorm?

LeeI am trying to integrate the Phalcon developer tools with phpstorm. There is a video here, but I am unable to view it due to my location. I can't find any other usable reference in the documentation, how can I accomplish this?

 
user50049
Links from SO, Wikipedia, Twitter, and a few other places automatically get displayed specially
 
user50049
PHP is a general-purpose server-side scripting language originally designed for Web development to produce dynamic Web pages. It is one of the first developed server-side scripting languages to be embedded into an HTML source document rather than calling an external file to process data. The code is interpreted by a Web server with a PHP processor module which generates the resulting Web page. It also has evolved to include a command-line interface capability and can be used in standalone graphical applications. PHP can be deployed on most Web servers and also as a standalone shell on al...
 
nice
 
user50049
5:23 PM
I just pasted a link to the PHP article on wikipedia
 
user50049
Now, room owners?
 
Andres
Eduar
 
user50049
They have to be here before I can grant that
 
I have learned a lot here in SO, so i'm not quite participative :)
 
twistedxtra is Andres
 
woohoo
 
and I believe user1649something is Eduar
 
user50049
As an owner, you get certain moderation abilities.
 
wassup y'all ?
 
user50049
5:26 PM
The code formatting on SO also works here (markdown as expected)
 
lol
yep, it works
 
user50049
wat?
 
cool
 
user50049
Inline, and with most of the editor features
 
5:27 PM
code blocks? are possible? embed code?
 
user50049
links look like this [google](http://google.com)
 
user50049
And in reality google
 
user50049
Yep, paste the code, highlight it with your mouse, hit ctrl-k and send
 
PHALCON_MM_GROW();
PHALCON_INIT_VAR(version);
PHALCON_CALL_SELF(version, this_ptr, "_getversion");
 
user50049
public function foobar($fault = 'mine) {
 
5:29 PM
nice
.. code-block: c
PHALCON_MM_GROW();
PHALCON_INIT_VAR(version);
PHALCON_CALL_SELF(version, this_ptr, "_getversion");
 
user50049
Just try to take care to make sure questions and answers meet SO's quality standards and you should be set as far as transitioning.
 
user50049
If you need help (here, or on SO) flag.
 
perfect, i'll do my best effort
 
user50049
And for the love of zod, link to our FAQ when promoting the tag.
 
I bet you have seen everything by now Tim (in terms of questions) :D
 
user50049
5:33 PM
I did this because : Phalcon is awesome and needs to be on SO, so you get the residual benefit of more people actually knowing it exists and because it's (to my only knowledge) the only possible marriage of C and PHP as a tag.
 
Tim, you must have a lot of patience :)
 
user50049
@twistedxtra I do. I think I blow my top and explode twice a year though
 
haha
 
user50049
BTW, room owners can appoint new room owners. Just click on the user's gravatar
 
5:34 PM
@TimPost let us know when these two times are so that we can be offline :D :D :D
brb gents
 
user50049
@NikolaosDimopoulos Really, it's not that dramatic.
 
user50049
Not yet anyway
 
user50049
So now you guys have all of the tools we can offer.
 
user50049
And, well, welcome to Stack Overflow :)
 
hahaha
 
user50049
5:37 PM
I will be a permanent fixture in this room for a while, just ping me @timpost that unicorn just ate my apple! if you need me.
 
thanks Tim, again
 
user50049
And don't get worried if you see a few other moderators drop in.
 
user50049
So now, bring on the chat :) And you're welcome.
 
user50049
You have a tag, a tag wiki and a chat room that you can link to.
 
user50049
I will help out with answering once I get finished looking at this really cool thing you created.
 
5:42 PM
thanks Tim, I think SO is great opportunity for the project, we're also looking more ways to promote the project, now that is very competitive...
 
user50049
Moderator Note This chat room was created as a result of a moderator initiated, and sanctioned outreach to an open source community. This notice will vanish in a week, please refrain from trolling while these folks get used to their new digs.
 
user50049
Oh yeah, you can star and pin messages too, hover over one.
 
user50049
That should preempt about 30 dozen zealots from bugging you while you get used to how things work.
 
user50049
@twistedxtra I dismissed your flag (yep, it works, every flag you send will reach every logged in moderator) Use moderator only flags when you really need help. Spam / Offensive flags take effect once a few people flag the same way.
 
no problem, just testing
 
user50049
5:49 PM
Also notice that my name is in blue. That signifies a moderator.
 
user50049
@twistedxtra (I hovered over your message and clicked the arrow to the far right to reply to this directly in a way the transcripts understand) No worries. The other SO mods know you're moving in.
 
user50049
And you see, to the left of what I just posted is an arrow you can click to see what I was replying to.
 
nice!
 
user50049
A lot of thought went into our chat system.
 
i see, it's amazing
 
user50049
5:54 PM
There is one caveat, rooms that have no active participants will be frozen and eventually closed after a few months pass.
 
there is a mobile application? something that send me notifications? when somebody is talking alone?
 
user50049
That's just to keep noise out of the list of rooms people see.
 
user50049
@twistedxtra Go to stack overflow, see the notification thing to the left in the header?
 
user50049
Direct pings from chat also show up there
 
@twistedxtra I did some research about this and there is one called DroidStack but it is not actively developed
 
user50049
5:56 PM
As a room owner, you can also pin messages here
 
user50049
There are some things on StackApps using the API for notification, but the chat system also supports desktop notification
 
ah ok, if somebody write my name (nick) i will receive a notification, even if I'm not logged in?
 
user50049
@twistedxtra As soon as you log in you will. I just edited my reply by hitting the up arrow (chat has many keyboard shortcuts)
 
user50049
BTW, Youtube also oneboxes:
 
user50049
 
6:02 PM
Now I see that there are people with more time than me haha
 
user50049
Chat is loosely moderated. As long as everyone is having a good time, we're happy
 
user50049
So don't feel like an eye is on you :)
 
hahaha
 
6:30 PM
Andres
The getId of the Phalcon\Version returns what? integer or string?
 
long
 
It seems that it returns a string
 
a string
yep, because the first zero
 
Ok let's leave it as is
Yeah that is fine
we can intval() it if we need it
 
I think still is needed a function that return a version like 0.5.0, to use with this php.net/manual/en/function.version-compare.php function
or the get() one will works with it?
 
6:38 PM
If the version is 0.5.0, 0.4.5 yeah it will
I am not sure when the BETA, ALPHA, RC etc. come into play
 
Version tests are upstream
master branch
 
amazing!
but the file must have the suffix Test: VersionTest.php, no?
 
Not sure
I don't know how Travis parses them
I can rename it no big deal
 
haha, it's just that other files have that suffix
 
Upstream
if you switch to the tests branch you will see the structure I am using there.
I will need to set something up on Travis so as to ensure that they work just fine when I push them upstream
Tell me something
 
7:11 PM
the test file must be added to the testsuite: github.com/phalcon/cphalcon/blob/master/unit-tests/phpunit.xml
 
Doesn't it do it automatically?
upstream
tell me something
 
no, the following script runs the testsuite using phpunit
 
What is the reason for the manual-unit and manual-phpunit scripts?
 
manual-unit: run the tests without have phpunit installed. Also it doesn't create a process for every test helping us to discover memory leaks
 
8
Q: How do I run all my PHPUnit tests?

JJ.I have script called Script.php and tests for it in Tests/Script.php, but when I run phpunit Tests it does not execute any tests in my test file. How do I run all my tests with phpunit? PHPUnit 3.3.17, PHP 5.2.6-3ubuntu4.2, latest Ubuntu Output: $ phpunit Tests PHPUnit 3.3.17 by Sebastian Berg...

 
7:15 PM
and manual-phpunit: runs the phpunit without have the phpunit command installed
 
Do you run those then?
I mean are these used by the CI server or just manually?
from you end Eduar?
 
Travis has phpunit installed though
right?
 
yes
 
ok
so here is the scenario
the manual-* files are never touched
by Travis that is
What we can do is create a folder that will have all the travis related tests
 
7:18 PM
yes
we use the manual-* files on our machines
 
and have phpunit setup in a way that all tests in that folder will run no matter what
 
only
 
this way you create a new test, throw it in the folder and it will run
the manual tests can be in another fodler that doesn't interfere with the tests
 
but first adding it to the phpunit.xml
 
nope
no changes to phpunit.xml
phpunit /var/www/tests/ will run all the scripts in the tests folder
you can do something like this
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         syntaxCheck="false">
  <testsuites>
    <testsuite name="Tests">
      <directory suffix=".php">Tests</directory>
    </testsuite>
  </testsuites>
</phpunit>
and it will run everything
I can give it a try and let you know with more certainty
brb
 
7:22 PM
yep, we don't want to run all the tests
because in cli mode, by example, the SessionTest doesn't run, because the session can be started on cli mode
can't be*
 
7:42 PM
In those instances you just don't add that test in the suite
There is a way somehow
 
 
1 hour later…
9:06 PM
Tests are shaping up nicely
I like the way I set them up :)
 
did you upload them?
 
There are in the tests branch
slowly adding more and more
and going towards the structure I wrote above
i.e. drop tests in there and let them run
with of course exceptions such as session and stuff. But for some of those that "cannot" be tested, we have the DI container and mock tests so we can pretty much test everything
 
10:12 PM
Ok guys see you all either later on or tomorrow
Have a good one!
 
 
2 hours later…
11:58 PM
Hi! I'm new to github. How do I get the 0.5.0b2 source code?
 

  last day (61 days later) »