« first day (1195 days earlier)      last day (3979 days later) » 

13:00
Ohh
but why is it not letting any other user to log in?
3 mins ago, by HamZa
for example you can't just put an app on the appstore just because you have a developer account
@user2936213 are the other users using the same url as the one you put in the facebook app configuration
tnx @DaveRandom @hakre
10
Q: Delete votes shouldn't reset if OP deletes question himself

Mr. AlienYesterday I asked a question here, the issue I complaint was for the delete votes which disappeared after casting, turns out that the system resets the votes if user deletes and undeletes his question, which was status by design as commented by @m0sa . So I would like to request for a feature wh...

13:02
serious @DanLugg prefix your name with another character :P
@PeeHaa Our votes were revoked yesterday
serious @PeeHaa no
;-)
@Da ... just one more character dude.
@Leri Depends on a lot of factors, but if the engine is MyISAM then SELECT COUNT(*) FROM table is a lot faster than SELECT COUNT(col) FROM table, and in InnoDB it's not going to be any slower in that specific scenario.
@user2936213 you are testing on localhost?
why my code adds boolean value at the end of the result?
no on server
Yesterday I kinda was lost in my own code as I used require_once inside a function, which was unable to get the variables declared on the page, took 30 mins to solve that shit
@D_Vaibhav Just don't echo the return value... (or use CURLOPT_RETURNTRANSFER)
13:06
@DaveRandom I see. Generally, I keep count for large tables separately and update it on data insertion but good to know that.
can anyone help me please
@user2936213 lolz, when opening https://bizmoapps.com/test/ I see a link to ...redirect-uri=http%3A%2F%2Flocalhost%2Ftest%2F
Good luck with localhost
@Leri Yeh well COUNT() with InnoDB is basically a gigantic guessing game, it's generally best avoided
@HamZa ^_^
@HamZa I don't see that, are you using a proxy?
13:09
@DaveRandom nope, just hover over the link. You'll see at the end "localhost"
@HamZa But here when i gave this link to other user he got the screen wth Login to facebook link?
> <a href="https://www.facebook.com/dialog/oauth?client_id=204519843086913&redirect_u‌​ri=https%3A%2F%2Fbizmoapps.com%2Ftest%2F&state=3988f6829b06adf5d7dbafd5239e4cd7&s‌​dk=php-sdk-3.2.3&scope=manage_pages%2C+publish_stream&redirect-uri=http%3A%2F%2Fl‌​ocalhost%2Ftest%2F">Login with Facebook</a>
@user2936213 I think you should give a username and password, (fake one, generated on the developer configuration page)
Yeah, I get a "FB login" screen
So after you logged in you di not got the that error?
13:11
@DaveRandom if I parse json will that 1(boolean) occur there
Anyways, I don't know why I'm doing this. I've already ignored all FB questions on the main site SO.
App Not Setup: The developers of this app have not set up this app properly for Facebook Login
@user2936213 I mean give me a username and password I can use. I don't feel like logging into your app with my own
^ that
this error: App Not Setup: The developers of this app have not set up this app properly for Facebook Login
13:11
lol ...
@andho sorry but i am not having any fake credentials
Got to do something else because this is going nowhere ..
Ok. But when i log in successfully and try to post something on a selected page it gives this error: (#10) Application does not have permission for this action
why so?
Follow these steps:
1- Read the manual
2- Go through your configuration page
3- Try to use your favorite search engine
4- ?
5- Profit
@D_Vaibhav The boolean(true) is coming from the var_dump(). If you just do curl_exec() and don't call echo or var_dump(), only the JSON string will be output.
13:15
ok. . that echo put me in the confusion
I did but no luck
thats why asking here
I hope that you realise that we can't help you that much. I mean, we don't even have access to the config panel
And seriously even if I had access, should I be doing all of your job ?
@user2936213 you can create from the developer site
I don't see this as a "technical" issue
13:20
^ golden
@user2936213 this has nothing to do with luck
it's sad to see some people with higher reputation then me
@andho mostly because I use regex :P
@HamZa I'm talking about a certain vampire here
hehe
2
A: How redirect page without refreshing main page after ajax success function

user2936213Use like this: $.ajax ({ type: "POST", url: "save_edit.php", data: { id1: id, comment1: comment }, success: function(data) { $("#feedback").html(data); $('#feedback').fadeIn('slow', function() { $('#feedback').fadeOut(4000); $.ajax ({ type: "P...

:)
I don't even....
@HamZa what's that you say? Do you use the stackbot?
13:29
nope
Man, I'm such a bonehead. Accidentally left my laptop in the truck overnight and now it is frozen. Literally frozen.
wow, that's sad :(
I tried out this one. seems pretty handy
:O
@andho That's interesting but ... I'm trying to spend less time on SO, so that will give the contrary effect ...
13:48
resen
@HamZa SO is the 9GAG for developers XD
lol true true
@rdlowrey I remember someone had a github repo with a bunch of useful interfaces. Thought it was you but can't find it on your github
what sort of useful interfaces?
@Patrick that makes me think
maybe a ValueObject library is a good idea
13:57
I think tuples, money, different iterators etc
@Patrick This?
That's not interfaces, though. ^
No, it was one of those names starting with A
@Patrick It isn't @rdlowrey but are you talking about: github.com/morrisonlevi/Ardent?
14:04
yes, thanks
he had a few commits so I wasn't too far off :D
Yeh he had a fork of it for a while, seems to have deleted it though
^ yes, we can delete it now :)
can't believe you can not search through all commit messages in all of your orgs repos on github, it's not possible :/
@DaveRandom I see what you did at the end of that query
Or you could go for "commit" if you want the extended commit message, but that might be a little less precise
@Lusitanian I just chose the first thing I could see that would only get one hit
14:17
@DaveRandom ahh
Also @Lusitanian, following on from yesterday, I think this one is for you
@DaveRandom lolol
user652649
guys, do concrete use cases of FETCH_BOTH exist ? i've always used assoc|object or num, never both
@Wes You're looking for new ways to irritate your colleagues?
/shrug, I'm with you. Seems silly to need both.
user652649
@cspray LOL nope, improving my abs layer :P
14:26
@DaveRandom well, not for private repos :D
user895378
@Patrick Yeah @cspray is right: you're looking for @LeviMorrison's Ardent lib
user895378
@CarrieKendall Embarrassing: I don't get it at all?
user895378
mornings
good mornings
14:27
it has no relation to your conversation, you just say that all the time :P
user895378
@CarrieKendall oh okay. Yeah I'm chronically too busy. Thank you for thinking of me in your meme selection :)
@rdlowrey good evening
morning!
@CarrieKendall m-m-m-m-multi-meme
user895378
@Lusitanian UGT ... UGT!
14:28
@rdlowrey (and it's actually morning for me, i'm just breaking UGT)
@Lusitanian someone get's it.. maybe @rdlowrey's mother is inbred? ;]
user895378
lol
@rdlowrey After seeing The Wolf of Wall Street, which is undoubtedly a fully accurate depiction of every single company in the securities industry, with absolutely no exaggeration or truth-stretching, I am surprised that you left that industry ;)
@MadaraUchiha I declined?
You don't need me to rename argument names ^^
@NikiC You said that you need to rename a couple thousands of those and that's what's keeping you
Or did I misunderstand the reason for the holdup?
14:33
God afternoon! :)
@NikiC you actually wrote a new blog post :O
Anyone used New Relic for PHP apps here?
I'm just getting a demo taking a look.
@hakre tried to once. it honestly didn't seem very useful to me at the time.
hello php lovers
I might be in the wrong room but others are busy
hello wamp lover git.io/chatroom-pact
user895378
14:38
@Lusitanian Oh dude, it was so unhealthy. I would work from 8am to 8pm every day and then party at night. It was amazing, but I realized quickly that it wasn't what I wanted out of life.
@rdlowrey What you actually wanted in life was to be a social life-less programmer :D
@MadaraUchiha It's part of the reason, yes
user895378
@Lusitanian kind of :)
user895378
But more that I wanted to create things instead of being a blood-sucking middleman.
@NikiC And so, I offered my assistance, which you kind-of declined
@Lusitanian a coffee fueled code factory robot..
@MadaraUchiha I don't remember declining ^^ As said, if you want to update argument names, do so...
@rdlowrey Yes, definitely makes sense. Building shit is more fun than moving shit around or breaking shit.
@Lusitanian breaking shit is fun, fixing it back is not..
A Listener waits on Event notifications, but what produces them? Producer, Emitter, Dispatcher... ?
I used to have a EventConsumer/EventProducer pair, but that terminology bothers me.
14:53
@DanLugg I've always called this a Mediator
I don't know that my terminology is any better though
Ooh, I dunno about that; Mediator has some other connotations behind it, no?
@DanLugg /shrug, not for myself but I haven't really had other people working with the specific project that does this so it is hard to say
@DanLugg Ask @rdlowrey
I think a Mediator would better describe (in this case at least) an object that acts as both a Listener/Dispatcher; essentially as a loosely coupled messaging junction.
user895378
A Mediator is like a middleman between the producers and the consumers
14:55
Yea, that's my understanding; in an event model, it's both a listener and a sender forwarder.
@DanLugg Yea, that's a good point. And what I was doing doesn't seem like it follows exactly what you're doing either
user895378
@DanLugg I've seen people use EventEmitter
@rdlowrey Yea, that's what I was using it for. So, maybe that doesn't exactly follow this use case
user895378
I steer clear of EventEmitter abstractions in my server code because it's much slower than using callbacks directly in userland code if you need high performance.
*searching for "emit synonyms"*
@rdlowrey Yea, TBH IDGAF about performance.
;-)
user895378
14:57
@DanLugg Then it's the best!
@DanLugg why not call it Dispatcher? nvm
Yea, I was thinking Dispatcher too.
user895378
Dispatcher to me carries the connotation that it's doing something specific with the intent of getting something back.
Maybe I'm going the wrong way here, maybe I don't shouldn't like "Listener".
@rdlowrey meh I disagree. "Intent of getting something back"?
I guess I understand how you'd get that connotation from it but it's not generally how I view it
user895378
14:58
@Lusitanian Like: $dispatcher->doSomethingAndNotifyMeWhenItFinishes($callback)
$anything->doSomethingAndNotifyMeWhenItFinishes($callback) ;-)
$dispatcher->dispatch($event); //sends event to listeners
user895378
Not: $dispatcher->doSomethingThatMightNotifyOtherCode()
14:59
how bout Trigger?
I now finally know how to merge changes made to sapi/phpdbg in php-src back to phpdbg repo. @JoeWatkins does this branch github.com/krakjoe/phpdbg/tree/test look fine now (verfiy before I push to master)
$dispatcher->dispatch($event, $onCompleteCallback);
user895378
@DanLugg Not in native php as there's not event loop built-in
I know; just being an ass :-)
$trigger->call('event');
15:00
@reikyoushin Trigger-er.
user895378
@Lusitanian That sounds much more like a "broadcast" than a "dispatch" to me ... but it's all semantics really :)
$triggerer->trigger()
@DanLugg =P
@rdlowrey that's actually a much better term
$tigger->trigger($bounceEvent)
Hmm.. Broker is too synonymous with Mediator, eh?
user895378
15:03
And Broker can mean anything ... it's not specific enough. You need to pre- or postfix with another word or no one will know what it means.
Oh, certainly. MediatingFactoryBrokerProxy (the guy you send in place of the guy you would normally send to talk to the guys talking to various factory foremen)
user895378
(I've been guilty of this myself and I've been meaning to fix it in my code)
@rdlowrey $SecuritiesBroker->sell($AAPL);
@Lusitanian Harharhar =) well… is apple actually so bad?^^
Why is it AAPL? It reads like "Ay-pull"...
APPL -- damn trade symbols.
15:07
class Apple extends ShortLivedCompany { public function __construct() { $this->estimatedDeath = new \DateTime('1/1/2020'); } }
user895378
@DanLugg Honestly? I would suspect that it was done on purpose to appear as high as possible on alphabetical lists.
^^^^ there you go.
@Lusitanian you missed the postpone function which extends the date by 10 years every 5 years =D
AAAA, Aardvark Arms and Artillery
@Lusitanian Doesn't matter, public Chairman SteveJobs; is throwing a NullReferenceException now; Apple will get garbage collected when the compiler realizes it's uselessness.
Anywho, since this event mechanism is more just inter-object messaging, maybe I'll use some terminology from that.
@DanLugg lol at MSFT it's read as "misfit"
15:16
@reikyoushin you discovered why Microsoft was abbreviated to MSFT… ;-)
Fuck it; I'm going back to Consumer/Producer/Junction.
I am trying to gather some ideas since a project is soon starting, it basically builds something similar to Stack Overflow, with different target audience and adjusted reputation etc.

