« first day (2072 days earlier)      last day (2892 days later) » 
01:00 - 14:0014:00 - 00:00

1:16 AM
@NikiC I haven't seen it quite like that, usually more like function_call(args + ...)
 
1:40 AM
!!rebecca
 
@AnmolRaghuvanshiVersion2.0 Today is Saturday. And Sunday comes afterwards
 
1:59 AM
Good morning
 
 
2 hours later…
Wes
3:31 AM
mornings
 
Wes
hey anmol
 
enjoyed bday night??
 
Wes
yes, i slept :B
 
Wes
3:50 AM
lol
 
4:09 AM
@Jeeves learn yous timezones you unmotivated bot
!!should I go to sleep or get another black velvet?
 
Wes
i want a black velvet too
i have no dark beer
i think you killed him felix
 
4:24 AM
Moin
 
I don't have any dark beer either. But the server on the other side of the bar have plenty of it
That being said, I think I should change my account name for botkiller
> the server on the other side of the bar
 
Wes
@FélixGagnon-Grenier it's 6:30 am here. bars are closed, and far, they require walking
 
Lol.
Right. That huge joint on your desk is waaayyy closer
 
Wes
my desk is on fire, call 911
nope, sadly i don't do drugs often these days :B
 
@Wes lol!
 
Wes
4:39 AM
mostly because i dont have a guy. which could be a good thing
last one disappeared, he's probably in jail
ahha
 
This is the json response I get from server
{"status":200,"msg":"OK","result":{"id":"123","folderid":"456"}}
I cant
$result = json_decode($response);
echo $result['status'];
everything else can be easily echo-ed except status.
Any help?
 
5:05 AM
$result = json_decode($response, true);
echo $result["status"];
It's always helpful to var_dump the thing you are playing with
In your actual code, $result was containing an object, so to get teh status in your original code, the echo would be: echo $result->status;
 
posted on June 18, 2016

New Cyanide and Happiness Comic

 
@Wes already does ...
 
Wes
not for final internal classes maybe?
also, morning
 
Wes
1 sec checking because i don't even remember what i was doing
something weird happens...
what the actual f....
@JoeWatkins found it, still there?
with these 3 lines only
class Foo{}
uopz_extend(Closure::CLASS, Foo::CLASS);
spl_autoload_register(function($a){});
Catchable fatal error: Object of class Closure could not be converted to string
Fatal error: Uncaught RuntimeException: the class provided (Closure) already extends Foo
randomly one or the other
no opcache
how is it possible that at every refresh i get a different result?
 
5:34 AM
@wes random ping to tell you to not sleep before 30 minutes from now
 
Wes
ok :|
 
Wes
why?
people are getting weirder with me lately
 
you want the honest response or the one that still gets you edgy?
 
Wes
i'm always edgy..
 
Wes
.......... this is making me edgy indeed
 
in something like 4 minutes this will be over
 
Wes
4 full minutes???
 
yeh, full ones
 
Wes
@FélixGagnon-Grenier i so want punch you in your faz
:D
wtf are you doing?
i would
4 minutes passed
 
Wes
 
hue hue hue ^^
in case you wondered....
yeah...
all of this for nothing-ish
 
Wes
now i want to kick you in your teeth
 
Wes
with my heel
while pretending to be bruce lee
 
5:52 AM
I already have two of those broken from playing hockey so...
let's have a dwtfywt license with my teeth
 
Wes
damn you are so canadian
 
@Wes trolling you tonight was a pleasure
 
user image
3
 
I really enjoyed it
 
Wes
glad for you. but you didn't
 
5:54 AM
hehe
 
:D
 
Night o/
 
Wes
6:13 AM
@FélixGagnon-Grenier eat a bowl of you know what
 
6:41 AM
@Wes voodoo
 
Wes
yes but non-practicing
 
