« first day (2115 days earlier)      last day (2816 days later) » 
00:00 - 17:0017:00 - 23:00

12:02 AM
@FlorianMargaine yeah, definitely. compared to the other decisions management is taking in regard to how much time we have left, this almost looks sane
 
12:31 AM
@FlorianMargaine that being said, it is completely impractical to mix along with the current templating system. won't do.
 
 
1 hour later…
1:35 AM
@FélixGagnon-Grenier if you're using react … really build the system from ground up with it … patching things around almost always is a bad idea…
 
does codeigniter have a session package.
 
 
2 hours later…
3:33 AM
morning
 
3:58 AM
Indeeds
 
Indeeds today i am 25 now \o/
8
 
4:23 AM
@AnmolRaghuvanshiVersion2.0 Happy Birthday!
3
 
Wes
happy birthday! :D
so russia did actually hack hillary's emails? ha
 
thanks @littlepootis,@Wes :)
 
Ekn
@Anmol happy birthday!
also, mornings
 
Wes
Caption: Not sure what this cemetery is preparing for, but it ain't good.
 
4:32 AM
looks like a pencil ;p
 
4:43 AM
3 hours ago, by Chrys Ugwu
does codeigniter have a session package.
not aware?
 
i doubt there there is any package for session
 
ight
 
may be you consult others too..
 
4:55 AM
@AnmolRaghuvanshiVersion2.0 happy b'day mate!
also, mornings
 
i will
 
Wes
techblog.badoo.com/blog/2016/03/14/… badoo fully switched to php7
 
5:17 AM
@bwoebi Yep.
 
@Trowski "Yep, changing it" or what does that yep mean?
 
@bwoebi Sorry. Yep, I'm changing it.
 
thanks :-)
 
I was going to reply with "Updated" once I was done. Surprised you're still online.
 
@Trowski No, I just happened to come online right now … was in bed before, going back to sleep soon
 
5:23 AM
@bwoebi I suppose I could remove get from several method names too.
e.g.: getAwaitable(), getObservable, getResult(), etc. -> awaitable(), observable(), result().
 
 
@Trowski yeah… it's maybe not "action" (as in described by a verb) anymore … but I do not feel like the "get" is making the method names more descriptive/understandable/helpful
 
@bwoebi I'd say we should follow PHP's example, but there's no real standard there either. Reflection classes have get prefixes, but iterators don't (except Generator::getReturn()).
 
@Trowski Generator::return() would also be a bit weird then … it'd mean returning the Generator or making it return somehow
 
@bwoebi Generator::throw() has the same problem.
 
5:28 AM
@Trowski why? Here you make the Generator throw?
 
@bwoebi Err... yeah, n/m.
I was thinking returning the generator -> throwing the generator. But since it throws into the generator, the name makes sense.
@bwoebi Updated some().
 
@Trowski thanks, I'll update amphp/dns after some sleep so that you can focus on socket/concurrent
 
Wes
sorry for interrupting, can i ask Trowski as well his opinion about the ui?
http://i.imgur.com/qi5bgWk.png http://i.imgur.com/9ZwIUas.png which logo do you prefer? or anyone else...
Gordon, Saitama, Anmol, Ekn ^
 
5:45 AM
the latter
 
Wes
i should be used by now to people disagreeing with me but i'm not :B i prefer the feather/eye way more
 
first 1 is good.
 
Wes
@kelunik twitter poll?
 
13 hours ago, by PeeHaa
@Wes the eye on the right looks somewhat like a pussy
 
Wes
i think it's just peehaa's pervert mind percieving genitals everywhere
2
 
5:53 AM
:P
!!rfcs
 
Wes
but i don't mind changing that
interested on your opinion about the logo
 
@⁠PeeHaa error has been logged. Fix it fix it fix it fix it.
 
well... IMO the eye-logo is ok... but when I stare at it for a while.. it does seem like....
 
Wes
it's peehaa's fault. now you will never be able to unsee it
 
anyways, I'd probably be the last person to ask tho,,,
@Wes heh
!!git blame @PeeHaa
 
6:08 AM
lol who pinned that
 
any javascript library which shows updated data in PHP/CodeIgniter with out manual refresh ?
 
