« first day (1564 days earlier)      last day (3369 days later) » 

12:00 AM
@ircmaxell makes me think of jquery
 
yup
 
hmm
Unenforced type hints?
 
@ircmaxell @NikiC are there any references to add to the date.timezone warning removal RFC?
 
@bwoebi that meme?
 
@ircmaxell Err… I meant that seriously…
 
12:10 AM
well, what sort of reference?
search teh bug tracker for how many times it was proposed?
 
===== References =====
Links to external references, discussions or RFCs

^ something which fits there
 
* Most requested feature in Room 11.
very important reference :P
 
:-D
Heh… I'm writing an important RFC and you only make jokes! :-(
 
@NikiC some would say the only one that matters. They would be crazy ones, but they'd say it anyway
 
gist.github.com/bwoebi/f77bee621eb9c7974cf8 … current draft… should I add some reference or not and if yes, which ones exactly? (serious answers this time please…)
 
12:18 AM
And this is why we can't have nice things: reddit.com/r/PHP/comments/2to19j/php_moronic_monday_26012015/…
@bwoebi have you done a search of the bug tracker or FAQ sites to show that it's really a frequented issue?
 
@ircmaxell well, I find tons of bugs, but most are not requests to removing it
 
/me lurks
 
@bwoebi what are they requesting?
 
@ircmaxell We both had the same idea
hah
 
@ircmaxell not-a-bugs like inexistent timezone … googled for date.timezone site:bugs.php.net
 
12:24 AM
ah ok
 
Waiting on a Skype interview :-)
 
* https://bugs.php.net/bug.php?id=63339
* https://bugs.php.net/bug.php?id=39142
* https://bugs.php.net/bug.php?id=53473
* https://bugs.php.net/bug.php?id=35481
^ What I found so far
 
Hmm
Idea: Type annotations
 
@DanLugg good luck
 
With different syntax
 
12:26 AM
@AndreaFaulds elaborate
 
Thanks @ircmaxell :-D
 
@ircmaxell Something like: foobar (@int @readonly $bar, @float $foo); - readable via reflection
Assigned meaning by static analysers/your IDE/your framework or w/e
 
@AndreaFaulds but not actionable by the engine (by default at least)
?
 
But mostly ignored by PHP (aside from being reflectable)
@ircmaxell Yeah
 
wiki.php.net/rfc/date.timezone_warning_removal … should be fine to be sent to list?
 
12:27 AM
I don't love it... but it does have some interesting potential
 
Though there might be a case for allowing registering of handlers. Maybe. I'm not sure I want to go down that rabbit-hole
@ircmaxell Yeah
 
C# supports annotating most things, including parameters. Not unfamiliar.
 
So would the list of @annotations be restricted by the engine, or would it just accept [a-zA-Z0-9_]+?
 
@bwoebi SGTM
 
@Charles More like the latter
 
12:29 AM
@AndreaFaulds let a PECL extension do it
 
Possibly with some way to detect errors or some kind of namespacing
@ircmaxell Yeah
 
since we have an AST, so it can decorate it
hell
 
@bwoebi imo you should change it for 7 - yeah i think it should be fixed for every version, it's just harder for people to argue against it for a major version. Also this sentence is unintelligible "If the date.timezone ini setting isn't empty and invalid, a warning is still thrown."
 
actually
with a simple AST pre-processor, you could expand the AST to include type checks inline in the body (code-generate the checks) so it'd not need any further change to the engine
 
@Danack how to rephrase then?
 
12:30 AM
@ircmaxell +1 for code-generated typechecks, hypothetically
 
@bwoebi "If the date.timezone ini setting is set but invalid, a warning is still thrown."
 
@Danack I basically want to change it for the next minor, which coincidentally is a major.
 
@ircmaxell You'd be getting errors in the wrong place
 
"@" name [ "(" parameters ")" ]
 
@AndreaFaulds how do you figure?
you're generating the code, so you could "fake" the opline to point to the correct line
 
12:31 AM
@ircmaxell You'd get an error message showing an error in the called function, not the calling function
 
@Danack sounds fine too.
 
Though there's probably a way to fix that
 
@AndreaFaulds true, but with clever error messages that's likely not a bad impact
 
By the way
Can we just reserve the names of the scalar hints?
Make them produce an error if you use them, but reserve them so it won't cause problems later
 