Only requirement is that it uses PHP. Everything else is open to discussion. I thought about using MongoDB, jQuery and eventually the JavaScript template engine Moustache.

Aside from that, what would you consider using? This is more like a brainstorming question
I'd use StackOverflow.
what is new and nifty
hehe lol
stackoverflow is written in php?
15:20
@DanLugg I empathize...it seems like all too often I wind up spending way too much time trying to come up with reasonable names
And winding up derping that all up in the end anyway
@cspray Yea, its a PITA. lol, exactly.
Modern refactoring tools; if I want to change my underpants later, I can change them.
Even when I'm creating new characters in video games... kinda sad really.
@DanLugg without taking off your trousers!
^^ Exactly.
@cspray I just opt for default names in video games now; especially ones like FF6 where the character roster is too big to keep track of naming them all something sensible.
@DanLugg Yea, I do that a lot too when a default option is available.
Or I'll just use a variation on the same name
Lanex -> Lanexia -> Lanexian -> Lanexie -> ...
15:28
is there something similar for php like JSF? i read about movico but it seems there are no new commits
@cspray i use the default so its easy to talk with fellow gamers with who is which..
user895378
^^ Glenn (not "Frog")
user895378
Apologies to those who are too young to have played Chrono Trigger (the greatest game of all time).
user895378
Go and procure the relevant SNES rom and get yourself a USB/bluetooth SNES controller and remedy the situation immediately.
Is there a wordpress base theme that is used fr responsive design? :)
user895378
15:38
1 message moved to recycle bin
user895378
(gif moved to avoid annoyance)
@Duikboot want this? not clean, but if you like.. 320press.com/wpbs
@reikyoushin "not clean" is synonymous with WP
@cspray well.. haha. i just can't take off the "disclaimer"
Thanks! :) Look good!
15:40
@reikyoushin No, I understand
I've actually only just recently done anything with WP. Ah, the things we do to survive.
I had heard some of the horror stories but it is something else when you experience them first hand.
yeah, things you do to eat..
Ok, I have to get out of here. My brain is all over the place today and you guys are just a distraction. See ya later
@rdlowrey What!? Chrono Trigger is never an annoyance!
I've been rocking out to the tune of Secret of Mana recently; beat the shit out of FF VI too many times, had to move on.
user895378
@DanLugg Another classic!
And let's not forget EarthBound.
user895378
15:44
I still put the chrono trigger soundtrack in my programming music rotation from time to time.
So do I! There's a number of good covers and orchestrations of all (most) classic Square VG music.
user895378
Hmm I never played EarthBound ...
user895378
I do have the original FF1 mint in box w/ all maps and inserts, though. Old games are something of a fetish property for me.
Its a bit different, but definitely up there on the legendary-RPGs-of-the-90s list.
@rdlowrey like... NES FF1? Like, pre-branding?
user895378
@DanLugg you know it!
15:47
Mother of god.
user895378
That's a game that still holds up as well.
user895378
Very hard, too.
Yes. Yes it does. I honestly don't think I've ever actually beat Chaos. (I can't type for shit today)
user895378
@DanLugg me neither ;)
15:48
Of the pre-7 FF series, the only game that was a hiccup was Mystic Quest.
Legendary RPGs of the 90s
Phantasy Star
Phantasy Star 2
I think those are my best memories :3
^^^ all dat rite der.
Though PS is 1988
So not really an RPG of the 90s
You played it in the 90s. That's what counts.
good night everyone.. (feeling sooo tired) zzzzzZp.
15:50
I loved it in the 90s
It had fake 3D
in 1988
Doze dungeons!
Sweet merciful realism.
[/nostalgia-trip]
That was on the Master System, my first console
user924016
15:54
^ yea
I was a bit disappointed at how easy ^ he ^ was to beat though.
This guy was a bit too easy too
user895378
Anybody else love the old early 90's Lucas Arts games besides me? Sam 'n Max Hit the Road? Full Throttle? X-Wing?
@rdlowrey Sam n' Max!
I loved X-Wing
15:55
Secret of Monkey Island ... nuff' said.
Who remembers
Micro Machines? :D
I remember both the toy and the game.
Dat control system
:(
old people =oP
user895378
7th Guest scared the crap out of me as an eleven-year-old.
15:57
1994 I think
Micro Machines: Turbo Tournament
Which was the 2nd game
Which had those extra control ports on the cartridge
so you could play 4 player
@Suhosin yay micromachines!
user924016
=]
All these great memories in PHP chat today. Anyone remember a game called Eye of the Beholder for Sega CD?
Did anyone else have a 32X?
user924016
@ircmaxell congrats =]
16:07
thanks
/me logs off to go drink! later!
hai @PeeHaa
hai dawg
what is the best php framework to use?
we needz to do teh somethingz about this
@Suhosin Why's knuckles purple there, not red?
user895378
16:22
@JoeWatkins FYI it doesn't happen often but under heavy load I've been able to kill my php process that's using pthreads:
user895378
php: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Aborted
user895378
And also:
user895378
php: tpp.c:63: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)' failed.
Aborted
user895378
Where the php process just dies with those messages.
are you using a debug build?
user895378
16:23
No.
oh… wait… I think he's using assert() and not ZEND_ASSERT()…
@Lusitanian Yes. Can you test and confirm I cannot test atm
@PeeHaa will in a few hours, can't now either. i'll see what's going on with facebook. i say they shouldn't exist anyway tho
Agreed :D
user895378
@bwoebi I don't know anything about the pthreads internals so when things like this happen it's basically me saying "haaaaalp!"
16:26
@rdlowrey that's more Zend internals than pthreads internals…
user895378
@bwoebi Semi-related: sadly, I'm starting to have doubts about whether or not my monadic Future abstraction is going to be fast enough.
yesterday you said it'd be faster…
user895378
Yeah, yesterday it was faster but that's because it was bumping up against the configurable job queue limit and immediately fulfilling ~40% of the dispatches with E_TOO_BUSY :)
user895378
Anyway, direct callbacks are just much faster and I'm starting to see why node.js eschews promises for callbacks.
user895378
Enforcing performance degradation at the base server layer is a mistake ...
Just a quick reminder: SVN sucks fat hairy testicles
3
@cspray so not only does Laravel take PR's Apparently Laravel also does the "thanks for the PR we'll take that without merging" thing.without attributing people but Phil Sturgeon also does so and doesn't think it's a problem.
@rdlowrey I'm also happy to have to deal with well-known patterns then with Promises
"philsturgeon - I've done the same several times on various projects, packages and applications. If somebody sends me a PR and accidentally screws it up due to line-endings being incorrect, auto-trimmed whitespace, too many commits in one, etc, I will often (depending on the size) just copy it over myself.
Assuming there was some evil intend at play here was the cause of several peoples frustration. Because it doesn't matter. At all." http://en.reddit.com/r/PHP/comments/1vvn9p/downsides_of_laravel_serious_ones_this_time/cewkt0m
@Danack Yea, I gotta say the community response to that whole thing kinda irked me a bit.
user895378
16:36
@Danack Yeah I just downvoted that. It's quite simple to checkout the PR branch, modify it yourself, then merge the modified changes. Doing anything else is "evil" and demonstrates a lack of knowledge of the VCS system.
user895378
If you do it correctly the original authorship of the person who submitted the PR is retained in the history and your fixes/changes to their PR show up accordingly.
@rdlowrey If you do it incorrectly it should play git reset --hard roulette on your repo.
@Danack If someone messed up on the commit then he can easily have them fix it. People have had me to that and it's not that difficult. There is no reason to reject the commit then copy/pasta it over.
@rdlowrey Or at the very least say - "I can't pull this as it is, please can you make x,y,z modifications, or if you don't mind, I'll copy+paste it to save me time, is that okay?"
user895378
@Danack That too. Phil's response there is really problematic.
16:38
@crypticツ Yeah - it's either being someone being dumb or evil.
user895378
^^
user895378
You either don't know how to use the VCS at hand or you're being evil. Neither is acceptable.
why-not-both.jpg
Hmm, don't .patch files also provide owner info?
user895378
@bwoebi Well some sort of promise/future is often present as a language-level primitive these days. It's not that it's a non-standard pattern; it's that it adds several function calls and at least one or two object instantiations to smooth out the operation to accomplish the same thing a callback does via $callback($result). In userland PHP this is simply too costly.
16:41
(Quoting someone here…) You know what I hate in PHP?