i like to display latest data without page refresh
 
um, okay
 
it's called ajax.
 
6:18 AM
No, they're called reactive real-time object-bound components now.
 
maybe Servlet XD
 
@satheesh It's easy. You'll need to choose between two module loaders. Webpack and Browserify. If you choose webpack, you'll need to install that globall, and locally. Also, you'll need babel for ES6 support. You'll also need to install babel-loader for webpack, add that to webpack.config.js. You'll also need to npm i --save babel-polyfill and every library you might need. After that, you can use the new ES6 imports. You'll need to do import $ from jQuery or something like that and
then you can use the $.ajax to send a request to your php/ci app. Writing to DOM directly is considered bad practice now, so you can use something like React with JSX (you'll need to install both; don't forget to setup a JSX transformation plugin for webpack). After doing all this shit, write your 2-line code that polls the server for information. And React automagically updates shit for you. You can also use the brand new functional reactive programming paradigm to transform your data!
After you write it, just run webpack, and it will build your project in a few centuries!
Have fun.
Also, you can use promises so you don't fall into the "callback hell" in your 2-line code. Newer browsers don't support it, so use a polyfill like Bluebird.
 
did i miss anything lol
 
I forgot to mention that he'll need node and npm :V
 
@littlepootis nice.
thorough and everything
also why is everyone talking about react suddenly
 
6:29 AM
It's the cool new hippie framework of this year.
 
ok thanks @littlepootis let me check
 
Ekn
7 mins ago, by little pootis
Have fun.
 
o/
 
anyone tried Ratchet websocket before?
guess its me alone.
 
6:37 AM
@ChrysUgwu nah. it's just nobody will answer "yeah me" and get flooded under questions about how to make it work
 
6:52 AM
mornings
 
o/
 
7:12 AM
which javascript fronend i should learn Angular or Backbone or Meteor, since i am php developer..
which is best and easy learn ..
 
@satheesh I find knockout.js pretty straight forward
 
jquery??
 
i like to go with MVC ..
 
7:20 AM
MVC?
 
!!? MVC
 