write an RFC for it
 
12:32 AM
Might
 
off to catch yet another flight
later
 
@ircmaxell Fly safe!
 
@ircmaxell have fun!
/me has a bad habit of saying "have fun" even in really inappropriate contexts
> someone going into the psychiatrist's room
"have fun!"
(actually happened)
I wasn't even trying to be mean
fuck
 
@crypticツ Hey, what was the hosting provider you use?
 
12:36 AM
@bwoebi you forgot SPAAAAAAAAAAAAACE
 
@AndreaFaulds nah, just Spaceship operator now, takes too much space when I want to have "fucking annoying" in there ;-D
 
@bwoebi call it SPACE then
please
the SPACE is the important bit
SPACE!
thanks
 
:-D
 
@NikiC help needed ^ pls modstar
 
@AndreaFaulds we could do something like a constrained typedef (e.g. in ADA type Percentage is Integer range 0 .. 100;) to effectively duck-type against
 
12:42 AM
/me waits for shitstorm from Derick.
4
 
@PaulCrovella ehhhhhhhhhhh
 
@AndreaFaulds the RFC has historical significance… you still don't have put it on reddit? :o
 
just shooting from the hip.. it'd allow the typedef to decide how strict to be on things like scalar types, as well as allow for other useful sorts of constraint validation
 
@bwoebi lol
 
:-P
@AndreaFaulds well, it's going to be an epic battle of internals against Derick, no?
 
12:44 AM
@bwoebi lol
 
hehe
 
I need a VM or web hosting service. Hit me with your recommendations.
 
@LeviMorrison DigitalOcean
 
LOL
 
12:50 AM
Nicoon replied again. He disagrees with the dictionary.
 
@ircmaxell We cannot have nice things :(
Also, please modstar bwoebi's updated rfc-discuss if you can
 
I don't have mod access
 
@AndreaFaulds trying to interpret the "ehh" - do you think the idea is all-out horrible or just something that could use (a lot) more fleshing out?
 
@ircmaxell huh?
 
@ircmaxell she means pinning…
 
12:53 AM
Oh, here. Whopps
Thought you meant on reddit
 
@PaulCrovella I'm not so sure about it
 
I am on my cell, so no go
 
@ircmaxell Just choose the Desktop (Full?) Site option, I think
it's a bit fiddly but usable
 
Not for things like that
And by usable you mean unusable, right?
 
@ircmaxell Surprisingly usable
:p
 
12:56 AM
@ircmaxell mh, I'm usually writing in desktop mode because mobile is surprisingly unusable, when you don't want to "just chat"
 
Yeah
You can't even reply to messages :(
Or star things
Or get permalinks
 
Yup
But is quite a bit better if you want to just chat
Which is 90% what I do from mobile
 
@AndreaFaulds especially replying is missing on mobile, yeah :-/
 
1:10 AM
Bob Weinand could be shortened to Bob🍷&, right? :p
(sorry)
 
@AndreaFaulds why sorry? I had to laugh :-D
Because if you spell it, it's really win(e)and :-D
 
:D
see, I noticed your email was bobwei9 and wondered if it was supposed to work like that sort of
 
@AndreaFaulds not sure what you mean…?
reddit.com/r/PHP/comments/2tsa94/… … someone's reading SO chat or what?
 
And my plane is now delayed. Due to a drunk guy getting hurt on the plane
And he's arrested, now we can go!
 
1:29 AM
Yeah, thanks to Tyrael, I finally got RFC karma :) we should really change step 2 on RFC how to wiki.php.net/rfc/howto :
1. Register for a wiki account at https://wiki.php.net/start?do=register.

2. Email php-webmaster@lists.php.net requesting RFC karma for your wiki account. In the email, remind people about the RFC you plan to create. Note that RFC karma does not automatically give you karma to vote. See https://wiki.php.net/rfc/voting#rfc_proposer

3. Go to #php.pecl irc channel, complain your email was ignored, and ask Tyrael to concede you RFC karma.
 
guys, what is the "official" name of the design principle that an object must either hold the data or perform actions, not together
 
How are we supposed to use wiki.php.net/playground/playground ?
Also, do you guys really edit RFCs on that textarea or there is perhaps another alternative?
 
