« first day (1249 days earlier)      last day (3713 days later) » 

7:00 AM
Yay!
 
hmm I checked my calender ... not on there ...
when do you get to announce days ?? I want to announce days ...
 
For me that day is way in the past.
When the weather report called for rain they weren't kidding ...
About time too, we haven't had rain for almost two months straight.
 
lol, so many machines in my office still run XP.
 
The only XP left is actually (XX)XP(r0n)
 
Uh...
 
7:03 AM
Hey, man's gotta name his files, right?
 
IS that even a valid name?
 
Of course!
 
PR0N~8.JPG
 
hehe
 
Anyway, my eyes are crossed, so I think it's time to bed.
 
7:05 AM
Good night, Dan.
 
Suddenly a wild @LeviMorrison appears!
 
~rawwwr~
 
* Dan retreats *
Srsly tho, night.
 
I don't have time to talk (going to bed)
But @JoeWatkins, @Jack, I honestly think we'll end up in a couple years saying "hey, let's make HHVM the new implementation".
And it'll either be bikeshedded like crazy or it will happen.
I wish there were real competitors.
Anyway, good night everyone.
 
7:10 AM
nite~!
 
nite ;)
 
@JoeWatkins Didn't realize there were so many bug reports on that array "issue" :)
 
you mean object vs array thing ?
 
no, $a = null; $a[1]; // no notice
 
maybe 6 should ditch arrays
hmm
 
7:15 AM
say what now?
 
well the whole array thing is a bit dated I think, I think we could do better with an OO api that included generics (collections or whatever you want to call them), the useful types from SPL (fixed size, etc) ... then the problem of treating something as an array goes away if there's no more arrays, and Traversable covers everything ...
or some other interface, that makes more sense ... traversable doesn't really cover everything ...
we would still have arrays, obviously, I just mean remove the ambiguity by removing arrays from userspace and replacing them with something uniform and better ... imagine leading up to PHP7 we're talking about how to deal with the ambiguity ... depressing ... fix it fix it fix it ...
 
That sure sounds nice ... I guess raw performance may still warrant the current array structure.
 
7:32 AM
moin room
 
7:59 AM
morning
 
Good morning.
If anyone should be interested in the poll results of yesterday: docs.google.com/spreadsheet/…
 
@Jack And what notice do you expect? undefined index/offset?
Access on null?
 
good mornings
evil news, yesterday... HDD crashed, lost 2mnth's work
 
8:15 AM
@iroegbu backups?
 
latest is about 3weeks old
 
why so rarely?
I backup everything everyday
 
I have learnt the hard way
git every hour from now
 
all my code is in my dropbox folder -> lazy backup solution
 
^ s/dropbox folder/codebreak account/;
 
8:24 AM
but
$y = null;
$z = [];
var_dump($z[$y]); //notice
 
@AlmaDo That's expected, i.e. $z does not contain index null.
@AlmaDo If there was any it would return respective value: ideone.com/9SiAc2
 
I know why (because null will be converted to empty string)
but dereference of null is crap
 
anyone famillar with the flickr api?
Can I prevent people for accessing my album on Flickr but only showing it via the API on my website?
 
@AlmaDo It's developer's fault/problem not language's. :)
 
8:42 AM
@Leri Something like "You cannot use null as array" :)
 
@Duikboot still on the photogallery thingy?
 
It's working like a charm :) but
I got asked to make the photos on flickr (website ) private and only visible on the website where I call them via the API
I set them all to private but then the api won't render them anymore... and when I add in the json string permission=read it also stopped rendering/fetching the results.
 
I've never worked with flickr... truth is I don't even know what that is
 
Oh, you don't know? flickr.com
 
Morning
 
8:50 AM
Yo! (lo)
 
@Jack That means that we need to add: You can't use [boolean|integer|float] as array.
 
Yes, it means that exactly.
 
Not sure how easy it'd be if we consider php's forgiveness about mixing types. :)
 
And good morning
 
@Leri scalars are quite different from arrays and objects :)
 
@Duikboot nope, been seeing it around... I know the logo but I have never visited
 
Oh ok :)
 
@iroegbu have you been hiding under a rock for the last decade?
 
