« first day (1602 days earlier)      last day (3572 days later) » 

user895378
00:00
Someone make that happen.
white page, must be written in PHP :)
try now
(updated the link)
Welcome to: diabloprogress.com
This Web page is parked for FREE, courtesy of GoDaddy.com.
user895378
@Leigh really? shows up fine for me
00:04
ahhaha
I guess my superior ad blocking is better than yours :)
let me disable uBlock and see what happens
user895378
Must be that fancy porn filter your fine elected officials put in place in the UK.
diabloprogress was working 2 minutes ago
funny how it expired just now
NOTICE: This domain name expired on 3/4/2015 and is pending renewal or deletion.
yep
must be rdlowrey's terrible US ISP NSA snooping stuff that lets him continue to see it :P
user895378
@Leigh lol
user895378
00:07
The NSA is all up in mah internets bro.
@Tyrael Looks like you're doing better than me anyway :) eu.battle.net/d3/en/profile/Leigh-2329/hero/56512076
bloody RNGs
00:59
@bwoebi ($a <=> $b) === 0 will return true whenever ($a == $b) returns true, but one of those is faster
@Andrea Put NAN into $a or $b.
That's AFAIK the only case where the reverse doesn't hold.
Am I right?
Hi, excuse the possible stupid question. I have an array that is being built and used in an SQL query. I need this to equal 1 or 2 or 3 or 4.
currently it obviously only equals 1 at moment using this 'service.active' => 1,
is there a way to even have that match multiples in an array?
It sounds like maybe you want to use the IN() operator
SELECT id, foo from table WHERE id IN(1,2,3,4);
01:24
mmm
01:52
@ircmaxell does your namespace pr fix this bug as well? If so, I can link them up :D
Sometimes you look at a WSDL and you're amazed at how a soap client can make sense of that shit.
@jack yes
Cannot find anything else to understand...
02:48
It there any tool that converts result of print_r or var_dump into array?
you mean like var_export() ?
I think he means a print_r() or var_dump() parser.
8
Q: Create array printed with print_r

John Kar.I have an array: $a = array('foo' => 'fooMe'); and I do: print_r($a); which prints: Array ( [foo] => printme ) Is there a function, so when doing: needed_function(' Array ( [foo] => printme )'); I will get the array array('foo' => 'fooMe'); back?

magento anyone?
no, thank you, i just ate.
2
hahaha
02:51
@Ja͢ck / me hopes not
@marcio i'm afraid there's a good chance I have to disappoint you :)
why would somebody do that? xD
I ... ehh ... well ...
(no need to answer)
02:52
I wasn't going to :)
I doubt you could find a good reason (not defying).
I can think of one good reason, but that's part of an end-of-world'ish scenario.
Thanks. It works.
03:09
i am using nodejs, and there is a socket connection between page and server already, so was planning to use it to verify... — mido22 37 secs ago
"I know you're using JavaScript, but what do you use on the server!" ... doesn't get old.
how to change the product column to 2 in magento?
0
Q: How to set product page to 2 columns-left instead of 1 column

Michael Lee BurkeHope someone can help me, How to set product page to 2 columns-left instead of 1 column. Ive had a look around in catolog.xml but no joy, Ive been looking for catalog_product_view Thanks Michael

