« first day (1109 days earlier)      last day (3853 days later) » 

12:02 AM
typeahead.js, pdo, jquery anyone want to take a look?
 
@PeeHaa care to invite me to RichBitch?
Erm, Uploader.
 
@webarto I can setup an account for you, but it will have to wait, because I kinda lost my password for the thing and resetting it involves manual labor :)
 
Know that feeling.
Today I told my colleagues that I post passwords as private Facebook statuses so I can always access them.
 
@tereško Why it is working on all other browsers?
 
12:10 AM
@webarto haha
 
hehehe fantastic idea :P
 
when you use * as the version number for requiring a package using composer, does that mean the latest/highest version?
 
@crypticツ Yes
 
is there something to use to specify latest stable?
 
I think it does just that by default
 
12:25 AM
@PeeHaa sweet, just what I was looking for. All I saw in the docs was the use of *.
 
Yeah it can be hard to find stuff in the docs :(
night all
 
goodnite @PeeHaa
 
posted on October 28, 2013 by Liip

This weekend I had the opportunity to attend and speak at Symfony Camp UA in Kiev. This event was organized already for the 5th time and draws many developers from the region. While I did spend the entire week before doing an intensive Russian course in Odessa (just for fun, no Liip has no plans to open an office in Russia), I did my talk on REST in English. Next to mine the only other talk in

posted on October 28, 2013 by Paul M. Jones

The blog post Is ORM Abstraction A Pipe Dream? is one of the best technical articles I’ve read in maybe a year. Not because it describes a successful technical solution, but because it describes an attempt and a failure to … Continue reading →

2
 
1:33 AM
@PeeHaa "The requested package peehaa/phpoauthprovider could not be found in any version, there may be a typo in the package name." using "peehaa/phpoauthprovider": "0.0.*",
 
1:58 AM
@PeeHaa ok "peehaa/phpoauthprovider": "dev-master" works, so the readme file is telling the wrong one to use?
 
2:52 AM
@Feeds This is actually a really good read. I'm not sure about the bit at the end about Aura but it really should be read.
I can't believe I'm going to star a feeds post
 
I've got a reply drafted
agreeing with the premises, but not the conclusions
 
@Feeds oooh this is a good read. what @LeviMorrison said XP
 
3:12 AM
@ircmaxell Just ignore the Aura part, is how I wold sum it up :)
Are the other conclusions you disagree with besides Aura?
Seems like I'll just have to wait for your blog post :)
 
3:40 AM
Does the MySQL function NOW() use the server time or the users local time?
 
@user2738336 what do you mean by user's local time?
 
@crypticツ I'm using WAMP server and I made this script that locks user's IP out if they passed the log in attempts. I use NOW() to update the time of the last login, however when I tried it on my computer, I changed my date to 2012, and the now() updated my date to 2012
 
@user2738336 it' uses the server time
 
@crypticツ not sure if this is because i'm on wamp, and it's taking my computer time
 
you server is running on your computer so obviously it will be the server's time
 
3:43 AM
@crypticツ Okay, thank you
 
@cryptic is right
 
Good morning everyone
 
morning
 
morning
 
4:08 AM
morning
 
4:21 AM
moaning
 
@Jack is it still monday in your part of the world?
:P
 
why do you ask?
 
moaning... commonly done on Mondays
 
@ShyamK com-com-COM-COMBO-BREAKER!
 
@ShyamK Moaning should be done everyday!
 
4:24 AM
lol
@Danack :D actually it was already broken by Jack...
 
was not.
 
was too...
 
Started with an m - ended with a ng. Close enough e.g. Mroneng
 
I dont see the starred messages... is it just me or did some one clear it?
 
If you want to see stars, I'll be happy to oblige :)
My car has 100M lines of code in its software? @.@
 
4:44 AM
@Jack 58% of that code is just to run your turn signal. Fact!
 
If it runs in real time: on (x 20) - off (x 20) - there's 40 lines of code.
There's the traction control and fuel injection.
Airbags perhaps.
Just glanced over my own little project ... 2.8k lines heh
Average CC / method = 1.36 ... yay :)
 
Hello guys , need some help in SQL query
 
5:00 AM
go on @chintankhetiya
 
so what help do you need? @chintankhetiya
 
I want all record from both the table
SELCTE * FROM ? ? WHERE r_date="10/29/2013"
either it could be for borrow or rental
I want to all record whose due date is today , I hope you got it
@Shudmeyer
 