8:59 AM
(His probably using Picasa ) jking
 
I'm trying to close all em accounts I have opened everywhere... I'm not interested in seeking new online presence
 
Oh dear oh dear, new job incoming
-_- translate our website to french here is the text >< ok
 
@Duikboot Mwahahaha, I can help you :P
 
D, you are french?
 
I received the texts already from our copywriters but its not a job I like to do..
Je parle aussi un peux français.
 
9:02 AM
So it's just a copy paste task ?
 
Je <understand> un peux francais
comprende
?
 
@Fabien Je "comprends"
 
Exactly :P
 
But you don't pronounce the "s"
 
Yeah, I am good for pronunciation too. My mother was born in Senegal.
She's fluent in about 5 languages but for some reason only raised me to speak English. <sigh>
 
9:08 AM
@HamZa Yes copy past.
English - French -German
 
9:18 AM
@Fabien nvm, English is only language I really need (if we omit moments when I am in market buying something). :D
 
damn this 8192 game
 
Allright raggatek is awesome
 
@AlmaDo link ?
 
This is 8192 (for those who want hardcore and for whom 2048 is an easy cake)
 
@Duikboot no dutch ?
 
9:28 AM
No dutch this time. :)
 
Hi
does anybody know where I can find a reference for the assertions supported by PHPUnit Selenium2 test case?
the PHPUnit manual only shows assertions available for Selenium(1)
 
@Leri Still :( Would be nice to know more than one.
 
@AnandJaju Do yourself a huge favour and use a mailer library like swiftmailer.org
Mornings
 
2
Q: How to compare multiple value in comma seperated string using IN, FIND_IN_SET?

Yadav ChetanI have multiple values in comma separated (1,3,5) want to compare with (2,3,4,5,7,5) and this set refer to column value. So it should return 3 and 5 and this values are dynamic I have used SELECT * FROM table WHERE FIND_IN_SET('3', ('2,3,4,5,7,5')) AND FIND_IN_SET('5', ('2,3,4,5,7,5')) ...

 
@YadavChetan I'm working on SQL :D
I think it can be resolved
 
@AlmaDo :)
 
that looks like an anti-pattern at work
 
10:10 AM
yes. it's an anti-pattern as it is
 
@Jack I'm generally in favor of making ArrayObjects and similar functions usable in array_* functions…
 
Any of you use Transmit? @Leri tag
 
Im a transmit user.
 
Is there a way to have it so when I click 'x' setting it locks the left and right folder views. So when I open a folder on the left, the right side one opens too
Linked Folder Navigation
 
10:22 AM
morning
 
Hmm not as good as FileZilla in this instance
Morning @PeeHaa
 
good morning
^ wrong answer, can be deleted IMHO.
 
10:43 AM
@Fabien I use remote desktops for a year or so, before that I used total commander.
 
11:01 AM
@Duikboot I think you'll need to download the photos yourself and cache them on your website, though you can also investigate having the photos just not listed, which should leave them displayable if the user is given the correct URL to the photo.
 
Oh ok :) I am going to checkout that last option you said.
If that not works caching it will be.
 
Also, my deepest commiserations on having to use the Flickr api. I got about 50% of it working with Guzzle - github.com/Danack/FlickrGuzzle/blob/master/example/Flickr.php which may be of some help as a reference, but then I realised that the api was a bunch of shit, so gave up.
 
Hi guys! I need help with Yii
0
Q: self::STAT yii how do with some condition

Arthur YakovlevI have some relation in Yii model self::STAT: 'countItem' => array( self::STAT, 'DocumentCategory', 'parent_id' ), I want condition WHERE is_deleted = 0 it possible to do? Thanks!

 
@ArthurYakovlev Have you tried using google? e.g. "yii model where clause" gives lots of results.
 
@Danack its a little not that
 
11:16 AM
@rdlowrey I work on a Mac at the office but at home I use a PC.
 
user895378
@Fabien I ask because I have an atom.io invite left if you're interested. It's Mac-only.
 
user895378
Also: morning.
 
@rdlowrey in case fabien doesn't want it... ;)
 