7:04 AM
@NikiC I'm packaging php 7.1 and extension for hombrew, can you tag php-ast please so I can depend on specific version rather then hash?
 
The rain finally stopped 😃 https://t.co/YTbYgjecsJ
when it doesn't rain, doing the taxi thing isn't so bad ...
 
Wes
:D
 
Good morning all
 
> indeed
 
I have i3 4gb ram with windows laptop should i use virtualbox as fabor suggested yesterday or upgrade my pc ?
 
7:15 AM
model number of cpu ?
 
Where to see ?
i have laptop
 
turn it upside down, gimme model number from label on bottom
 
Wes
TIL ASCII is pronounced ASKI, not ASHEE
 
it is
 
Wes
i've been living a lie
 
7:18 AM
not that it's pronounced that often, I just say the letters ... so there is no confusion ...
 
inorite
 
@JoeWatkins Its not there(I mean stickers are teared apart) any other way to get it
 
I dunno, don't use windows ... device manager might tell you, the about thing might tell you ...
 
Dell vostro n1550 does it help ??
@JoeWatkins CGZRQR1 is this is modal number you are asking ?
 
it doesn't support any more ram than you already have, and the cpu is only dual core + ht ... so virtualbox is not a very good idea imo ...
 
7:24 AM
No no is core i3
 
also, its slow ...
yeah, I can see that ...
 
written here on deck
 
it's still only dual core ...
 
HAhaha okk so suggest me a good machine then
 
I'm not the person to ask about that ...
 
7:26 AM
Okk thanks.... can you tell configurations ??
 
teresko or samayo are good people to ask about laptops ...
but don't ping them ... wait to bump into them ...
 
Yaa i know the rules... Oldie here :)
 
why do you use a laptop ?
they suck, you always end up throwing the whole thing in the bin ...
 
I used to watch movies on friend's laptop...
One day i decided to bought mine(Seriously to watch movies).. So here we are... :D
 
throw it in the bin, buy a proper computer ...
or give it to a charity if it still works ...
 
Wes
7:30 AM
my biggest problem with laptop is that they don't have a proper keyboard
 
laptops are not good devices for working in programming imo ...
 
Wes
not even 19'' ones, which i owned
 
and then it's not really a laptop anymore anyway ... it's a table top ...
 
Yes i will buy but dont have funds right now... :)
 
they are designed to be slow ... it's the opposite of what you actually need as a programmer ... I never understand people who work on laptops ... unless you can afford really high end models, which are beautiful to look at, but really silly money ...
and you still end up throwing it in the bin in one piece ...
@Wes I use a laptop keyboard on my desktop ...
 
7:34 AM
Okk i will assemble a proper PC it surely but someone give me configurations i should use... :)
 
I'm on the third one, can't find anything else I'm comfortable with ... I super hate mice that move around, I don't have time or the will power to chase a piece of plastic around my desk ...
@PraveenKumar that's dictated by budget
 
Wes
it's the layout @JoeWatkins and the feeling under the buttons. i just can't use laptops
especially now that i'm used to mechanical keyboards...
it's just better...
 
@Wes oh there's quite a lot of travel on this, not mechanical, but you do get proper feedback from it ... mostly, I just like the touchpad ...
 
But you guys can give me minimum configurations atleast
 
Wes
the only thing i regret of my keyboard is the lack of blank programmable keys
 
7:37 AM
touchpad is good
 
if you intend to run virtual machines, you want 4 cores + ht (8 threads), so that you can give at least one VM 4 CPU's, you need 8+ GB of memory, preferably 16+, DDR3/4 ... you probably want a small SSD for the OS, and a large clockwork disk for storage ...
 
I didn't even heard of those things... But thanks seriously... :)
what OS you use ?
 
ubuntu
anything but windows is a good choice
 
I will try to get a decent PC with configurations.......
I never worked on any of the OS other then windows so how difficult will it be for me to work in those ubuntu or linux ?
 
what OS do you deploy too ?
 
