« first day (1403 days earlier)      last day (3545 days later) » 

2:00 PM
@rdlowrey I haven't broached the subject in streams yet and this is a big part of the reason why. I was originally planning to do that first as it seemed like one of the simpler wrappers (it's just a ReadableStream/WritableStream and that's it) but then when I sat down to do it I realised it's not nearly as clear cut as that
 
there should have at least been a conversion before discussion started ... at least ...
 
1
A: how to confirm logged in to pages?

Hassan Althaf$found_admin = attempt_login_admin($username, $password); $found_client = attempt_login_client($username, $password); if ($found_admin) { $_SESSION["admin_id"] = $found_admin["admin_id"]; $_SESSION["username"] = $found_admin["username"]; redirect_to("admin.php"); }elseif($found_clien...

 
yeah october is pretty crappy in the uk, and crappier as you go northward ...
 
Is my answer right on that, guys?
 
Ok, then
 
2:01 PM
I did get an up-vote, hopefully that's the solution.
 
so is every other month of the year mind you ... I don't think a month goes by without rain ... ever ...
 
well .. maybe really-really early october
 
@ircmaxell you can tour Austria in one weekend, or maybe Switzerland...
 
@JoeWatkins over here, rain is good :)
 
Nothing to see in Macedonia really...
 
2:02 PM
how about Budapest?
 
It has always seemed odd to me that null is not a valid argument unless the parameter is defaulted to null, when the parameter is asking for a class type.
 
me and weather are not friends ... I'm staying in my house ...
 
@webarto been to both already
or Sarajevo?
 
@ircmaxell That would be the best decision.
@ircmaxell Are you trying to get robbed perchance?
I'm kidding, I'm there :P
 
wasn't that a war zone a while ago ?
 
2:03 PM
@webarto is a warlord though. So we'd be safe in his care.
 
@webarto Nope, just finding major cities that I have heard of, that I've heard are really unique
 
@ircmaxell in Latvia the October has the "old name": month for souls of the dead
 
@ircmaxell are you planning your holiday spot?
 
Sarajevo is border of East and West. Really unique.
 
@HassanAlthaf a long weekend
 
2:04 PM
@ircmaxell you can come to Sri Lanka.
If you want beautiful sandy beaches, you can goto Hambantota city.
 
too far, it's a weekend trip from London
 
If you want a mountain area which is mild all times of the year, goto Kandy city.
 
For the record @m6w6 my objections to the current pecl_http2 are the same as @rdlowrey's, from a less-but-not-totally-un-informed position. I'm sorry if we were coming off as assholes earlier, the whole point of the earlier discussion was more how to bring it up without coming off as assholes, which we really are not trying to be, just trying to get the best possible solution and avoid repeating the mistakes of the past.
 
@ircmaxell crazy parties if you are into that
 
It's just 8h man?
(Plane)
 
2:05 PM
no non-stop flights to Budapest from London, so that's out (within reasonable price)
 
@ircmaxell The best way of describing it is that northern Europe (but particularly the UK) doesn't have a climate, instead is has weather. You can get Octobers which are warm enough to sit outside and enjoy the sun. It can pretty easily snow in October. But most of the time it's going to cool and rainy.
 
so you'll already be in london ?
 
if you come to Switzerland I'll take you out for a beer :D
 
Goto Netherlands, legal weed and prostitution. :]
 
2:06 PM
@HassanAlthaf been there, a lot. Want something different
 
@ircmaxell Vienna is about 2hrs drive (train, bus) from Budapest.
@HassanAlthaf I'm from Bosnia, what's the meaning of word "legal"?
 
you'd have a good time with your camera on the isle of wight ... many pretty things ... but tiny island ... probably okay for a weekend tho ...
 
:-)
 
I would go for Sarajevo or Belgrade, #YOLO
"different"
 
#YOLO ?
 
2:09 PM
@rdlowrey Btw, I've thought about adding a run loop ... but doing it on RSHUTDOWN is rather hairy :)
 