@rdlowrey Morning. That might be pretty awesome. Sure you want to waste use it on me? :)
Although if it grants an invite I could pay-it-forward
 
user895378
It probably does ... I had two invites automatically.
 
11:20 AM
Cool, would love one if that's alright then :)
 
user895378
Just email me @gmail.com (same nick as stack overflow) and I'll send the invite to that address.
 
@Fabien if you get invites too, do you think I could have one? :)
 
@YadavChetan resolved Oo
 
@rdlowrey Sent
@Patrick Sure.
@rdlowrey Got it thanks.
 
user895378
np
 
11:24 AM
@rdlowrey I got 2 invites as you thought. I'll reserve one for you if you like. Just let me know who and I will send it to them...
@Patrick What email should I invite?
 
@NikiC having some problem with HashTables… how can I access in the dtor the HashTable in which the value was?
 
user895378
@Fabien Oh, thanks. It's no big deal though. Send them to whomever you like :)
 
Cool :) Cheers.
 
@Fabien Me! Me!
:-P
 
@DaveRandom Mac? :P
 
11:29 AM
@Fabien No :-(
Why Mac-only? That's a bit crappy
 
Unsure. @rdlowrey asked me if I had a mac for it. So I am presuming.
If it's not I'll send you it if you send one to @Patrick
 
user895378
Yeah it's mac-only. Didn't realize that when I signed up for beta. It's stupid. I can't even use it.
 
Quite stupid.
 
Pretty sure it doesn't say that anywhere on the sales-y bit of the main site, I certainly haven't seen it
I presume it will be x-platform when it comes to GA though?
 
Yes, it's. Quit using yii. — Leri 16 secs ago
Could not help myself. ^
 
11:33 AM
@DaveRandom Would be silly not to.
 
Honestly, their ORM sucks especially when it comes to customization and configuring.
 
I think I might create a Gmail filter so I don't have to not-read any sessions related bollocks on internals
 
You know what would be a cool perhaps niche idea for a development agency? You know you have business consultants to simply go to business by business and advise. The exact same thing but from a development mindset. Go in, spend time with the business to understand it and what technology/automation can really improve it. Tie in the building aspect and boom.
 
is this some sort of BDSM with DBMS? :p
 
btw @rdlowrey and @DanLugg I looked into the whole win proc_open/select etc issue a few weeks ago and it's basically not going to happen. You cannot select/poll process handles on windows, and completion ports are insane and I don't think they are generally viable for this
 
user895378
@DaveRandom Awesome. So basically: windows sucks unless you want to take the deep dive into IOCP.
 
ah, now I understand
 
hey @rdlowrey , I have a quick question for you
 
user895378
@tereško Can't guarantee a satisfactory answer, but I will try :)
 
which branch of Artax should I use for production code, @rdlowrey ?
 
11:40 AM
@bwoebi You can use zend_hash_apply_with_argument with ZEND_HASH_APPLY_REMOVE
 
it's the http lib thing
 
@rdlowrey In a nutshell. Windows is really thread-oriented for parallel processing (which tbh isn't a totally unreasonable direction). I'm playing with anon pipes at the moment, I came across a technique for attaching a child's stdio fds to pipes transparently, which might make it viable, if inefficient
 
@NikiC Well, no, the dtor is done in the engine somewhere… I want to be able to put my dtor in between and then continue with the original dtor
 
user895378
@tereško Well I plan to merge the dev branch back into master in the next week-ish and tag a new release, so if you don't mind living on the edge for a few days I would use that one.
 
There's probably some money/publicity somewhere in registering an atom-esque website. AtomPackag.es or something
 
11:42 AM
@AlmaDo most definitely. Actually, anything involving DBMS and comma separated lists classifies as BDSM ;)
 
@tereško Welcome back.
 
@Fabien I am not back, just visiting
 
@bwoebi oh, so you're not the one destroying the ht?
 
@rdlowrey so, the reasonable option would be dev-dev .. right?
 
@tereško :(. Well good to see you're alive at least. :P
 
11:43 AM
well, then I don't think that's possible
the dtor_func only gets the pData, nothing else...
 
user895378
@tereško I don't know how composer refers to it but that sounds right :)
 
@tereško even if you're just visiting - I'm glad to see you
 
@tereško +1
 
user895378
@tereško Where are you idling these days where I can find you if I have a question? Anywhere on IRC?
 
@NikiC nope… that's my problem :-(
 
11:44 AM
@NikiC yeah. but that's sort of 'generic' answers - to resolve Jaywalker once and for all :p
 
@Fabien at.om is currently available
 
@rdlowrey I tend to be on freenode (#phpc) as teresko or azazul ... depends on work or home
 
user895378
@tereško cool, thanks :)
 
@AlmaDo Well, the answer will certainly convince anyone to immediately normalize their DB...
 
@NikiC I hope so
 
11:46 AM
@NikiC hmmmpf… will look for alternative solution :-/
 
@DaveRandom heh. That's a nice domain too.
 
anyway, it looks like I will be using Artax in my next work project
I am trying to drag them kickin'n'screaming into 21st century
 
@Fabien while you're at it, yourm.om is also available
 
ok ... bye, everyone
 
i.am@doing.yourm.om
 
11:48 AM
@DaveRandom I'm only interested in @lustiansm.om
So long @tereško
 
Bye @tereško
 
hope you'll return some day, @tereško. Good luck
 
@Fabien my username @louys.ch thanks <3
 
@AlmaDo And I don't have a single clue what it does, but it looks very cool :D
 
@NikiC I like SQL puzzles :p And you can be sure: the week will past, and then, if I look into that my answer, I'll think: Holy Sh*t! Did I created that? What is that? How does it work?
 
11:54 AM
@Patrick Sent
 
@Fabien got it. thanks. Got 2 invites in case someone else needs one
 
heh. So part of answer 'How it works' I've posted for myself :p
 
@NikiC Hey .. so sorry to bother you with this, but I just can't figure out how to get rid of the memory leaks I'm getting on the list comprehension patch =(
 
@Patrick No worries
 
@Jack go ahead
 
11:57 AM
@NikiC I think it's related to this part
It copies the parent symbol table.
But, hmm, afterwards it doesn't seem to get cleaned up again.
So I'm trying to figure out what I've missed from your earlier branch ... but I'm hopelessly lost in the EG and EX sorcery.
 
@Fabien is it slow for you too? switching tabs etc takes about a second
 
Nope
Submit it as a bug perhaps
 
@Jack Venturing a wild guess, maybe this line makes the difference? github.com/nikic/php-src/commit/…
 
I'd take any guess right now .. let's see :)
 
12:14 PM
Incredible documentation aggregation: devdocs.io
9
 
@Jack Are you sure that it's the symtable that leaks?
That doesn't make a lot of sense to me
 
@NikiC can I assume that all the HashTables we can read from via normal variable access (descendants of the symbol table) have a ZVAL_PTR_DTOR as dtor?
 
@bwoebi if you don't count anything stored by resources/objects, yes
 
Nice @SecondRikudo
 
That's the script and the memory leaks. It points to here
 
12:18 PM
@SecondRikudo It's like what dochub.io should be
 
Wait, who cleared the pin? :|
 
@NikiC by resources not, but what about the property_table of objects?
 
@bwoebi properties is also zval ht
I meant internal objects
 
I don't know exactly how properties of internal objects are stored!?
 
@bwoebi I mean custom object storage could use non-zval hts
or anything, really ^^
don't know what it is you're doing
 
12:21 PM
@SecondRikudo Why don't you append it to another pinned item?
 
@Jack I'm fearing it'll become too long and be truncated.
 
@NikiC wanting to remove watchpoints if a zval changes it's access path/is destroyed (with extra handling for COW)…
 
What the heck is going on inside the trash bin?
 
@bwoebi Btw, could one of you finally disable phpdbg compilation by default? You cost be a few seconds linkage time every time I compile PHP ...
 
@NikiC you mean disable when disable-all is used?
 
12:28 PM
@bwoebi disable by default
and especially if disable-all is used
the last part is the important one, don't care much about the default as I never use it
 
Yes, for the latter I absolutely agree…
But I don't see why not build it in the regular default?
 
cv-pls: Docs, Backlog | Tools: Explain, phpdbg, devdocs.io | Addons: [cv-pls], PHP Manual Linkifier | Snippets: ext/mysql | Reference: QAs
12
Yeah, I guess that works too @Jack
 
Cool!
 
@NikiC well, it's already disabled by default… it's just not yet merged into php-src.
Will get merged with the next bigger phpdbg update
 
@Jack I was wrong after all... you need an EX(symbol_table) = symbol_table at the end of the inherit opcode
you also need a CHECK_EXCEPTION() there (before the next opcode thingy)
 
12:37 PM
okay, just a sec.
 
Is there any excuse for a hosting company to not offer greater than PHP 5.3 on the hosting? A client has shared hosting and its version 5.3
 
No good one
 
@David You must be happy, there are companies still running on 5.2
 
Greetings.
 
12:40 PM
More over, it's WAMP on windows ...
 
I would like to ask this good community of the matter that is quite important for me.
0
Q: Slight extension for SQL prepared statements syntax. Need advise

Your Common SenseIn my database abstraction library I am extending SQL prepared statements syntax to hint a parser with expected literal type. I take it as a very essential improvement, my reasoning you can read here. If you want to question the idea itself, please let me know in the comments - I'd like to start ...

 
@HamZa He told me he had a VPS but turns out to be shared hosting and I have closures using $this and short array syntax and finally { in the code I developed locally
 
It's a rare sight seeing the colonel here once. but TWICE?! Time for my hourly dream check.
 
BTW, @Nikic, I have a feeling that I picked up that idea of using ?a style placeholders from you, seeing your answer or comment somewhere back in '12.
 
@David lol not sure what you should do. Maybe convince him to step over to a real hosting ?
 
12:44 PM
@YourCommonSense very, very opinion-based. There are options, yes - but there's no silver bullet when it comes to syntax (well, in most cases). Each option has it's weakness and benefits
 
@YourCommonSense s/advise/advice
 
@David Sounds like you're up a creek without a paddle. In the future though, if they say they have a VPS then setup a VM that exactly mirrors their setup so you don't run into this problem again ;)
 
Goddammit
This refactoring could take a while.
 
@David you can get a vps for like 5$ per month, there is no excuse for shared hosting in 2014 :x
 
@NikiC Definitely better now, four memory leaks have gone - link
 
12:50 PM
it's opinion-based only for someone who doesn't have an opinion yet
 
@Patrick I said that but he's concerned about who will "look after it"
 
@David Who's gonna look after it on the shared hosting server?
 
@Jack now you have the problem that that EG(active_symbol_table) will be set to NULL by zend_generator_resume (because that's what it was before the resume)
 
Not sure how shared hosting absolves him of the need to "look after it".
 
@David get a managed one. or tell him you will do it for a retainer of x$
 
12:53 PM
@David The short array syntax you're using, do you have multidimensional ones [1, [2, 3], [4,5, [6,7]]] ?
 
Hi All
I am struggling in selection of Language to work on
I am in dillemma to chose between PHP and Python
 
@NikiC You mean it gets set to NULL and doesn't destruct it first?
 
can some one suggest me what could be the best to use to create webservices?
 
@OMTheEternity Do you expect us PHP people to tell you to throw PHP away and use Python ?
 
hahaha
Not At All
 
12:56 PM
@Jack destruction of them symtable is based on EG(active_symbol_table), which will be NULL after the generator is called
 
But still just a question on prespective
 
@OMTheEternity define "webservice", what are you going to create
 
These webservices are using Google Cloud APIs
to connect through a Mysql DB
 
@Jack For context: lxr.php.net/xref/PHP_TRUNK/Zend/zend_generators.c#381 => original_active_symbol_table was NULL, so EG(active_symbol_table) becomes NULL in the parent scope
 
There will be CRUD operations in it
 
12:58 PM
at least that would be my assumption as to why the parent symtable leaks
 
@OMTheEternity The one that you or your team will be more productive with.
 
Things are quite Dictating in here
We all are PHP Geeks
but we are being forcd to move into Python
 

« first day (1249 days earlier)      last day (3713 days later) »