Wes
7:44 AM
i need to get a new computer too :B i want to play doom
has anyone tried doom?
 
I can't really answer that question ... how long did it take you to figure out android or ios, or blackberry or whatever ... how long does it take to walk a mile ? ;)
@Wes I played games once ...
 
Wes
now you program them?
 
I know but i heard other OS mostly runs with commands... is it true ?
 
you should be comfortable with commands if you are a programmer ...
it's partly true ... you can mostly administer a modern nix using the graphical interface ... but you should still be comfortable with the command line as a programmer whatever ...
@Wes no, then I got pubes ...
 
Wes
ahahaha
 
7:48 AM
even in my mint I always cd ~/abc/ && nano foo, rather than opening up the file manager (nemo?)
 
@JoeWatkins thanks for this talk... It really means a lot for me... :)
 
the shell is much nicer than the shell in windows ... the shell in windows is the worst software I have ever used ...
@Saitama amateur ... /usr/src is where most people should put code, /src if you are really hardcore, /usr/local/src if you are a hippy ...
 
I followed you on twitter congrats on one more follwer :)
 
Morning
 
indeed
 
7:53 AM
Turkey is fucked up yesterday
In Euro 2016
😡
 
football ...
 
@JoeWatkins :P
 
not sure what the appeal is ... is it the sweaty men in shorts being physical with each other that you enjoy ? or is it the thought that some of them earn ten times your yearly income every week ?
 
Btw I didn't watch the match
 
FOOTBALL FTW!
 
Wes
7:57 AM
@JoeWatkins will you watch the Baku GP this sunday? will be quite interesting with cars doing 220mph in a city circuit. make a 1cm mistake -> dead
 
@Wes don't watch F1, I have done in the past ... but it was boring for so long I switched off ...
 
I fall asleep when i watch f1
 
not entertaining to watch the same people win races every week ...
 
Bzzz bzzz bzzz
 
Wes
this year is good. not great good though
 
7:58 AM
What about cricket ?
We indians love cricket
 
nope ... I watch boxing sometimes ... that is all ...
 
i also watch ufc in my free time
 
Is it the sweaty men beat each other
I don't like boxing
 
Wes
@AdilIlhan the sad thing is that all motorsport is even worse than that. they managed to make shit even the btcc
which was the lunatics' motorsport
 
@AdilIlhan it's the skill involved, and partly the characters ...
 
8:01 AM
@AdilIlhan Also not sweaty use bloody :P
 
there's not so much skill involved in ufc ...
 
As a result, it's not a sport
 
it's too easy to do the kind of damage that finishes the fight ...
 
It's fight
 
Wes
@JoeWatkins as a kid did you watch something? wrc was great in the '90s...
 
8:04 AM
It's fight man to man...
 
Wes
actually, everything was great-er in the '90s...
stupid 21st century, i hate you
 
@Wes yeah, boxing ... I done it too ...
 
Wes
that's something of you i wouldn't have expected :D lemme guess, were you joe "steamroller" watkins :D
 
in the 90's, some of our boxers were actual television personalities, one of them in particular was on absolutely everything, Frank Bruno ... he released songs in the charts and everything ...
don't remember much from being a kid ... remember the night his career ended ...
 
Wes
could never like boxing... except rocky-boxing :P never heard of the guy. i only know ali and foreman
 
8:10 AM
Dont tell us you cried that night :D
 
they were before my time really ... you'll have heard of mike tyson, evander hollyfield they were more my kind of era ...
 
Wes
yeah, forgot of mike tyson
but the other guy, never heard of him
 
you have, he's the guy he bit the ear off of ...
 
Wes
but must be noted that i know mike tyson only because he ate <ins>evander hollyfield</ins>
ahah
crazy shit..
 
I've still watched every Ali fight ...
Ernie Terrell ... that's one of the best old timey fights that exist ...
that's the guy who refused to call him Mohammed Ali ... and the origin of the phrase "what's my name" ...
 