is there any unique foreign keys so we can use JOIN? I found out that there are three foreign keys cust_id, cat_id and pro_id.
 
one more sl_id
 
5:05 AM
you can use left join instead
 
only other fields are as below , bor_id = rent_id , bor_type= rent_type & price (rental)
@Shudmeyer
 
SELECT * FROM BORROW as a
JOIN Rent as b
ON a.cust_id = b.cust_id
WHERE r_date = '2013-10-29'
 
ambiguous column name: r_date
because its same in both table
@Shudmeyer
 
SELECT * FROM BORROW as a
JOIN Rent as b
ON a.cust_id = b.cust_id
WHERE a.r_date = '2013-10-29'
or you can used left join. just change JOIN to LEFT JOIN
SELECT * FROM BORROW as a
LEFT JOIN Rent as b
ON a.cust_id = b.cust_id
WHERE (a.r_date = '2013-10-29' OR b.r_date = '2013-10-29')
 
see i have single record which r_date=10/29/2013 in both table but when i fire above query its return me only result from BORROW not from RENT
last one LEFT JOIN
 
user652649
5:29 AM
morning
 
Bonjour!
 
user652649
buongiorno!
 
user652649
@chintankhetiya can't compute, have a look at UNION & FULL OUTER JOIN, might be what you're looking for
 
@Wes can you write for simple two fields , i am not expert in query
 
0
Q: working with MVC model in php

Meenesh JainI am a new developer and i would like to know what MVC exactly is, and why it is used if MVC is that much important then should i know oops before creating MVC.. or MVC can be created without using the concepts of oops like classes and Object What i know till now is create 3 different pages ...

ehhhh ...
 
5:39 AM
@Wes I am reading this , it it okay ?
 
user652649
yes
 
> OO design is not a software architecture pattern like MVC, rather the way in which objects are modeled with classes. - source
dafuq.
 
user652649
isn't that (kind of) correct? :P
 
@Wes I am getting this RIGHT and FULL OUTER JOINs are not currently supported because i am using this in phone gap , and that support HTML 5 database
 
user652649
5:47 AM
except also oop is a pattern
 
user652649
ok it's wrong
 
user652649
how would you answer to that Jack?
 
user652649
@chintankhetiya i'm not sure i understood what you're trying to do
 
user652649
have a look at UNION
 
@Wes I've added a comment to the question :)
I'm afraid that's all I can do for now.
 
user652649
5:52 AM
flavorless answer :P anyway ok ;)
 
Hi guys
I have a php object (I am not sure what is a object called in php.. I am from javascript)
 
It's not an answer, that's why :)
 
I need to sort that array object based on some method
like getValue()
argh
I will try to explain again
I have a php array
I need to sort this php array based on the value
which is coming from getValue method
 
21
Q: Reference: all basic ways to sort arrays and data in PHP

deceze Due to the enormous and ever repeating amount of "How do I sort my unique snowflake of an array?" questions, this is a reference collection of basic sorting methods in PHP. Please close any question which does not markedly differ as a duplicate of this one. How do I sort an array in PHP? How...

 
user652649
6:23 AM
wtf
 
user652649
 
user652649
nullable = NO, Default = NULL
 
user652649
mysql
 
Guess you're going to have to trust mysql :)
 
user652649
yes, also with php it's the same, default value is null
 
6:25 AM
The default will basically be cast to its type when null == no
If the column is int the null will be cast to 0.
 
user652649
hm, annoying
 
I guess it's just telling you there is no default :)
 
user652649
yes maybe
 
user652649
but it's ambiguous
 
seemingly.
 
6:50 AM
m
 
m
 
7:01 AM
Hello
 
olleH
 
i wanted to kno the execution time of calling function in php
 
Have you tried xhprof?
If you enable debug mode in Silex, the kernel adds log entries with the log level of .... INFO ... surprise!
No wait, it does that even if debug mode is switched off ... double surprise.
 
eav
moin moin
 
Sometimes I don't understand why answers like these are accepted ... =(
 
7:07 AM
?
 
he he he he he agree with you @Jack
people wants exact answer not knowledge...
 
Hi guys
 
Hi @AashishJoshi!
 
hella
 
hi
 
7:21 AM

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
 
0
Q: function calling taking to much time

Muneem HabibFollowing is my piece of code which calls the function. // execution time script $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; $ProjectId=getProjectAssetId($name[0],$groupsI...

 
please help
 