1:44 AM
I've thought of a fun new hobby
So, PHP is the "lingua franca of the Internet". Well, it's not, but all the sites are made with it
A LOT of people use outdated PHP versions, too.
and have poor security practices
I'm wondering if I could try to deanonymise a Tor site
Because ~~~Ross Ulbricht~~~ I mean, whoever DPR was, is surely not the only incompetent hacker out there
 
2:19 AM
how dumb of me, I'll just make a github repository and store my RFCs there with a CC license.
 
@marcio in some text document and copy in?
 
@bwoebi I asked more to know about the RFC versioning, not exactly referring to WYSIWYG editor ;p
 
there is a history?
 
don't know, never used that wiki before
oh, I see the revisions button :)
 
yep
It's rather a clock than a compass… ;-)
 
2:36 AM
yup, user here
 
3:31 AM
Morning
 
3:51 AM
Morning
 
4:20 AM
Is this typedef idea completely nuts for PHP?
@AndreaFaulds ^ fleshed it out slightly if you're interested in taking a look
and with that I gotta forage for food, will check hate mail when I return
 
4:43 AM
@LeviMorrison tilaa.com
 
5:21 AM
it's morning, morning...
 
Morning
 
5:53 AM
morning
 
6:17 AM
good morning
 
6:38 AM
Hi
 
7:04 AM
@PaulCrovella would the validation "function" happen every time a type hinting is encountered? or just the first time and validation result cached somehow?
 
hi friends.........
anyone knows Qcodo framework in php ?
 
@DanLugg brilliant :D
 
@YatishRaj github.com/qcodo/qcodo << looks like it has been abandoned. Are you using it?
 
@JecebahnYaledimacOndestal optimizations like caching could be possible, I haven't considered anything that far yet. Basically still trying to figure out if the idea makes sense and would be worthwhile.
it seems to rather simply cover quite a few use cases that other RFCs have tried to address individually, I just don't even know if this method of covering those cases (or others) is something that people would be interested in.
 
7:21 AM
type safety is welcome mostly because you can "validate" several/plenty of times just doing string comparison (given object classname === requested class name) without slowing things down; instead checking the data every time can result extremely slow, especially considering how often scalar types are used. makes sense?
 
oh yeah, i get'cha completely
 
Hello from Hawaii!
 
I have to build a website with php with MySQL for cheapest prices of some services like car, Could you possibly tell me what the best framework(open source) I should use?
Hello Hawaiian
 
morning
 
mornings
 
7:26 AM
am developing an android app with php backend, could any one help me to fix the upload file size .. what file size will give best performance on android device for audio,video and image
 
@JavaFan that's opinion based. Nobody here can answer that.
 
morning
 
morning
@ircmaxell aloha :)
 
for example joomla used for what?
Why?
@Tomas can joomla achieve my task ?
 
Because everyboder prefers something else. And here are a few guys that even preach not to use any framework
 
7:29 AM
@PaulCrovella what would be better instead, is a standard way for boxing data. basically shortcuts for this http://pastebin.com/6P49KVD7, which are
1- autoboxing
2- __toValue() magic method (generalization of __toScalar())
 
Okay what about joomla?
 
Do some research and find out what fits best for you :) that cannot be answered in general
 
Any Idea would be great appreciated
Is zend free?
Oh it's not free
 
@JecebahnYaledimacOndestal I could get behind autoboxing. I don't know how well that would pan out on internals though.
 
@PaulCrovella i know, that's the problem :P
 
7:34 AM
pretty terribly as it turns out ...
I tried it ... even with internal classes is very slow ...
 
posted on January 27, 2015 by kbironneau

/* by youcef */

 
Hi everyone
I got a simple question about cakephp, if anyone happens to know if it is normal behavior for orm/entity to rollback delete when $entity->isNew(). Feels little strange tome
 
@JavaFan you got a job building a page in php and unsure which cms/framework to use?
 
yeah
 
internals guys, i have a question. why was difficult / not a good idea to have things like these?
$x = ["Test", "bar"];
var_dump($x instanceof callable);
var_dump($x instanceof array);
var_dump($x instanceof Traversable);
 
7:45 AM
@JavaFan That confuses me abit. Maybe can help me understand it. 1. If I was the client, I would be truely disappointed to hire someone who did not know the answer to the question..? 2. Should you not first learn your tools and then find work when you know how to use it?
 