user895378
@Ja͢ck I haven't looked into the details yet. I was hoping it would be a simple matter of adding the run() call at the end of the request like that
 
but userland shut down already ...
hairy is right ...
 
@ircmaxell um.. Palestine? :D
 
@rdlowrey That part is simple ... the problem is that some stuff has started to disintegrate already hehe
 
2:10 PM
no
 
Israel?
 
Don't be a dick Hassan
 
Saudi Arabia? Qatar? Kuwait? Dubai? Abu Dhabi?
 
stop trying to get our friend killed @HassanAlthaf :D
 
user895378
@Ja͢ck Define "disintegrate"
 
2:11 PM
@JoeWatkins that was a joke.. lol
 
user895378
lol, that flag didn't last long
 
@Ja͢ck @webarto I got the top-end macbook pro, with a certain discount ;-)
 
@Jimbo Can you link to similar spec? :)
 
posted on August 19, 2014 by kbironneau

/* by r0r0 */

 
@Jimbo with certain discount, do you mean educational?
 
2:12 PM
@Ja͢ck My friend is a student :P
 
@ircmaxell Japan?
 
@Jimbo Oh, I just pretended to be a teacher :)
 
@webarto Spec, I got about £320 off
@Ja͢ck Haha, it worked?
 
@ircmaxell +1 to @SecondRikudo's idea of Japan.
 
@rdlowrey mostly the refcounts have already dropped to zero afaict.
Japan in Europe?
 
2:13 PM
Japan is in Asia mate..
 
You don't say.
 
@ircmaxell I can give you tour of in order of appearance: Belgrade, Sarajevo, Mostar and the old city of Dubrovnik. That would hefty fine for a weekend.
 
@Jimbo isnt it still costly ?" i mean its still £1700
 
@NullPoiиteя Costly, but it'll hold it's value and I won't need to upgrade for about 5 years. That's £340 per year, which I think is worth it for the use i'll get out of it
 
2:14 PM
Aw he wants Europe?
I don't know of any great destinations in Europe :P
 
@webarto :-D
 
No one wants Israel
@SecondRikudo @SecondRikudo @SecondRikudo
:P
 
Plus it's a treat since I got a new job :)
 
@webarto Agreed.
 
@webarto you've forgotten Bobruysk and Chelyabinsk (:
 
2:15 PM
You've nothing to see here.
 
@Jimbo now it looks fine :)
 
> Time Machine completed a verification of your backups on “192.168.1.14”. To improve reliability, Time Machine must create a new backup for you.
FUUUUU!!!
 
@Jimbo yeey .. Congratulation :)
 
@AlmaDo I would go to Karelia :) (/cc @ircmaxell google "karelia nature")
 
btw @rdlowrey is there a specific reason that one can't export a stream form mysqli in the same way as you did with pgsql? I was planning to look into it at some point but not sure if there's a reason that it cannot be done that you are aware of
 
2:17 PM
@Jimbo How much money? :D
 
@SecondRikudo i thought there is Church of Wisdom (historically important )
 
@webarto The usual, an arm and a leg.
 
@Ja͢ck Haha!
 
@NullPoiиteя Don't care about religious stuff
 
2:17 PM
@webarto it's in Russia?
 
user895378
@DaveRandom No, you could totally export the underlying socket as a "readonly" stream same as pgsql. The main problem is that our existing mysql extensions offer no way to establish the actual socket connection asynchronously.
 
@ircmaxell Republic of Karelia, it's affiliated with Norway and Russia, not sure.
 
user895378
Of course, if you had libuv under the hood you could simply connect in a worker thread without changing a single line of the existing extension code.
 