8:13 AM
Ernie Terrell vs ALi ??
 
s/what's/say/
yeah
he doesn't knock him out, he dances around, and beats the crap out of him for an hour ... it shouldn't really have been allowed to finish, wouldn't be allowed now ...
he said he was going to do that before he done it ... he meant to do it ... quite mean really, Tyson has a reputation for punches that knock you out in the first round, but to punish someone for a full hour is something quite different ... cruel ...
 
9:03 AM
@JoeWatkins are there any chances to have alpha2 before it scheduled with this fix github.com/php/php-src/commit/… applied?
without it xdebug won't compiled which somehow limited widespread alpha adoption
currently I faced with this problem while packaging php71 family formulae for homebrew
 
mornin
 
morn
 
9:20 AM
hi guys!
 
Morning
 
9:38 AM
Moin
 
Morns
 
'nin
 
It makes totally sense to have both a bare and a normal repo right when creating a repo on a git platform?
 
@PeeHaa Why would you need the normal repo?
 
guys! look at this 3v4l.org/sg6Pi what's the token type of the return type of the function?
 
9:51 AM
@MadaraUchiha Editing through web gui
 
wth happened with php 7 and memcache?
wrong place
 
10:13 AM
 
lol
 
guys, please?
@PeeHaa?
 
I looked there before asking
 
Wes
morning 2
 
10:22 AM
'nin 2
 
hey wes
 
Wes
i need coffee. triple. with dynamite in it
 
@Victor What do you actually need insert link to xy problem here
 
1
Q: Allow lack of space after function parenthesis if there is a return type hint in PHP (CodeSniffer)

VictorI am using the MediaWiki coding standard for php_codesniffer. Thing is, that is created for PHP version <7.0.0. Let's take the following not-formatted code snippet: function test(){} The sniffer will report an error, that is needs space between ) and { (the rule is Generic.Functions.OpeningFun...

this is what I need. I am not sure what token to look for there
 
10:30 AM
Hey @PeeHaa
why doesnt keyboards sleep?
...
because they have 2 shifts...
 
:P
 
:P
 
What does a computer programmer eat for lunch?
An apple!
 
10:34 AM
heh
 
Anonymous
10:49 AM
Is there anyone in here good with material design?
 
Anonymous
11:04 AM
try again :]
 
hi
i am a php developer.. my frnds says php has no scope so change your domain
is that possible to change the domain to .net
i have one yr experience in php
 
your frnds are trolls 1st class
 
what exactly you expect to gain by changing domain name?
it's not like you will own it anyway
 
domain not only an internet host name is also a kingdom. an ecosystem.
 
it has less companies and less pay
 
11:12 AM
wat
what the fuck are you talking about?!
 
too much fuck
 
most of the MNC's dont use php
 
Wes
i think your friend suggested you to use dot net, which is microsoft's programming platform, not to buy a .net domain
 
you need more experience with main site.
 
this is wat my frnd says
 
11:12 AM
Using CASE is the best way for doing this?
 
Anonymous
Ah I see google translate fucking up again.
 
@KalaiM yes, you should definitely use java instead .. good luck, bye
 
Is there any way to name cli flags like git -a vs git --all? Short/Long flag perhaps?
 
Anonymous
Why not create aliases instead?
 
?
 
11:18 AM
I dont think there is a specific term for that, @PeeHaa
 
:( tnx
I'll just go for long/short and see a) whether I actually need the distinction and/or b) whether what I am trying to model is even needed at all on the next refactor round
 
11:37 AM
@PeeHaa I think it's options vs flags maybe? (which doesn't really communicate what they are...)
 
Also git -a and git --all are the same thing
 
/3rd time the charm.
 
:P
Was hoping nobody noticed :)
 
11:54 AM
 
Wes
nothing awesome in some text overflowing a box
 
:P
 