if(SOMENOTDEFINEDCONSTANT) {
 echo 'ok';
}
I thought they could even be signed...
@phpjerk In which @Philsturgeon admits to being bad at Git, and taking people's code without attribution http://en.reddit.com/r/PHP/comments/1vvn9p/downsides_of_laravel_serious_ones_this_time/cewkt0m
5
I'm thinking about creating a rant entitled "A guide to Idiot detection via .gitignore" for my blog. I might be looking for reviewers later to make it even more entertaining.
@hakre How do you detect idiots via .gitignore? :P Now I'm intrigued.
17:05
When using an array "path" construct, where a string is passed to iteratively dereference (from 'a/b/c' => ['a']['b']['c']), what sort of behavior would you expect from a "wildcard" operator, such as '*'? Consider 'a/b/*/d'.
en.reddit.com/r/PHP/comments/1vvn9p/… - it pays to educate yourself about how things are normally done ... .
@MadaraUchiha For example by listing all those entries you find in .gitignore files that do not belong in there.
> - .DS_Store - The typical Apple Mac OS X fanboy hipster keyboard-hitter actually thinks everybody else is as spaced out as himself and exclusion of proprietary Desktop Services Store files need to be shared world-wide.
with some funny comment afterwards :)
@hakre Like what?
@MadaraUchiha like .DS_Store or Thumbs.db
@hakre I put .idea/ there..
@MadaraUchiha /.idea - This one sounds more like not having an idea of anything. This is a configuration folder that you normally should have excluded in your local setup (again), it's just that not everybody is using Phpstorm or any other product of Jetbrains lineup of IDEs. Even this might be a fine IDE, this does not belong into .gitignore. Or are you really that insane adding it over and over again each time you create a new project? Really? I mean really? As I said: Idiot.
^^ :D
17:10
@hakre How would you do it then?
@MadaraUchiha into your global git config. I should place some link there as well, so it's not only ranting ^^
I'm thinking a union of all results under the wildcard, such that 'a/b' => ['a']['b'], then the '*' would indicate all nodes on the next level are mapped, and the result produced is the union of those nodes each dereferenced to ['d'].
Wait what?
@hakre BTW, that's not "idiot", that's misinformed.
There's a difference.
as I wrote, I might need some correction help.
And "idiot" usually doesn't accept his "misinformed" state and has no desire to learn.
@hakre Gist it :D
17:11
jup, I do laters.
@hakre you mean like git config --global core.excludesfile?
And set up a "global" gitignore?
@MadaraUchiha yes, like:
[core]
	excludesfile = ~/.gitignore
Didn't know that. Neato!
in ~/.gitconfig
Fan-boy-ism is the root of all twattery. We need to elect an iconoclast.
Any clue why users .gitignore *-ck.*?
@BenjaminGruenbaum lol, yea, that's alot of red.
17:47
It's official - Jesus follows internals
meh
@MrDanack you ignored where I said “depending on the size” and are now running around assuming I’m a code thief. Heh. Weird. @phpjerk
When we had to change license we had to contact ALL contributors regardless of the size of their contribution =_=
user924016
=]
user924016
Hey guys

« first day (1195 days earlier)      last day (3979 days later) »