The Republic of Karelia (Russian: Респу́блика Каре́лия, Respublika Kareliya; Karelian: Karjalan Tazavalda; Finnish: Karjalan tasavalta; Veps: Karjalan Tazovaldkund) is a federal subject of Russia (a republic), located in the northwest of Russia. Its capital is the city of Petrozavodsk. Its population in 2010 was 643,548. == Geography == The republic is located in the northwestern part of Russia, taking intervening position between the basins of White and Baltic Seas. The White Sea has a shore line of 630 kilometers (390 mi). Area: 172,400 km2 (66,600 sq mi) Borders: internal: Murmansk Oblast (N...
 
Congrats @Jimbo. what's the new role?
 
2:18 PM
Since I'm an American, that's out
 
@ircmaxell @webarto it is
 
user895378
But newer mysql variants (MariaDB) actually have async connect support.
 
@ircmaxell Haha, warum?
 
@rdlowrey Hey, are you a contributor to php-uv already?
 
2:19 PM
Spy from Google? FSB alert.
 
@Fabien Software Engineer, apparently there's a US classification that puts me under Software Engineer II or something, but it involves a lot more about learning how to design code right rather than just typing stuff
 
user895378
@Ja͢ck I have a few PRs merged, yes
 
It's mainly the learning I'll be doing that I'm interested in, the path to knowledge :-)
 
user895378
@Ja͢ck it's the recent ones, so you can just look near the top of the commit history
 
@rdlowrey I was thinking of giving it some inputs as well ... :D
 
user895378
2:21 PM
chobie has been good about merging things in a timely fashion when I've submitted them
 
For one, the Travis is broken .. secondly, I don't think libuv should be a submodule.
 
user895378
So your time wouldn't be wasted.
 
@rdlowrey ahh OK, forgot about that, makes it quite a bit more work. Will have a hack around in mysqlnd at some point, probably not that soon though
 
Rather, it should have --with-uv=<path> configure line.
@rdlowrey cool :)
 
I agree with Jack on that one.
 
user895378
2:22 PM
@Ja͢ck yeah, I agree.
 
When languages ship their dependencies and everything works fine it is the best solution.
When they go poorly though it's the worst solution.
 
user895378
And I agree with --with-uv=<path>
 
That said, chobie's work is pretty dandy :)
 
user895378
@LeviMorrison Which is why I'm a parrot who keeps saying "we should include libuv by default"
 
user895378
2:23 PM
@Ja͢ck Yeah everything "just works"
 
user895378
libuv plugs so many holes in the current PHP implementation ... like ... so many
 
@Jimbo Sounds cool
 
Thanks man, a little nervous as only my second job, but looking forward to it. I'll be moving in on my own toward Liverpool as well for the first time
 
:-D
 
user895378
2:25 PM
@DaveRandom you're pretty excited about that last big BBQ aren't you? :)
 
Guys are there recursive functions in PHP?
 
@HassanAlthaf Are you asking if you can use recursion? Yes, you can use recursion.
 
@HassanAlthaf array_walk_recursive()
 
Nvm.
28
Q: What is a RECURSIVE Function in PHP?

ImranCan anyone please explain a recursive function to me in PHP (without using Fibonacci) in layman language and using examples? i was looking at an example but the Fibonacci totally lost me! Thank you in advance ;-) Also how often do you use them in web development?

 
spiegel.de/panorama/… .. land of the free, home of the brave?
 
user895378
2:31 PM
@tereško yeah that whole situation is ... distressing.
 
user895378
It's a free country until it's inconvenient for the authorities, at least.
 
they seem to be arresting european journalists now
 
user895378
They are arresting everybody, apparently. You point a camera at the police? Arrest.
 
user895378
It's totally fucked.
 
@rdlowrey I live in St. Louis and I'm shocked at it, really. The police just keep making it worse and worse for themselves and everyone involved.
 
2:34 PM
I thought it was completely legal? And there's calls for all police to wear cameras?
Oh wait where in europe -_-
 
.. and russia
 
user895378
@seagoj Yeah, WTF is wrong with the police there? How is any of that legal?
 
legal means how much can you afford in a lot of countries
 
it's not legal, but who exactly is going to arrest/stop them ?
 
user895378
I'm pretty sure if someone told me there was a curfew and I couldn't be outside after midnight I'd go for a stroll just because.
 
user895378
2:36 PM
On principle.
 