the website should be capable to provide mobile applications with it's links and data I think I need json with my framework
and I am talent with OOP
 
@JavaFan so?
 
what the most suitable framework with me?
 
Why should a client pay you when you have no experence?
and do not know which tool to use? no offence, just asking
 
if you are a talent with oop you shouldn't be using any framework or cms
 
7:47 AM
seriously... is this serious? Or just trolling?
 
It 's my challenge
because I am passionate
 
trolling confirmed
 
because I wouldn't give up
because the salary would be less
 
@JavaFan install few "best rated" frameworks and play around with them, shouldn't take too much time.
 
OOP talents arrived, the PHP community is saved!!!
 
7:50 AM
@SergeyTelshevsky thank you
So
 
@JavaFan For me it sounds like you want framework that has big repositories for all kind of (more or less crappy) plugins and addons.
 
@JavaFan use Symfony2.. avoid CodeIgniter, CakePHP and etc .. also microframeworks are encourage.. or using composer and gluing together libs
 
If you guys ever feel bad, keep in mind there's always someone who feels worse. My new Company uses Yii1 \o/
 
8 mins ago, by JavaFan
and I am talent with OOP
oh really !?
 
7:55 AM
@JecebahnYaledimacOndestal lol
> s there any need for this plugin?
Yes.
 
@tereško yes
I have many years experience with java
 
TomášAresakMalčánek took me a few submission before they would add it to their svn (sorry wrong ping!)
they could not see the use
 
@SergeyTelshevsky Today in the adventures of OOP Man!: OOP Man's precocious sidekick MVC Boy is held hostage in an AbstractReactorFactory - will OOP Man be able to resolve his promises in time to save him?
14
 
still got it :D
@PaulCrovella we should defenitely have a comic! What am I talking? A series starring Tom Cruise
 
7:58 AM
@JavaFan that in no way proves the previous statement
 
@RonniSkansing Is Symfony more suitable than Laravel specially I would need json api
@tereško why?
 
what the fuck you mean by "why" ?!?
 
@JavaFan after lot of years of programming i still have no idea of what i'm doing. but i'm fine with that, since i have no preconceptions and i can question everything i read / i know / i try about oop
 
just because you have used java, does not automatically mean, that you are a "talent with OOP"
 
JavaFan you do NOT need a framework for working out a json api.. and if you choose one, either would work. If you use Laravel, never write Code::likeThis();
but as a OOP talent you already know this right? =]
 
8:01 AM
In java there is no Code::likeThis();
 
@JavaFan he means static methods
 
Laravel is really the only opportunity you have BUT don't forget to buy a Laravel News, Laravel Forge and a Laracasts subscription
 
lol
 
@ThomasDavidPlat So It's not free!
@tereško Is there a difference between java expert & java talent I just want to know?
Is Symfony free?
 
@JavaFan that was irony
 
8:04 AM
and after all the trolling we wonder why everybody hates PHP
 
good mornings
 
@SergeyTelshevsky It's easy and shouldn't be hated
 
That's not true. Everybody loves PHP. How else do you explain that there are coffee cups labeled with: "I <3 PHP"?
 
@JavaFan difference ? you mean aside from the fact that one usually doesn't call himself/herself "a talent"
 
@ThomasDavidPlat aren't them often filled with poison?
look what did i just found
 
8:09 AM
That is yet to be confirmed. I'll sacrifice myself for this big Insight for the Communities sake.
 
lol, syntax error
 
Jesus Christ...
 
@tereško I would never say I am talent, but I will say am expertise.
 
24 mins ago, by JavaFan
and I am talent with OOP
 
I will never say that again especially in my CV.
 
8:12 AM
@JecebahnYaledimacOndestal that cup is horrible, who names variables with verbs?
that cup is only good for throwing
 
please, learn english
 
I had a course for intermediate level2 in british council
 
2 mins ago, by JavaFan
@tereško I would never say I am talent, but I will say am expertise.
 
@SergeyTelshevsky what about the indenting? why that cup isn't following PHP-FIG?
 
it really doesn't look like it
 
8:13 AM
like what?
 
the cup doesn't contain any valid php ...
the second line is wrong ... terrible ...
 
I will never say am oop talent, but I will say am expertise.
 