Wes
text-overflow:ellipsis;
CSS
IS
SHI…
 
i like css actually, but sometimes I cannot really figure out why something's not working
 
TL;DR it's an utter mess like the rest of the nix ecosystem...
 
Wes
11:58 AM
@Saitama when that happens, ask @PeeHaa
 
will do :P
 
@Wes lol
 
I am trying to set up a PHP for to output <script type="text/javascript" src="...js"></script> but I'm trying to set it so it can be called from a website on a different domain, can anyone help me out here? I guess I have to use jsonp but I can't seem to wrap my head around it
 
I think you need to call it with AJAX
 
Yeah I guess I'm having a hard time allowing the PHP page to be called via an external link. If it's on the same website it works fine
 
12:08 PM
!!? cors
damnit 2
@Alesana google cors
 
I read a little bit about it, is it possible to use that to allow ANY site to make the Ajax request or just specific sites?
 
You can use a wildcard
 
awesome I appreciate it
Wow that was really simple hahaha
 
@PeeHaa you really aren't having luck with that Jeeves stuff, huh?
 
Nope :P
 
Anonymous
12:21 PM
Afternin
 
Wes
Beforning \o
 
@Wes you sleep sometimes i always noticed you being awake all the time??
 
Wes
i'm not sleeping much lately
 
how much BTW
 
Wes
few hours, i usually sleep max 5-6 hours
 
12:30 PM
@Wes how much exercise are you getting ?
 
Wes
zero?
btw, need to go jog again, weather seems finally stable
 
Wes
post on reddit? @Danack
 
done already.
 
Raj
1:06 PM
hi guys .....can anyone know why ajax request returs 302 found error?
 
1:23 PM
btw For context:
Oct 18 '13 at 18:24, by webarto
@Danack One does not simply find a bug in 20yo software.
 
@Danack ping somebody with alotta twatter followers. @ircmaxell?
 
@Raj apparently, 302 is a redirect: stackoverflow.com/questions/3413402/…
if you have a www take it off. If you don't, put one on
 
Why this returns "no"? It should return "yes", because the number of $id starts with 0.
 
@PeeHaa ....let's see how it goes first. tbh I don't have the bandwidth to deal with a horde of well meaning but not actually useful people.
 
I can see that
 
1:28 PM
As it's going to take a significant chunk of time just telling people what needs to be done.
I'll probably also next ask Remi if he has any of his minions who can help out.
 
1:41 PM
Yeah worth the shot
 
@bwoebi are you around?
 
@Victor yes
 
@bwoebi hi! /
on composer require amphp/aerys, this is what I get pastebin.com/U5BtA2g5
I have fast-route 1.0 in my composer.json
 
@stack Because its not a string enter '014' and see for yourself substr — Return part of a string
 
@Victor As a workaround, use 0.8 in composer.json -- it's the same
though aerys should update that version constraint
 
1:47 PM
@NikiC I know they should
@NikiC thank you
 
@Victor I just wonder why you specify fastroute in your composer.json if useing Aerys' router?
 
@bwoebi because my application has been using fastroute for a long time now
 
oh
@NikiC done in master
 
omg, it's like 34 degrees here
I am slowly dying
 
1:55 PM
So there's an SVG logo I'm trying to mess with, it's letters but all in SVG. I want to add my own letters to it but don't want to have to do all the points perfectly myself. Anyone ever found a tool out there that can help with something like this?
 
@NikiC fewest people do know that you can actually return from an included file…
 
@bwoebi I just don't understand ... how do people even come up with this kind of crazy?
 
hehehe
 
@NikiC Just about as insane as wanting to modify parent stack frame vars or returning two levels down.
 
@Jimbo IIRC photoshop
 
1:57 PM
@PeeHaa Gah, something that I suck at
 
Same here :)
 
01:00 - 14:0014:00 - 00:00

« first day (2072 days earlier)      last day (2892 days later) »