@All
can any one help me ?
0
Q: How to connect xmpp in php?

Krishna Shethi am trying to connect server using xmppphp but is not connect is display nothing include 'XMPPHP/XMPP.php'; $conn = new XMPPHP_XMPP('talk.google.com', 5222, 'test@gmail.com', 'test123', 'xmpphp', 'gmail.com', $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO); try { $conn->connect(); ...

can any tell me how to connect server using xmppphp
i use this code but nothing is work
 
I want to develop a classified application with php, there are many great application out there but i want to do a details feature and requirement based study but i am not able to find a right path to start, can you guys help me with that how should i bugine?
begin*
 
7:25 AM
@Kalpit
@Mr_Green
@Mr.Alien
?
 
@AndroidPower Don't randomly ping people, it goes against the chatroom pact.
 
@AndroidPower no idea
 
1 message moved to Trash can
@MuneemHabib you have already posted your question above and asked for help. If nobody wants to help that does not mean you post again. Dumping your questions like that will be considered spamming the room and such messages will be removed.
 
@AndroidPower yeah
whats up?
 
7:38 AM
@crypticツ ok sir i am extremely sorry for that
 
@MuneemHabib never be sorry for your mistakes
be proud that you made that mistake but not others :)
 
good evening everyone
 
@Mr_Green give it time ...
 
@Mr_Green haha......... actually i got stuck in this issue so i post this again
 
@Jack time for what? :)
 
7:42 AM
@mu
@MuneemHabib what's your issue
 
@JorgeGuntanis the standard greeting for this room when you enter is "good morning".
 
@jack
@Jack well it's morning in china!
 
@JorgeGuntanis Do you even know where China is?
 
@Jack I'm in california si at least 5 more hours
 
7:44 AM
@JorgeGuntanis function calling is taking too much time
 
@crypticツ when did users started calling you sir instead of miss :P
 
@Mr.Alien a ping to Mr_Green was probably only set to 'Mr' so you both got pinged.
@Mr.Alien when they are new around here
 
@Jack good one, it's the morning in cuba then
 
@JorgeGuntanis Also, see this rule in the chatroom pact.
It's all there :)
 
@crypticツ full names => here
 
7:46 AM
@Jack I think I did
 
@Mr.Alien ping's also work for partial names
 
user365265
good morning
 
@Jack we need one rule, never talk about the rules...
 
@JorgeGuntanis Wrong movie.
 
@jorge nice
 
7:47 AM
Unless you look like Brad Pitt.
 
@crypticツ Yea, am aware of that, did that twice long way back :)
 
can someone give me an answer for this post please stackoverflow.com/questions/19651925/…
 
@Jack wassup pal
 
@Mr.Alien The sky :)
 
@Mr.Alien wait until international @cryptic day, where everyone in room is invited to mimic me. Last year we had like 8 people with my username, that was a very confusing day in chat =oP
 
7:48 AM
hi @Mr.Alien :)
 
I'm not waking up for some reason ...
 
@JoeWatkins Have you tried rebooting yourself?
 
@ThinkkSo you can build it with mysql/php, you'll have to figure out the schema yourself, based on you requirements. If you're looking at something more "general" you can use something like publish/subscribe
 
@Mr_Green hello green
 
7:50 AM
Good morning everyone.
Good morning @JoeWatkins
Good morning @Jack
Good morning @Mr.Alien
Good morning other people!
 
morning @Duikboot
 
@crypticツ woo, when is that :O I would like to participate too...
 
Hi @JorgeGuntanis, good morning.
 
@Duikboot gudmornin pal
 
7:51 AM
@JorgeGuntanis @JorgeGuntanis Yeah Obviously I just wanted a simple answer like how would i link in the id so that i can add a href tag to link it to, say a photo or comment
 
aaah this ghostery is just fyn, it has blocked all the gravatars, all I can see is names
 
@Mr.Alien March 20th
 
@Ocramius it was recorded
 
Loving PHP through magento :)
 
=O
 
7:52 AM
Dammit, I want to learn a framework but I have to finish my Drupal Project first.
I would like to learn Silex / L4.
 
@Gordon What was the talk about?
 
@crypticツ oh long tym
 
@Duikboot Silex itself isn't that hard, it's basically just the Symfony Http Foundation together with a DiC.
 
I started to mess with silex over the last few days ...
 