JoeWatkins must be made by a frontend dev
 
true? @tereško
 
@RonniSkansing or by @JavaFan :D
 
8:17 AM
ehh ... another user in the ignore-list
 
I don't think symphony has JSON api, laravel has but it is for artisan
Laravel is great framework
 
@JavaFan how do you know?
 
@JavaFan Trololololo
 
@RonniSkansing Know what ?
 
8:24 AM
@JavaFan that it is a great framework? Btw Symfony supports json responses fine.. see symfony.com/doc/current/components/http_foundation/…
 
@RonniSkansing what the advantage of symphony over Laravel have you an idea?
 
guys, just stop , this is pointless
 
yea I quit
 
@JavaFan is it for artisans as opposed to others just because they claim THE PHP FRAMEWORK FOR WEB ARTISANS." in their homepage? i lold
 
Symfony doesn't support json and it's oop is much much worse than laravel as laravel is for talented artisans
 
8:27 AM
^
 
which you can only become with a Laracasts subscription!
 
@SergeyTelshevsky So laravel would be better with me?
 
yes start your project now instead of talking about it, maybe you want to use CodeIgniter 3 instead.. it has even better OOP support I heard and follows MVC
 
Why do you guys still bother with JSON? Haven't you heard about YAML?
 
8:29 AM
@JavaFan sure, it's just like Java
 
I thought laravel was an indigenous grub that you can find dried and salted in a bin at Whole Foods.
 
.. especially since he seem to have no skills in PHP to begin with
 
yes I know the basics of php only
JSON for my next android app
 
good morning!
 
Morning @Naruto;
 
Whose advice me with Laravel ( I have oop background with java and I need a tool for android apps to parse from my web site?
 
I'M ALL ABOUT THE BASS, 'BOUT THE BASS, NO TREBLE :D
 
And whose advice me with symphony again (e oop background with java and I need a tool for android apps to parse from my web site?)
 
@DejanMarjanovic your taste is somewhat lacking
 
@tereško so much that it's flagged
 
8:35 AM
It's a parody :-)
 
jeez, someone even flagged it
 
I got fagged.
 
@DejanMarjanovic and that doesn't change my previous statement even in the slightest
also, shit, I have to go to work
 
@PaulCrovella do you advice me with laravel?
 
23 mins ago, by JavaFan
I had a course for intermediate level2 in british council
 
8:36 AM
@tereško final question what framework you advice for me?
 
@tereško I highly doubt it.
 
Laravel or Symfony?
 
still dealing with the troll?
 
Hello all, I got a question. I just put a json file in a php array . And how do I proceed to making a mysql query?
With that array ofc
 
8:40 AM
@DejanMarjanovic True dat dat, truu dat dat
 
@Poteito put in 3v4l.org and paste a link
 
@JecebahnYaledimacOndestal the code there doesn't even work...
Expectation v Reality. http://t.co/SoVgbntxyC
2
 
@ircmaxell i know, it's embarrassing :D
@ircmaxell ahhahaahhahaha
 
opinions on Yasuo deprecating functions proposal?
 
@FlorianMargaine which?
 
8:43 AM
@RonniSkansing I'm atm on the mobile version is there an other possibilty ?
 
sorry, not deprecating, changing defaults (got confused by last mails)
 
@Poteito any kind of paste service
 
@PaulCrovella MOAR PAR0DY!!11!
Getting ready for work :-P
 
@FlorianMargaine ah ok
not really sure. On one hand, it's a pretty good idea, and shouldn't cause too much pain. On the other hand people shouldn't be calling these functions directly in the first place (as they are too easy to screw up)
 
I'm torn because it's indeed saner defaults, but it's also a lot of BC breaks
 
8:49 AM
@RonniSkansing 3v4l not openning what other site would you recommend
 
@FlorianMargaine the cases of BC break are likely in the direction of "it never worked before and now it does" instead of the other way around
 
@Poteito codepad.viper-7.com, pastie, pastebin, collabedit, anything really, it is just abit more easy to understand your problem with abit for code
 
@ircmaxell that's still BC break... and that's just speculation
 
no argument
 
@RonniSkansing codepad.org/6um1BgDR
 
8:59 AM
@Poteito what was the question again?
 

« first day (1564 days earlier)      last day (3369 days later) »