I mean the products inside the categories
the row of the product displayed
That's not what you said ... in any case, it's not php problem.
@marcio There is a valid reason for parsing vardump und printr output. Importing debug data from external sources. (SO questions, re
Mote servers with crepy regulations etc...
03:21
wat
moat servers with creepy regulations?
12 points left...
Hit enter by accident and edit is painful on mobile. Should be remote and creepy
user895378
03:40
mobile room11 is really painful
the chat protocol is not open, right?
user895378
Don't think so, no.
user895378
You could write a websocket client to consume it and then expose the chat yourself :)
indeed :D
user895378
04:15
I'm not going to lie ... I've considered this.
user895378
I have all the technologies in place to do it lol.
user895378
But I'm not going to waste my time.
user895378
@Ja͢ck looks like someone just hit 100k.
@Ja͢ck , you got it
hey hey!
\o/
user895378
04:18
I checked and was like, "WTF he's still not there. I better fix that."
haha, thanks!
I wonder if there's a special gift after 100k lol
@Ja͢ck , just take it
Eew
L^ )
user895378
I think you get like a coffee mug and t-shirt or something right?
user895378
04:24
You can ask @Gordon ... I believe he's been there.
user895378
04:44
@Tyrael Just to be sure you see it: I sent you a DM on twitter about a commit that needs to be brought into the 5.6.7 release branch.
@rdlowrey Is it of international importance? ;-)
user924016
05:17
morning
05:36
Hi @JoshWatzman
05:57
@NikiC I tried recursion with yield from… and noticed that each generator frame costs 256 KB? :o Where does all that memory go to?
See that test… github.com/bwoebi/php-src/blob/coroutineDelegation/Zend/tests/… put a memory_get_usage() in the generator and yea…
@NikiC btw. it's not the real memory… just the memory counter which goes against memory limit…
int(26664083496) (26 GB) … return value from memory_get_usage() while real memory allocated from system only was about 830 MB.
What's going wrong there…
06:36
^ Or just … how is that possible at all!?!?
What would be required to get nullable types into 7.0 at this point?
An act of Git?
06:59
@DaveyShafik a time machine, a bucket of sand, two pieces of string, a one meter metal ruler, and a real live pixi ...
@JoeWatkins no, but really...
Zeev is saying it's impossible due to timelines. I believe that it is something that absolutely should roll out with scalar type hints.
I kinda agree with him
I don't think there is currently an RFC in discussion, no patch either ...
I don't see the problem with targeting 7.1 though, why not do that ?
it's down to release managers what get's merged, you should probably just ignore any dates or timelines and do the RFC, if it's voted in in good time for an RM to include in 7.0 then it will be included ...
we need to choose an rm for 7 too ...
@JoeWatkins github.com/php/php-src/pull/1045 there is already a patch/RFC from Levi
it's in draft though
@JoeWatkins sure. Zeev also says it's trivial to add to his coercive types patch, but if he were to include it in his RFC it would need to be limited to Scalars only.
07:13
it's safe to ignore Zeev, the world doesn't end if we ignore someone from Zend :)
I'd just push ahead ...
hello socium!
Hey can someone help me. Someone is down voting all my questions and answers. How do I report this?
was there not a report button somewhere ?
I don't see one
let me check..
07:24
thanks
there is flag button for, as i supposed is ment for reporting... Never clicked that one.
thanks
my pleasure
user924016
=] is there a way I can find out which "./configure --with-this-n-that .." a build was set with? I tried looking in phpinfo() and failed
user924016
I am trying ti replicate a build locally
07:29
Is it a distro build?
user924016
yea 5.3.3-7+squeeze23 =[
yeah… then, no chance. You need to extract switch by switch from the data present in phpinfo()
user924016
okay thanks =] I will get to work then
@RonniSkansing note that there are likely some fixes backported etc.
What do you want to achieve at all?
@bwoebi We allocate a separte VM page for every generator, which is 256KB
We should probably make the default page size for generators smaller...
AAB
AAB
07:34
Hi,
Good Afternoon All ! :P
256KB is okay page size for the main stack, but pretty overkill as the default allocation for generators
AAB
AAB
I have a simple php application. No MVC
@NikiC makes sense…
@NikiC That could be the other reason why my server explodes if you send a lot of websocket frames.
AAB
AAB
I wanna use a routing library to filter pages
07:36
@kelunik You're running out of memory or what?
AAB
AAB
instead of adding a redirect_to code in top of every page
@bwoebi Maybe the large unused pages are not mapped by the os until first access?
AAB
AAB
I came across this github.com/chriso/klein.php
@bwoebi Yes, pretty fast.
I think 800 concurrent websocket frames are enough.
07:37
@NikiC got a minute ?
@LeviMorrison is there anything I can do to help you finish up the nullable types RFC and push forward with it for 7.0?
@NikiC possible...
@JoeWatkins yeah
@kelunik yeah… 1000 Generators is already about 256 MB… And if some other things are going on too there…
@bwoebi so, what should we cut this down to?
07:38
remember you suggested that I use the jmp, send, call, jmp back pattern ...
for the ZEND_EXIT thing
@NikiC At most 4 KB.
Not sure if less is not enough…
@JoeWatkins yeah
@AAB hi
I done it there, Zend is fine with it, works well, but opcache crashes during block optimization, is there something wrong with that generated sequence ?
AAB
AAB
07:40
@animaacija hi
@bwoebi Yes, limit is currently at 1G.
@bwoebi do you know how much a reasonably sized generator needs as a minimum? i.e. without doing the overallocation?
can i ask please how can i perform CSRF Token ?, I want to apply this to add securities but I don't understand how this works.
@NikiC You mean what 95% of generators need to allocate at the peak?
or how to perform the CSRF Token ?
07:41
I made a slight change locally, only jmp back if opline continues past it + 1, but it crashes optimizing the first block ...
@bwoebi How much they allocate at the start (stack_size) ... but peak stack usage would be better, just not sure if easy to get
I don't know either...
@JoeWatkins not sure if related, but it looks like you missed setting op2 on the send opcode
@jemz uniqueid() goes in session variable and the same variable is send to user in compiled form to fill. When he submits, he submits the same token as well. And php will not process any post data without the same uniqueid in session variable.
good monrnings
07:47
@bwoebi We used to have something like that (current key based) in 5.x
not clair... any q and a?
Morning!
moin @iroegbu ™
@NikiC Would be nice to see it readded. I don't really want to mess with HashTable internals directly…
@bwoebi I don't think it would be significantly faster than delete+reinsert
And the old implementation was super super complicated, I'm glad it's gone
07:50
@NikiC you need find+delete+reinsert
find is implicit in delete ^^
What do you need this for anyway?
@NikiC Can I ask you a question about Parser API, should I try to bump it? Or it will be better to postpone it for next versions? Without your and Dmitry's help I can't resist on vote phase.
@animaacija, thank you for the reply.,but I cannot picture out ,I apologize.
@jemz yeah ... i have no talent in writing. You must ask qeestions!
Never stop asking questions in your life son!
07:55
@animaacija, anyways thank you.I will try to understand.I apoligze
so do i.
@JoeWatkins the actual problem is probably that you're using the TMP_VAR result over a JMP boundary ... that likely isn't supported. (Also DO_FCALL is supposed to return a VAR, not a TMP_VAR.) Maybe don't use the return value of the function and instead replace the use of the TMP_VAR of the exit result with a CONST operand? It's a dummy anyway. Though replacing it may not be easy outside of opcache...
honestly not sure right now if using tmp accross a jmp is okay or not ...
bah
@PeeHaa told you I loved karma
@NikiC okay, thanks for looking :)
user924016
@bwoebi I am downloading a legacy project, setting up php from 5.3.. 5.4 ..5.5 and up to master, trying to replicate production env as much as possible, so I can get a hint of how the project would behave on a newer php version... which I so desperatly want =]
08:14
@FlorianMargaine What is a reddit?
does any one have giveaway PC ? decent one ..
Mionrinig all
:)
im on early 2008 Imac ... slow as death duo core age
moin
@Alexander uh, not sure. might benefit from baking for another release and getting some usage experience. (though we have the usual chicken and egg problem of people not using stuff if it's only an extension...)
btw, your point about having an extra node for zvals is interesting. I was not convinced initially, but now agree that it makes sense to do this for "normal" zvals (as in a literal 1 in the code), but directly use normal values for things like a variable name (which is also respresented as a zval node internally)
One of the reasons for this is that we might otherwise run into issues with constant expression folding, as a NULL pointer and a NULL zval couldn't be distinguished anymore
08:44
...............SS......S..................................... 61 / 5509 ( 1%)
5509 unit-tests handing on the wall ..
Good mourning :)
morning. I gained ~100 karma last night. Sweet sweet karma.
all thanks to you, @salathe!
Morning.
09:08
morning!
09:33
posted on March 06, 2015 by kbironneau