Search for "MVC" (https://www.google.com/search?q=MVC&lr=lang_en)
• Model-view-controller-model - Wikipedia - Model-view-controller (of MVC) is een ontwerppatroon ("design pattern") dat het ontwerp van comple… (https://nl.wikipedia.org/wiki/Model-view-controller-model)
• Model–view–controller - Wikipedia, the free encyc… - Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces o… (https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller)
• ASP.NET MVC | The ASP.NET Site - Download ASP.NET MVC and learn how to build web apps using the mo
 
1 hour ago, by satheesh
any javascript library which shows updated data in PHP/CodeIgniter with out manual refresh ?
this would do as "context"
@satheesh, why do you need to use MVC, since you have been just fine without it all this time?
 
i am using Codigniter with MVC only @tereško
 
codeigniter has nothing to so with MVC
 
7:33 AM
in php all web framework based on MVC (zend,symphony) so thought of using MVC for front end as well, Like Angular or other popular frontend javascript library..
 
no, they are not
 
in php all web framework based on MVC (zend,symphony) so thought of using MVC for front end as well, Like Angular or other popular frontend javascript library..
not getting you
 
... then again, what the hell I know about any of it
 
Hiii
i installed SSL certificate on AWS load balancer.
It installed successfully. But still i can not see https in websites URL.
any one have idea about it
?
 
7:58 AM
!!mdn forEach
 
not you...
 
@Jeeves are you dead?
 
@AnmolRaghuvanshiVersion2.0 Nope. Not that I know of...
 
8:02 AM
@Jeeves Y U N O FREAKIN REPLY?
 
posted on July 31, 2016

New Cyanide and Happiness Comic

2
 
9:00 AM
 
Wes
@Ekn is it normal that i find that creepy. and that music
 
i think the music is nice. but the objects are creepy :/
 
Ekn
I didn't hear the music, but there are some nicely done 3D and 4D fractal animations
But it might be creepy, so I guess normal Wes :p
 
Wes
shivers
 
10:19 AM
@Ekn nice
 
 
1 hour later…
11:35 AM
The last message was posted 400 years ago.
 
Wes
damnit i've traveled in time again, and this time without beer
 
re
In PHP 5.3 I get this error: PHP Fatal error: Cannot access self:: when no class scope is active
It's on a static method call. 5.4+ works fine.
My PHP 5.3 is a bit rusty, what can I use instead of self::to statically call another class method statically?
 
11:53 AM
$query = "//span[@class='text']"; gets the contents of the first span with the class text
what if i wanted to get the contents of only the third span with the class text
would i need to do something like [3]
 
Yes, that's the short notation for pos() = 3 IIRC
(//span[@class='text'])[3]
 
It doesnt work can you help
  $doc = new DOMDocument;

$doc->preserveWhiteSpace = false;

// Most HTML Developers are chimps and produce invalid markup...
$doc->strictErrorChecking = false;
$doc->recover = true;

$doc->loadHTMLFile("https://example.com);

$xpath = new DOMXPath($doc);

$query = "//span[@class='text']";
$query2 = "(//span[@class='text'])[3]";

$entries = $xpath->query($query);
$entries2 = $xpath->query($query2);

$price = $entries->item(0)->textContent;
$price2 = $entries2->item(0)->textContent;

echo'<div>1:'.$price.'</div>';
Only $price is displayed not $price2
 
@bobjomes Where's the link to the real page you're running that xquery on?
 
I don't think it matters because it works for $price but not $price2
Am I doing $query2 correctly
 
@bobjomes So you believe your xquery is correct, but you don't think the DOM that produces the problem matters in trying to debug the issue?
k
 
12:08 PM
but $price works lol
only $price2 desnt
 
@bobjomes So, once again, you think that your xquery is correct, and this logically led you to the conclusion that the problem cannot possibly exist in the very DOM on which the correct Xquery does not produce the desired result?
k
FWIW, I cannot reproduce your problem... phplab.io/lab/8XqHF so clearly the issue has something to do the DOM you refuse to provide
 
o/
 
12:32 PM
!!rfcs
@Jeeves are you alive?
 
@⁠PeeHaa error has been logged. Fix it fix it fix it fix it.
 
!!wotd
 
@Jeeves you drunked elephant
 
@AnmolRaghuvanshiVersion2.0 Screw you human!
 
12:36 PM
polyphonic: consisting of many voices or sounds.
 
What's with that delay
 
@Fabor SO chat's fuckoff mechanism
 
Wes
7 hours ago, by Wes
sorry for interrupting, can i ask Trowski as well his opinion about the ui?
http://i.imgur.com/qi5bgWk.png http://i.imgur.com/9ZwIUas.png which logo do you prefer? or anyone else...
 
morgnins
 
Mornhaa
 
Wes
12:37 PM
help ppl
 
Mornes
 
@Wes the latter...
 
Wes
uaaaaaaaaaaaassss
 
12:38 PM
:P
Gratz anmol
 
Wes
"every computer person is doomed to discuss/ask feedback/forced to work with only with people that will not agree with them"
this is what i would write on page 1 of any lecture about IT for newbies
 
Wes
@PeeHaa i hate you
that to me is horrible to unbareable to watch levels
 
Anonymous
@AnmolRaghuvanshiVersion2.0 happy birthday dude
 
Thanks @JayIsTooCommon
 
12:54 PM
@AnmolRaghuvanshiVersion2.0 That's factually incorrect.
 
Wes
@JayIsTooCommon i.imgur.com/qi5bgWk.png i.imgur.com/9ZwIUas.png which logo do you prefer?
too small to look good... imo
 
@AnmolRaghuvanshiVersion2.0 Jack Dorsey came up with the idea for Twitter long before 2004. His first stab at it was just not successful because it wasn't the right time. He was originally trying to do real time broadcast from his Blackberry (you know back when Blackberry was a thing), but no one was interested in the idea back then and it never took. But it had no roots in TEXTMob like that document claims.
 
Anonymous
@Wes I prefer the elephant to be honest, generally looks awesome though :)
 
Wes
:'(
 
Anonymous
Do you want a hug? :(
 
Wes
12:58 PM
s/hug/gun
 
The FG color in the second one doesn't look good.
 
Wes
s/gun/rope more dramatic
 
Anonymous
lol
 
Wes
regardless of the color @littlepootis which one do you prefer
 
no, lol, the former
 
1:00 PM
@Sherif hmm i didn't have idea about that i just came with that article thanks for putting more light on it..
 
@AnmolRaghuvanshiVersion2.0 I didn't read the whole thing, but just by skimming through it it seems very dubious. I also notice there's no author listed or references used so...
 
Wes
@kelunik make a poll please
(specify regardless of the cyan's saturation)
 
@Wes Could you make two similar images with the eye on the right removed?
 
Wes
wait
 
this committee just hate google..
 
Anonymous
@PeeHaa ikr, man haz balls
 
!!rfcs
odd
 
@Sara have any horrible people suggested allowing no arguments when using the pipe-operator on single argument functions?
    <?= $str |> urlencode |> html; ?>
 
!!rfcs
 
1:17 PM
btw, someone needs to write an insightful article on how all the new contributors who are writing RFCs are getting massively shot down.
 
was anyone able to understand this last Midori's rfc? I'm not sure what is the problem and how does it solve it? is it like singleton objects in scala?
 
@nikita2206 I'm about to reply.
It's a thing a lot of people do......they don't like procedural code because it's "all yucky" and so they bury the procedural code in a place where they can't see it. (in this case, smeared out over an 'object instantiation block') And then they feel happier about their code, as it's not as yucky......
Except the procedural stuff is still there, but is harder to understand.
 
Wes
 
1:33 PM
It might be that what she means by that is a dispatcher/router for cli commands, which is useful but might be better off in userland
 
nope. imo.
It's about having PHP start off in procedural code.
BECAUSE OO IS THE ONE TRUE PROGRAMMING PARADIGM.
 
but books taught me it
 
@Wes Should I start it now?
 
Wes
yes please
 
Hm, seems like I can't post polls from TweetDeck, will do it from my account.
^ Other text suggestions? @Wes
 
1:47 PM
@Danack Yeah … so many people trying to avoid the code smells by obfuscating them and saying it'd be acceptable code :-(
 
It's a bit like children who hide their brocolli under their knife and fork, so they don't have to eat it...
 
Wes
looks fine @kelunik i hope
 
First.
Second is more like mascot.
 
Wes
@Fabor you mean inverted
 
1:54 PM
Yeah
 
Wes
vote on twitter please though
 
Elephpant looks pretty angry
 
Anonymous
@Wes weirdly I now prefer the latter :p Removing the larger logo makes it look less repetitive I guess
 
How do you see results again?
 
Wes
of twitter polls?
 
2:00 PM
ja
 
Wes
you can't without voting first, i think
 
I did vote
 
Wes
and it doesn't show you the results? lol
14%logo-2016-07-31-1.png
86%logo-2016-07-31-2.png
though
also rt if you can. thanks :P
 
I already did
 
Result did show after I voted.
 
Wes
2:02 PM
only 24 hours? @kelunik
 
odd
 
You can see trends in ~10 votes. 24 hours seems fine.
 
Hmmm looks like my vote wasn't registered for some reason
 
Wes
i've aligned quick links though @PeeHaa :B
 
yeah noticed. better imo
 
2:16 PM
@Wes Damnit, should I restart it?
I think it's fine to get a trend as it currently looks like.
 
Wes
if we get a draw?
 
Then restart. :P
 
the standalone eye does look like a feather though. or... something else.
 
@Wes I like the eye, but it's not obvious it's an eye. I guess you've already tried this, what about showing both eyes?
 
Wes
@FélixGagnon-Grenier yeah a feather or a leaf. i like the fact that has several interpretations.
 
2:22 PM
@Wes spot on :)
 
2:33 PM
anyone using native docker?
 
Evenings
 
@ceed I only use immigrant docker. They work for cheaper.
3
 
just wondering, because sometimes it takes ages to load a page, couldn't figure out why this happens
has nothing to do with the executed code tho
 
@Danack hehehe
 
Tokyo Ghoul:re chapter 87 just came out
\o/
 
2:41 PM
woohoo
 
You read Tokyo ghoul mangas?
 
no, i did watch the series
 
Yep... If you wanna know more about what happened to Kaneki after that... Read Tokyo Ghoul re mangas
I betcha it's quite interesting
 
no time for that, thought they continued the show.. so i can wach while coding
 
:P nope... I'm waiting for Tokyo ghoul season 3 and Boku no hero academia season 2, etc
 
D�y tw� �f tryin� to fix br�ken inp�t \o/
 
heh
marvelous character encoding
 
"marvelous" indeed
 
3:08 PM
guys if someone embeds a fiddle into SO, is there a way to get the url of the fiddle so i can share and modify it?
 
> yeah, two people died, why would I have lifeguards for?
 
oh ugh.... shit...
 
> PHP version: 4.2.3
is that spam
 
Looks like some test
 
3:37 PM
Hi all, I have upgraded my version of PHP on ubuntu to 5.6 but when I check with phpinfo() apache is still using my older version of 5.5
Any ideas how I can fix that?
 
How did you upgrade?
 
I added the ppa for ppa:ondrej/php

Then did `sudo apt-get install php5.6`
 
No idea what that external stuff does
Are you running modphp?
 
I am running apache2, lemme check what modules
I can't find anything about modphp in apache.conf so probably not running it
 
Did you search on "modphp" because that's not exactly how it's called afaik
BTW was apache restarted after the install?
 
3:47 PM
Yea I stopped and started it
 
Find out how php is running. fpm / mod_php / whatever first
 
Anonymous
That page is loading for you? ^
 
After a while it is with error messages
 
Anonymous
Ah
 
4:02 PM
hello all
i need help in WP
can you guys help me ?
 
@PriteshMahajan What's the problem?
@JayIsTooCommon It makes a dramatic sense :D :D. Fetal error on official php site.
 
4:18 PM
@PeeHaa nice exception.
 
@kaleeway simply installing new PHP version will not cause a system-wide upgrade
what you effectively have there now are two versions of php installed on the same system
whith php5.5 still being tied to apache
 
Wes
> Fetal error
 
@tereško ok I tried switching to php5.6 using a2enmod
Now I get a php error about "mbstring" :/
'mbstring' extension is not loaded.
 
Why it doesn't return true?
 
4:34 PM
@VeeeneX try var_dump 3v4l.org/AovKl
 
@VeeeneX because it should be === instead of !== ?
 
I've never really used print_r - I guess that's for a reason: 3v4l.org/47VLE
3
 
Wes
print_unr()
 
@Danack yeah, var_dump() all the things
print_r is structure + string cast on scalars
 
4:51 PM
49
Q: It’s time to retire the term “rep-whore”

JaydlesGoing forward, “rep-whore” (and its derivatives) will be treated like any other term that’s inconsistent with the community’s “be nice” policy: it will be removed. It’s totally okay if you’ve used it in the past. Nobody’s judging the many users who’ve used it. And users will NOT start being s...

 
Yes! By replacing it with filthy repwhore
 
you mean we'll have to call barmar by their account name?
(sorry...)
 
@tereško did it require to remove previous version by command like yum remove php-common and then install new one?
 
re
 
4:55 PM
@AnmolRaghuvanshiVersion2.0 he's using ubuntu and not centos/fedora ... so, no "yum"
 
just an example
 
also, it depends on the automation
 
Hey guys, has anyone used MySQL on CentOS 7?
 
is the php5.6 package made in such a way to detect apache and add mod_php entries?
 
4:57 PM
I'm currently using CentOS 7 on a server with MySQL, PHP, Apache.
Unfortunately, I cannot access MySQL.
 
i am on centos 7
 
Man.
When I do service mysqld start
 
Hi guys is there a way toreplace file in an executable ?
 
It says no such service.
But I can use mysql command and use mysql commandline
 
@HassanAlthaf use mariaDB
 
My database is MySQL, will it still work?
 
yes it is the same
 
and what command you issue
 
mysql
Can you connect to mariaDB with mysql driver in PDO?
 
do you know guys a way to replace files in an executable ?
 
00:00 - 17:0017:00 - 23:00

« first day (2115 days earlier)      last day (2816 days later) »