user895378
@tereško that's the best part of living in a police state :)
 
@rdlowrey It's not. I've never had an issue with the St. Louis cops, but Ferguson police have their own little fiefdom.
 
user895378
You know what they say ... there's no tyranny so loathsome as petty tyranny
 
@rdlowrey not even that. Let's imagine, some federal force rolls in to arrest them .. what exactly would happen?
just as a thought experiment
 
I honestly think that it would have been better if the state police had taken over immediately.
People in Ferguson have been harrassed by the local PD as a matter of practice for years.
 
user895378
2:40 PM
> "To get them to go home is going to be difficult," he said of the young men comprising most of the protesters. "The young people who come into the world nowadays, they have minds of their own."
 
@rdlowrey Who said that?
 
Ok, Derick convinced me of Scotland
 
user895378
@seagoj lol the local police chief
 
user895378
It's those young people and their wacky ideas about freedom and the police not murdering people who are the real problem.
 
@rdlowrey Yeah, that's about right... I personally think he lost control of the department early on.
 
2:42 PM
@ircmaxell yeah probably good choice ... like I said, every month has rain in it :)
 
worst case, I can drink Scotch... What holiday could be bad with that
 
I am dissapoint
 
watching what is going on in Fergusson right now is like watching a clip from a computer game ...
 
DeusEx: Human Revolution ?
 
2:44 PM
so that means in the span of 1 month, I'll visit Manchester, London, Edinburgh, Buenos Aries, and one or two other cities in Argentina...
life does not suck
 
@JoeWatkins Yeah, it's really surreal. Especially being this close and nothing really being different in the city proper.
 
I dunno the names of any computer games :D
I wonder why such an extreme reaction, what would have happened if they weren't reacting like that ?
 
@JoeWatkins you probably should try playing some
 
@JoeWatkins I think it would have been over by now.
But they came out with a "show of force"...
 
@ircmaxell If you're Tony Ferrari.
 
2:47 PM
:-P
 
@JoeWatkins Because the police force is overly militarized. When you have that kind of equipment and training of course your first instinct is going to be force.
 
It's called Militia and not Police.
 
you can't begrudge them the equipment or training tho ...
 
First they beat and then they ask questions.
 
user895378
I saw on television (so it may or may not be true) that the USA has a higher percentage of adults in prison than any other country. 1 in 100 lol. We do live in a police state.
 
2:48 PM
@JoeWatkins Why does a town that small need that equipment? They are police officers not soldiers
 
Well, and then there's the group protesting in support of the cop...
 
user895378
@seagoj wat?
 
@rdlowrey I don't think it's 1:100, but it's definitely a very high ratio relatively speaking.
 
user895378
really?
 
@rdlowrey Trust me, it's better for ordinary folks.
 
2:49 PM
@cspray Well, Ferguson is pretty rough, but it's WAY overkill.
 
user895378
@webarto yeah, those millions of people busted for smoking pot are a real menace to society. Keep 'em off the streets.
 
@rdlowrey Yep, they just all happen to be white, too. I think something's going to happen there.
 
Looks like whole America smokes pot.
 
user895378
@seagoj F'ing white people, man.
 
user895378
It's embarrassing.
 
2:50 PM
Isn't "small amount" for non distribution tolerated?
 
@rdlowrey Yeah and what's crazy is it's somewhat decriminalized in St. Louis.
@webarto It's a misdemeanor below a certain amiount.
 
@webarto Depends on what state you're in.
 
@rdlowrey agreed
 
user895378
@webarto depends on where you are. There are a couple of states that have legalized it now.
 
maybe they don't need that training or equipment most days of the year ... but if the reverse were true and they were poorly equipped and poorly trained, that would also be a problem ...
 
2:51 PM
And from the demographics of the prison population your skin color probably has something to do with it too
 
@JoeWatkins They just need to learn to deal with people as people again
 
user895378
@JoeWatkins Apparently the "problem" is that the military is like, "hey local police forces, you guys want all this sweet gear?" And so they just take it.
 