/* by Shyish */

@FlorianMargaine :)
09:48
Hows everyone doing?
@HamZa lame joke :-P
@MikeM. do you even nosql?
CodeIgniter is not "one of the worst frameworks in php" it is consistently in the top 5 web frameworks when professionals talk about frameworks out there (I'm not saying it is the best). And I feel I should say that I am a professional developer and we use it, among other frameworks, in projects quite often and we have had great success with it.
for fuck sake
I think CodeIgniter makes understanding MVC quite intuitive and easy to visualise
I guess this is how normal people see it.
@HamZa Just saying I was kinda crying of laughter :P
10:02
@tereško Chill out and check the breaker out :D
Hey,
Is there an easy way to convert characters to utf8 ? or a whoel db
Smthing like: mysql_query(‘“set names UTF-8”);
gist: Don't use MySQL functions in PHP - Comment for Stack Overflow, 2012-10-12 22:14:43Z
    [**Please, don't use `mysql_*` functions in new code**](http://bit.ly/phpmsql). They are no longer maintained [and are officially deprecated](http://j.mp/XqV7Lp). See the [**red box**](http://j.mp/Te9zIL)? Learn about [*prepared statements*](http://j.mp/T9hLWi) instead, and use [PDO](http://php.net/pdo) or [MySQLi](http://php.net/mysqli) - [this article](http://j.mp/QEx8IB) will help you decide which. If you choose PDO, [here is a good tutorial](http://j.mp/PoWehJ).

[**Please, don't use `mysql_*` functions in new code**](http://bit.ly/phpmsql). They are no longer maintained [and are officially deprecated](http://j.mp/XqV7Lp). See the [**red box**](http://j.mp/Te9zIL)? Learn about [*prepared statements*](http://j.mp/T9hLWi) instead, and use [PDO](http://php.net/pdo) or [MySQLi](http://php.net/mysqli) - [this article](http://j.mp/QEx8IB) will help you decide which. If you choose PDO, [here is a good tutorial](http://j.mp/PoWehJ).
Thanks Safari for not always storing auto generated passwords; you know some websites send new passwords via snail mail, right? Grrr
10:18
frimoinday
FRIDAY MROGINGN!
guys, this is probably really simple but. How can I get what I want from this jsom : [
{
"first_name": "andrew",
"last_name": "mals",
"dob": "21/04/1987"
}
]
I've used json_encode to read it
Today I have reached the first milestone in wasting time, mostly solving other people's problems!
something like $check_json['first_name'] doesn't work
10:23
also congrats @Ja͢ck
@Brunaldo pass true as third param
sorry I'm not too sure what you mean, where do I pass the param? @PeeHaa
json_decode
json_decode() expects parameter 1 to be string
god damn it
i don't think you will want damned parameters
10:29
lol
How hard can this be lol
@Ja͢ck "There are parameters, damned parameters and typehints"?
json_decode(json, true);
lolol
Why you don't open php json_decode page
this gives me this: PHP Warning: json_decode() expects parameter 1 to be string, array given in
Sorry second param yeah
should I ever write a js library I'll call it "donovan.js - the library that sticks with you"
10:33
if i print json_encode it prints it like the json I pasted
@Gordon How about iwishididnthavetowrite.js?
nomorejs.js
@DaveRandom oh yeah, well. it aint gonna happen anyway ;)
Jul 1 '14 at 0:03, by DaveRandom
It could be worse, it could be VB
@DaveRandom even worse: asp.net [doesn't matter which... vb or c#] - VB as win applications not that bad xD
10:36
I think we may have to agree to disagree there.
Not about ASP.net, though
@DaveRandom I don't dislike vb.net that much, it's plain english and not really "programming" but I started there :-P
@Gordon you're lucky the lib doesn't exist.
@Gordon I would use it for sure cough cough
@MikeM. Slightly annoyingly though, C# for desktop applications is possibly the most enjoyable programming experience one can have
@DaveRandom What's wrong with Victoria Bitter?
10:38
Wouldn't describe it as plain English though
@Ja͢ck too expensive
hah, because it's imported?
@FlorianMargaine I was surprised, too. usually you can google for anything + js and it will exist. kinda like porn.
You're closer to Aus though, so prob cheaper for you
@Gordon rule 34.js.
should be, but i predominately drink either Belgian or Japanese beers :D
10:39
:)
@Gordon porn.js doesn't exist, closest I can find is davidwalsh.name/nudejs
@Ja͢ck asahi extra dry ftw
@Gordon hmm yes, i recently started to appreciate Suntory beer as well.
It's more english then programming :-P
I keep saying it, if you want to learn the logic behind programming the easy way, start with vb.net
The oh so lovely NullReferenceExceptions :-P
I'd still go for Pascal ... declare all the things!
10:45
Never played with pascal.
I've never used vb, but what's so bad about it?
@Brunaldo It's not bad it's just that you don't learn to use things such as semi-colons and things like that
I'd actually recommend PHP because a) no concerns about typing for beginners and b) it's good to start with something with C-like syntax IMO, it's the best way to learn to read code in any language regardless of whether you know the language.
if(something){

}

in vb.net would be:
if something then

end if
In PHP:

if (something):
bla bla
endif;
10:47
the hate against pascal :P
it's interesting because hedge funds in london pay crazy money if you know how to use vb and excel lol
hah, a rant from 1981!
yup :P
@Brunaldo some companies use vb.net with excel.
I know a friend of mee needs to work with vb.net - xaml making forms
Seriously, it is bad. It is terrible. There are like 300 different flavours of it, all developed by MS, all differently retarded, it's full of all sorts of weird ass syntactical ambiguities, all the different flavours have slightly different (very badly documented) standard libraries
I'm guessing you can make scripts for handling trades and all that crap
10:49
= is both an assignment and an equality comparison operator
And and Or are logical or possibly bitwise depending on context
@DaveRandom bad documented?
oh really? You just need to click in 10 articles before you get to the point you need to, isn't that bad :-P
@MikeM. Yes, don't even begin to try and tell me you find MSDN usable because I don't believe you.
@DaveRandom It's context aware how fucking awesome is that :)
10:51
@DaveRandom Read the sarcasm message :-P: chat.stackoverflow.com/transcript/message/21943190#21943190
@PeeHaa If foo And bar Then and If (foo And bar) Then mean different things... sometimes
Awesome!
Depending on which flavour you are using
VBA and VB6 have different rules to VBS, and VB.net has another, different set of rules
Oh, and all 4 variants have different mechanisms for obtaining a function pointer
the = assignment is sometimes confusing indeed.
I'll stick to the drinkable variant of VB.
10:53
And you can't ever get a method pointer
and there's no such thing as ctor arguments
@DaveRandom How do you still remember those artefacts?
Oh, and event handlers are based on names in the global scope
Okay, granted, I haven't actually done anything serious with VB.
@Ja͢ck I occasionally have a job that can only be solved with some flavour of VB or other
???
what kind of job?
10:55
@DaveRandom muhahaha
:)
I'd use JScript for most of them, but MS broke the JS handle in wscript a while ago and now it's basically pot luck as to whether it will work on any given computer
Btw, .. I like the friendly title of "Why Pascal is Not My Favorite Programming Language" ; nowadays it would read "Why Pascal Sucks!"
@FlorianMargaine Usually logon scripts
It's either VB or batch files, and I'd rather gouge my own eyes out with a spoon than write a batch file
@DaveRandom kixstart FTW!
Soon I will be able to use powershell reliably, though, and all this will be nought but a distant repressed memory
10:57
@DaveRandom Do you agree that this should not fail? parse_url('//example.org:81/hi?a=b#c=d')
@Ja͢ck The entire parse_url function is fubar
Yeah, we all know that
Are you fixing it?
Like actually make it working for relatvie uri's?
I'll think about it :)
@Ja͢ck So the real issue here is that we need a distinction between URI processing and URL-for-browser processing
10:58
If you do I will love you forever you know that right?
In any case, at this point I'm just reviewing a PR that fixes the above.
That's not technically a valid URI
Why not?
@Ja͢ck Either fix it all or none imo
@PeeHaa And you're entitled to that opinion ;-)
10:59
oh and json_decode worked, i got it confused with json_encode ffs. Thanks @PeeHaa @MarcoAcierno
@Ja͢ck It would be stupid if only some relative urls work
@NikiC ok, then I'd better wait with this API. Don't want to spend your time on this feature, because there are many other things that would be better to push for PHP7 (Classes for primitive types, etc)
@Brunaldo I sometimes mix up putting on my clothes and taking them off ... makes for a great story at the office later.
@DaveRandom oh right, how about valid URL then? ;-)
2 mins ago, by DaveRandom
@Ja͢ck So the real issue here is that we need a distinction between URI processing and URL-for-browser processing
11:01
@Alexander classes primitive types php 7????
the function is called parse_url() ...
parse_url() should be able to cope with it, but we do also need some strict processing tools
true
Java all teh things \o/
@NikiC I'm glad that you agree with my idea, that API should be consistent, so special Node class for zval's will be good.
11:01
and i was going to do that ... i believe heh
@PeeHaa just my dream ) but this can be really nice feature for making PHP consistent
@PeeHaa instead of flame with function names, I'd prefere to use $array->count(), $array->reverse(), $string->length(), $string->substring(1,2), etc...
Hmm, Ferenc is still RM for 5.6 right?
@Ja͢ck lol
11:05
@Ja͢ck Julien too..
Isn't Julien RM for 5.5 ?
Release Managers