7:55 AM
@Gordon Thanks .. ehh, what does "Claim talk" do? :)
 
gives you admin access but since you are not me you wont get it ;)
 
Also, your beard has more grey hairs than mine heh
That's quite unobvious lol
So how to get the audio?
 
@Jack i dont know yet
 
@ThinkkSo hard to answer without looking at some code sorry
 
@Jack that actly suits him
 
7:58 AM
@ThinkkSo Seems like you have a whole bunch of different comments and you want to know what the comment refers to?
@Mr.Alien actly or actually? :)
 
@Jack m nt going to ryt ful wrds
 
@Gordon I'm sure glad it's not just me then :)
 
@Jack yes something like that but not just comments, different things that have to do with giving a user different notifications, i want to know how can i get the id for each different thing the notification refers to
 
@ThinkkSo Taking an abstract view on that, the comment belongs to an object. And images are an object.
So the notification can just reference a comment and you should be able to track down what it is.
 
so everyone, what do you guys use for php and mysql connection pooling?
 
8:03 AM
hmm, does php even support mysql connection pooling?
 
it doesn't
thus the question
 
lol
I suppose persistent connections is a way, but that heavily depends on the situation.
 
yeah but the thing with persistent connections is that since your app "dies" with every "hit"
then you're "fucked"
 
:12635241 for example say i have object type meaning a comment or say something else and object id which would refer to object type's id . would i have to make object id a foreign key or would i manually insert data in object id?
 
@JorgeGuntanis You could take a look at php-fpm.
The persistent connection can survive a request in fcgi mode.
 
8:06 AM
Manually Insert when comment is added by mysqli statement
 
@Jack right, I used fpm but that also depends on how long your "child" is going to be alive
 
@JorgeGuntanis Yeah, but did you have plans of killing the child after 5 requests or something?
@ThinkkSo Yeah, object would be a foreign key in the comment.
 
@Jack yeah I guess you can configure that, but then it's not real connection pooling, it's crazy (IMHO) that we don't have a decent connection pooling option in php
 
@JorgeGuntanis Feel free to make one =D
 
@Jack what do you mean in the comment & if it is a foreign key that would just make it only useful for photos and not other things besides photos like for example liking a status, which in this case object id wouldnt be able to include a status id to refer to
 
8:10 AM
@ThinkkSo The status would also be an object.
 
@Jack I've honestly thought about it, but then, it's super hard you have to basically have to speak the mysql language and translate it. Another option I've been thinking about is some sort of queue/worker, where you send the queries and get the results, so the workers always working
 
So that would make my objects table very big? Yes it would.
 
so what your saying dont make object id foreign because photo is 1 object and status is another
 
@JorgeGuntanis Not sure exactly what comes into play when you develop something like that :)
@ThinkkSo "object" would be the central entity in your model.
And so it would be a foreign key in many of the other tables.
The advantage is that when you delete a photo, you can make sure the comment and notifications disappear too.
 
@Jack same here, that last idea is the best I can do having a developer and sysadmin background, you don't wanna make it too hard for either, but if you can deliver a worker and an abstract class that does everything I think it can be useful, the problem with mysql is the auth latency
 
8:15 AM
@JorgeGuntanis An interesting read here.
 
@Jack that looks interesting I'll take a look at it, thanks
 
/me slaps @Jack round the back of the head for advising someone to use persistent connections
 
Hello
sir
 
/me slaps @JoeWatkins around for still not being awake.
 
I have checked function calling is taking 0.2 sec
 
8:18 AM
@JoeWatkins @Jack yeah, I don't need persistent connections, they have the same issues in my use case
 
am i right?
 
@MuneemHabib Eh, sure, you could be.
 
I'm still not really awake, it's taken me ages for form thoughts ...
 
I thought I was doing some great work this morning at 5am.
 
that didn't even make good sense ...
 
8:20 AM
Then I got into the car and by the time I reached the office I could throw most of it away ... doh!
 
@Jack I Dont Wanna sound stupid but what do you mean it would be a foreign key in many of the other tables?
 
Introducing a caching layer ... not trivial enough to do before coffee :)
@ThinkkSo Photo IS-A object, status IS-A object, comment HAS object ... those are foreign key relationships.
 
@Jack why is it so ?and how to reduce this function calling time?
 
@MuneemHabib I have no idea, I hope you can empathize with that :)
 