@rdlowrey Yeah, it's R&D for the Pentagon.
 
also, in the uk the police is an inviting career for someone leaving the army, you can be discharged for medical reasons from the army but the police will still hire you ...
 
my understanding is it's basically free to the department
 
2:53 PM
maybe a bit of that ...
 
@JoeWatkins I'm not saying to just get rid of all equipment and training. But when you start rolling through town in APC aiming sniper rifles at your own citizens there are problems
They're acting like they're going to war... with the people they're sworn to protect
 
yeah I dunno what the solution is ...
 
user895378
Well -- and I mean this in the nicest way possible -- local police in the US are generally in that profession because they can't do anything else.
 
I remember a few years ago the police shot dead a suspected terrorist on the underground, in front of many cameras and people ... they didn't react like this ...
 
@rdlowrey I think having a strong and serious police force is important
But I think it's what we classify or don't classify as crimes which is problematic.
 
2:54 PM
@cspray Exactly, I think if they just showed up day 2 without all the gear, it would be over by now.
 
@rdlowrey Basically it's everywhere like that, small percentage opts for that profession by first choice.
 
user895378
@SecondRikudo yeah, it's the legislation of arbitrary morality that really causes problems IMO.
 
Smoking pot is illegal, but the actual theft done by banks and insurance companies is legal.
 
@SecondRikudo I think the big toys should be relegated to swat or other special forces. Beat cops don't need AKs.
 
user895378
@webarto yeah, so for the most part you end up with people of low average IQ and high average testosterone. And they all have guns.
 
user895378
2:55 PM
There are exceptions of course, and it's a thankless job, but that's just how it is.
 
@seagoj Why does it matter which type of gun or what caliber will the cop carry?
 
@SecondRikudo It changes the demeanor
 
I'd rather an automatic rifle in the hand of a cop, rather than the hand of civilians.
 
(they wrongly shot him dead, he ran away from the man pointing a gun at him, its not normal for the police to be armed in this country, at all ....)
 
@SecondRikudo You can't choose who has them. :)
 
2:56 PM
also, in a country where anyone can have a gun, isn't it only right that all police officers in the usa should have a gun ?
 
@seagoj Of course you can.
 
@JoeWatkins This is definitely part of the problem.
 
user895378
@SecondRikudo nah, if they're illegal people will still have them
 
user895378
Just like drugs.
 
Allowing handguns and rifles being bought at freakin wallmart definitely doesn't help.
 
2:56 PM
@SecondRikudo How?
@SecondRikudo hand guns and rifles aren't what bother me
 
@seagoj Trust me, they kill just as well.
 
Removing the ability to purchase them legally, at least bottlenecks the ability for them to end up in people's hands illegally.
You're never going to remove guns from the civilian equation, but you're sure as fuck going to do a lot better if you make it harder to get them.
 
@SecondRikudo I'm sure, but more precisely. :)
 
@DanLugg I live in Israel. It takes very special permits to use guns in anything except the military.
 
special permits wouldn't stop anything here
 
2:58 PM
@DanLugg with how many there are on the black markets, making them harder to get isn't going to make a dent
 
Except for the serious crime families, which would have them anyway, lowtime crooks don't have guns
 
@ircmaxell Well, now, perhaps. We're kinda down the creek now.
We'll pay for those mistakes for a long time.
 
@seagoj BS
 
@SecondRikudo what's the slap on the wrist for having a gun when you plan to kill someone anyway?
 
I aim better with an M16 than I do with a handgun
 
2:59 PM
@SecondRikudo pretty sure that's math, man.
 
There was an awesome statistic that came about last year. In all of the mass shootings in the US in the past 40 years (mass >= 4 victims), there was only one committed with legally acquired weapons.
 
IIRC, Canada has very little gun crime by population.
 
@SecondRikudo that's not what I mean
I mean more ammo coming more rapidly
 
If used responsibly, any gun is sufficiently accurate.
 

« first day (1403 days earlier)      last day (3545 days later) »