Julien Pauli (jpauli@php.net)
David Soria Parra (dsp@php.net)
Oh ya, David too
@Ja͢ck he's co-RM for 5.6 iirc
icic
11:10
Hey guys, from where you lot have worked, what OS did the companies tend to use for programming? was it mostly linux?
depends on the company.
some were mostly windows, some were mostly mac, some were mostly linux, some were mixed
true. but say on a programming language that isn't platform dependent?
1 min ago, by Florian Margaine
depends on the company.
loool, okok. thanks XD
@NikiC +1 for this case. null/false/empty strings/etc can be parsed and analysed easier then
the tumbleweed lubed me wet
makes no sense, but lubed me wet is an anagram of tumbleweed so it's valid ;)
11:52
So in Riga lat is ATM. Not spotted @tereško yet
Latvia*
/me is at home, waiting for monitor to arrive
I'm hiding, obviously
ThW
ThW
Morning
@tereško Which one did you order?
.. I know, it's an overkill. but I really wanted it
hi
ThW
ThW
@tereško I have an LG with about the same specs - I love it.
11:58
i have one question realted to php

question is i hv redirect to one page which is not in my project it hv email id and password , can i send that credneatials from my php?
@ThW they say taht this one has better backlight
and colors
oh .. and it has adjustable hight

« first day (1602 days earlier)      last day (3572 days later) »