every time I read an HHVM article the perception switches from good to bad ...
I mean the perception of the person writing the article ...
 
8:26 AM
I wonder if OPcache has anything to do with that ;-)
 
why does there seem to be no concrete opinion as to whether it is good or bad
it's mentioned in this one today ...
 
@Jack okay that i get although what im trying to do is get the id from the photo a user commented on. and well now i thinkk i should have different columns pointing to different objects for example photo_object points to photocomments_id, status_object point to statuscomment_id but idk what do you thinkk
 
@ThinkkSo You've lost me.
@JoeWatkins It doesn't look too bad, but I've got no idea what kind of code is being run.
Also, no idea how the statistics are gathered and analysed.
 
@Jack yea i know okay let me sum this up i have two different tables photo_comments and status_comments. they both have foreign keys that point to either the photo_id or status_id okay. now to give a user a notification i want to point that notification to either the status_id if its a status or photo_id if its a photo comment or having to do with a photo and how would i go about ?
 
8:32 AM
Google attack maps digitalattackmap.com
 
@ThinkkSo I've already given you an idea of how to do that. Not sure why you want to stick with your current table setup.
 
@Jack because everything is already in place and well i would have to change alot of code
 
gotta break some eggs if you want to make an omelette :)
 
@Jack gotta have the recipe if you dont know how to make an omelette ;)
 
8:35 AM
retard :Ь
 
@Jack yeah they are all suffering from that, with every article I read the opinion becomes more and more confused ...
 
@Jack lol
 
@JoeWatkins Also, it should be quite obvious that HHVM is good at CPU-bound processes.
Not to say it shouldn't be used ... if that's the use-case, it's perfect for that.
But it's not very balanced imho.
 
It's me again.
I'm playing with HipHop Virtual Machine (not HipHop for PHP) and it seems that server makes all the job. I prefer, using it with Apache for now, but Apache can be removed in the future. So, maybe you can also interest with HHVM, as I know you're the man who loves to gain performance :)

Anyway, I would ask you that; can you re-develop your PHP extensions which are APCu, APCu PS, pThreads to be compatibly with HHMV? https://github.com/facebook/hhvm/tree/master/hphp/runtime/ext

I got this in my inbox the other day, it seems like _everyone_ is trying it ... why am I not interes
 
Love the grammar :)
 
8:39 AM
most of the email I get, doesn't make sense, this one is not too bad, there's capital letters and commas and everything :)
 
Yes, that's actually pretty decent, all things considered.
 
@Jack thanks btw
 
Holy moly, a lot of work has gone into that.
 
/ext ?
 
Yeah!
Haha, I like this commit
 
8:43 AM
posted on October 29, 2013 by Liip

With the recent announcement of Facebook that their HHVM is now more and more compatible with most of the popular framework, I was intrigued to finally try it out. We’re currently building a Symfony2 based application, which has pretty high performance requirements (but we can mostly achieve them with varnish), so I went and did some performance tests on that real-life app. The application ba

 
=.="
 
^ that's exactly the reason I can't be dealing with C++ ... in fact you can narrow my dislike of C++ down almost entirely to reinterpret_cast
I've only worked on one OSS project that uses C++, you spend all your time arguing about casting, it's a nightmare ...
seen that ??
quite cool actually ...
I done fcgi, concurrent, date and unicode modules for it, its quite a fun project to work with but I just spend all my time arguing with one guy, a guy who doesn't actually ever program, but is some sort of programming nazi and complains about every fucking thing ... doesn't just change it, but complains and complains ...
put me off working with C++ in OSS ... can't be bothered to argue about such stupid things as how one should cast stuff ...
I do looove the design of the vm tho, mostly because it properly supports concurrency, the vm can spread across all cpus faster and more efficiently than java can ... it's very clever ...
Felipe wrote most of it ... he's very clever ... doesn't talk much tho ...
 
Hats off to Felipe ;-)
 
it's pretty damn cool right !?
he just does that ... in his spare time ...
!!
 
My free time is mostly dominated by my kids lol
Nothing wrong with that, obviously ;-)
 
8:57 AM
yeah I've managed to have one reasonably large project of my own in the last 10 years .... when I stopped to work on pthreads I hadn't had a holiday from work in three, so not much spare time for me either ...
 
The last C++ project I've done was a Napster client lol.
And I probably broke all the laws of the language doing it heh
 

« first day (1109 days earlier)      last day (3853 days later) »