« first day (2205 days earlier)      last day (2747 days later) » 

Wes
1:51 AM
morning
 
2:08 AM
Alright, what's the conclusion on Phalcon framework?
 
2:50 AM
@Wes whaaaat...?! that video bloqued here...
 
Wes
noo
 
3:16 AM
morning
 
3:47 AM
ah ffs. dat-feel when you get a walking dead spoiler by watching other Conan videos
 
Wes
4:00 AM
ha
pwned. this is why you should watch it while it's new. you cant avoid all internet's spoilers
:P
 
Morning
 
Wes
@FélixGagnon-Grenier help me with english pls, even if you are canadian [???]
"Why not have something working like something else?" is this correct?
there was a cool feature in google, you could tell if a sentence was correct by googling it, but now it doesn't really work anymore
"why not have something work like something else?"
this is better maybe
 
@Wes it's... a "correct" sentence, but I don't understand what you mean
you mean like, "why not have this working, like everything else does?"
or more, "why not make this method work like this other one"?
 
Wes
4:05 AM
it's a function. i'm asking "why not have the function work like that other function, instead?"
 
^ dat is ok
 
Wes
tyvm
 
yw
maybe "why not have this function..."
 
Wes
work/working does it make any difference?
 
working would not be technically correct, I think
in your last exemple
however, maybe "work" is not the exact term. I feel you mean like, why not have this function follow the principles of that other function, or something like that
 
Wes
4:08 AM
maybe
 
work is not technically what the function is doing, you see
 
Wes
:P
Why not have the function functioning like `whatever()`?
Why not have the function function like `whatever()`?
Why not have the function to function like `whatever()`?
english confuses me.
 
why not use whatever() then?
 
Wes
nope
that's the resolution :D
 
4:49 AM
Moin
 
!!rebecca
 
@Archer [Today is Saturday. And Sunday comes afterwards.](SATURDAY_VIDEO_URL)
11
 
:P
 
■/
@Jeeves lol
 
4:55 AM
hey @Ekin! made it okay?
 
Wes
@Ekin nice tan \o
 
Yeah :-) so far things are scary different but OK @Félix
■/ hey Wes
Though it could have been better without this hangover
 
heh
@Ekin what do you mean?
 
I mean, you know... This is a huge city/change etc considering my last 3 years and um, it is a bit scary
 
posted on October 29, 2016

New Cyanide and Happiness Comic

 
5:05 AM
But I'm doing okay so far, I guess
 
moin
 
'nin
 
o/
where are you @Ekin ?
 
5:15 AM
Istanbul @Joe
 
isn't that rather a dangerous place to be right now ?
with the shooting at people at stuff ...
 
Wes
let's hope it's over now
 
It didn't feel like that yesterday. I spent the whole day out drinking etc at one of the most crowded places here, everyone looked like living pretty much "normal" in routine..
 
I seem to remember we were being specifically told not to go to Istanbul, but it seems to be a bit calmer now according to foreign office website ... just lots of police checks and stuff apparently ... now they are just saying don't go to a bunch of little towns, or near syrian border
 
Wes
@JoeWatkins remember the coup?
 
5:23 AM
ah yeah, that was the latest thing
 
Wes
that seemed like a huge thing, not just few people with guns
i mean, they even had tanks, helicopters and jet fighters
 
Yeah, the police is always around, and 29 th is Republic Day here so it will probably get a bit tense as always
 
yeah I was remembering the airport thing, forgot about the tanks and stuff
@Ekin be safe :)
gotta walk dogs, lata peepz
 
:-) ■/
 
Wes
\o lata
how many people were arrested because of the coup?
 
5:27 AM
.. Istanbul also have this old city mythical ring to it. must be beautiful.
 
Dunno, way too many arrested
Yeah, the city has a weirdly astonishing aura depending of which part of it you are etc
 
Wes
istanbul must be one of the oldest cities in europe, basically all civilization in history and even before history settled there
would totally visit one day, possibly without coups
/me is a kind of fan of roman history
 
:b
 
Wes
The Walls of Constantinople are a series of defensive stone walls that have surrounded and protected the city of Constantinople (today Istanbul in Turkey) since its founding as the new capital of the Roman Empire by Constantine the Great. With numerous additions and modifications during their history, they were the last great fortification system of antiquity, and one of the most complex and elaborate systems ever built. Initially built by Constantine the Great, the walls surrounded the new city on all sides, protecting it against attack from both sea and land. As the city grew, the famous double...
 
fascinating
 
Wes
5:45 AM
walls of constantinople are the reason cannons exist. most probably they were invented specifically to breach through constantinople's walls
The Fall of Constantinople (Greek: Ἃλωσις τῆς Κωνσταντινουπόλεως, Halōsis tēs Kōnstantinoupoleōs; Turkish: İstanbul'un Fethi Conquest of Istanbul) was the capture of the capital of the Byzantine Empire by an invading army of the Ottoman Empire on 29 May 1453. The Ottomans were commanded by the then 21-year-old Mehmed the Conqueror, the seventh sultan of the Ottoman Empire, who defeated an army commanded by Byzantine Emperor Constantine XI Palaiologos. The conquest of Constantinople followed a 53-day siege that had begun on 6 April 1453. The capture of Constantinople (and two other Byzantine splinter...
which was up then the most fortified city in history
brb coffee
> Sixty-eight super-sized bombards referred to as Great Turkish Bombards were used by Mehmed II to capture Constantinople in 1453. Orban, a Hungarian cannon engineer, is credited with introducing the cannon from Central Europe to the Ottomans.[37] These cannon could fire heavy stone balls a mile, and the sound of their blast could reportedly be heard from a distance of 10 miles (16 km).
 
 
1 hour later…
7:05 AM
...
 
Wes
7:19 AM
caturday
 
@teedubya, Kansas City, MO
#Marketing Technologist, Speaker, Author @Inc Columnist, @VentureBeat Host, ENTP, Comedian, #SocialAds, #SocialMedia Growth Hacker 🤔Contact: tw@venturebeat.com
36.4k tweets, 233k followers, following 195k users
who is that ?
 
7:44 AM
moin v-2
 
8:06 AM
@Wes ew. the site.... my eyes...
 
@JoeWatkins Some random bellend that wants you to follow them
 
'nin
 
8:44 AM
Mornin
anyone arround with experience with the facebook api?
I got everything working I need but it only works when the user is logged in into facebook (I use the js sdk)
My goal is to use the js api but without userkeys/tokens
 
@Jeeves AAAAAAAhhhhahahahahahahahaha
#karma
 
:P
 
@staabm If you are doing something client-side, I would assume it will only work when the browser is logged in
either that or you should be able to detect when they aren't logged in and prompt for it
I have no idea how FB stuff works
But logic says that it ain't gonna do anything if you aren't logged in somehow
 
@DaveRandom i read something about creating long living api key from short living ones etc
I tried to auth my website against facebook as an application
To do api calls which are related to my facebook page
 
See chat.stackoverflow.com/transcript/message/33769662#33769662, but also as a general statement I will say that I have always ended up falling out with client-side API for anything and done it on the server instead
 
8:53 AM
i want to refresh my captcha in jquery and do this gist.github.com/anonymous/f81a5f02a467fd84d03294d1918544b8
but i don't know why it doesn't refresh anymore
the selector is right
im sure about it
 
I did my first FB steps yesterday, so I have the same problems :-).
I use the js api because atm I dont have access to a server in this project
 
@JoeWatkins looking at his profile he's following 195k people, 195k! following others so they follow him back seems what he's going for
 
Wes
9:09 AM
@JoeWatkins don't you know twitter?
 
@Wes what are your views on my avatar?
 
Wes
there are bots that automatically like, retweet and follow you, some even talk with you
this for instance: i.imgur.com/zsfp84y.jpg totally not a bot :rollingeyes:
 
I cannot stand that laughing and crying emoticon.
 
any help
 
9:29 AM
@ThW ping. we'll meet @Jimbo 1715 at grindhouseburgers.de
 
9:41 AM
@Danack I assume you're not popping to London today after all?
 
@Leigh No sorry. I've just been feeling shit for the past two weeks.
 
:( Sorry to hear that. We'll uh... have a pint in your honour :)
 
thanks.
 
10:00 AM
@Wes I only asked because he has a verified twitter account
 
Wes
doesn't mean anything @JoeWatkins there are a considerable amount of people pretending to be vips and requesting the verified badge just to improve their spam
 
@JoeWatkins Twitter have started making it easier to be verified. You don't need to be famous, just have enough followers that you deserve a better level of support from them. (which is what the verified tag seems to be used for mostly).
 
afternoons
 
oh you request it do you
 
10:04 AM
I am getting an error:Trying to get property of non-object
any help is appreciated
 
So many juniors stop reading a warning/error at the first colon and go to @StackOverflow for help... just read the words after Warning: #php
 
@AccountUnknown use a debugger to step through your code youtube.com/watch?v=LUTolQw8K9A
You will have a non-object, where you think you have an object.
 
Tip: You can't get properties of non-objects, don't do that.
 
Wes
ie this is one of the most succesful i know twitter.com/TheGaryo @JoeWatkins notice the "Add me on Facebook. I will accept immediately" like, if you follow me you get followed back by a VIP!
i searched. the guy did nothing, he's not a vip, just an attention w**re and possibly a spammer
 
i am sorry i haven't used this debugging... is there any other way to come around?
 
10:08 AM
You could hire a developer?
 
o/
 
\o
 
Wes
\o
 
o/
 
Wes
@Archer who are you, again?
ah, saitama
nice
 
10:09 AM
:|
 
Wes
:B
 
@Wes DO YOU SEE? DO YOU SEE?
 
Are there people here maybe familiar with the Facebook API?
 
Wes
lol
 
DO YOU SEE ME I CAN SEE YOU
 
10:10 AM
@Sean Or even @DaveRandom, he's doing a talk on async stuff
 
16 hours ago, by Madara Uchiha
From the time he was switching display names like socks :P
 
@Danack can you point out where i've made the mistake??
 
Wes
lol
the truth is, i'm saitama, he's wes #mindblown
 
nickception
 
@AccountUnknown Not without debugging your code, and no I don't want to debug your code. You need to learn how to do this to be a real developer.
 
10:11 AM
@Sean are you confused about yield?
 
atleast try var_dumping` @AccountUnknown
 
I <3 stylish extension.
 
\o
 
10:12 AM
\o
 
@Archer He doesn't need to, he just needs to read up to the bit with the line number in the error message
 
or that ^
 
i am getting Boolean false
 
Wes
@Danack you can get rid of mine, not changing my nick anymore
muahuahahauaha
no seriously, i'm not changing it anymore :B
does @MadaraUchiha have a face?
 
@Archer any suggestions?
 
10:15 AM
@Wes he's a god....
 
@Wes Before I answer that, I'm curious as to what prompted that question.
 
@AccountUnknown you've been given countless suggestions already...
 
lol, before you answer that ...
like there's a possibility you do not have a face ...
 
@JoeWatkins Ah, but there is such a possibility
You can't know for sure :)
 
yeah, you could have lost it in a poker game to a travelling soap salesman ... happens all the time ...
 
Wes
10:16 AM
@MadaraUchiha making halloween avatars for regulars
i'm going to turn you in a zombie or something
 
Aha
Yeah, Madara does have a face
 
@Archer using var_dumb($out); i am getting Boolean false.
 
Although I do have a halloween avatar already
 
please try to understand the error message
 
Hold on, lemme pull it out
3
 
10:18 AM
@JoeWatkins Why not travelling rest salesman?
 
There we go
Halloween pic
 
such wow, much nice
 
Ahaha good one
My favorite this year is @Andrea's avatar
 
@Ekin link?
 
10:24 AM
@Joe's is my favourite :p
 
Andrea, Scotland
8.5k 2 17 45
 
Wes
which i didn't make it, though :P and yeah it's the scariest
 
That's indeed scary.
A scarier one would be exec("sudo {$_GET['cmd']}"); though
 
Yeah. Top 3 of the ones that @Wes made are imo Joe's, Jimbo's and Sean's avatars =)
 
@MadaraUchiha Only scarier if you actually have an ALL NOPASS in your sudoers for the webserver…
 
10:30 AM
@bwoebi If you do that in a PHP script, I can assume that you've done it for it to work
 
heheheh
 
There are no safeguards against determined stupidity, you know.
 
Morninv
 
Ohai PietHaar
 
@PeeHaa o/

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
 
10:42 AM
@Ekin Did you have dateinterval things locally that need to be committed? Or can I write the missing tests for you?
 
@PeeHaa s/wrote/write
 
ty
 
:)
 
I need my keys to be more spaced out this early in the monring
spaced out keys... ha!
4 messages moved to bin
1) Don't cross post 2) Don't cross posts offtopic stuff
 
@PeeHaa I had one test but go for it still, cause I could redo later if it's needed still anyway =)
 
10:47 AM
Coolio <3
 
anyone still use php as the mobile app backend ?
 
No nobody does. We all use butterflies.
 
im into react-native and my app backend is written in laravel.
 
@Jeeves @Sean hahahah nice job on that PR! @PeeHaa Nice job on the review!
 
Wes
ok this is quite funny (@Leigh halloween avatar for you) i.imgur.com/bcE8NwZ.jpg
3
 
10:53 AM
Omg I don't get it... I want to load images from a FAcebook page, I have the right API URI, but.. I receive '"Invalid OAuth access token."'.
 
!!friday
 
I don't want to let a user login on my website. I just want to show the user the images on a website that's it.
 
@Jeeves \o/
 
@Duikboot Well did you provide the correct access token?
 
10:55 AM
That's a bit the question should it be send with
the api get rqeuest?
 
Yes otherwise it wouldn't complain
:P
 
js room is dead
 
Look up the documentation if you can use a application token or you have to use a user token
 
OK i have the app token
let's se
"An active access token must be used to query information about the current user."
lol
 
Well obviously you need some token to make oauth requests. The real question is what kind of token is sufficient
 
11:00 AM
how do i install JSON Web Token Authentication for Laravel ?
 
nyc
 
pls dont spam @Hisham
 
im not
 
¯\_(ツ)_/¯
 
11:04 AM
fail
 
md ¯\_(ツ)_/¯
 
:P
 
there is no such thing backend in the future. every one will go fullstack . its the only way to survival . the structure of react destroys mvc .
 
Should I call a doctor?
 
nop
 
11:10 AM
Are you sure?
 
@Hisham The structure of react destroys mvc?
 
@Archer I don't kick people because they have mental issues alone
 
:p
 
Wes
could stare at that gif for hours :D
 
11:11 AM
 
React js destroyed every programming concepts till date as per their video
 
Chrome just kicked it up a notch
 
ha
 
“Hmm, this is taking a while”. *checks PHP code*… oh: for ($i = 0; $i
 
11:13 AM
lolwat
How the fuck did that break like that
It think it opens a tag?
???
 
im out .. cuz u guys think im a danger to php community.
 
We are more concerned you are a danger to yourself at this point
 
^
 
no worries. im cool.
 
you sure?
 
11:16 AM
@Hisham Good good :)
 
@Hisham that's stupid
 
I can't stop laughing @Hisham
 
ok guys.. the point is that php will not cut it. js is making some big steps forward.
 
what steps?
 
@BarneyStinson you can stop now
es6 , es7 are you guys sleepin.
 
11:22 AM
ES6 is the most overrated addition to javascript.
 
But it added proper classes!
 
ES7 brought like 2 features.
 
oh wait....
 
The classes are the worst addition.
 
@PeeHaa s/proper/stupid/
 
11:23 AM
Well it's not stupid. It's just that it doesn't add anything
In the same way that short array syntax is not stupid
 
@PeeHaa or that ... :p
 
ok . you can keep sayin php is the king .. i did it back in the days ..but not anymore .. js has got what it takes to rule any platform ...
 
@Hisham Who said that?
Most people in here don't make stupid statements like that
The only people making moronic statements like that in here is you
Which is cute I give you that, but kinda mental
 
seriously its already on to android / ios . windows, ubutu is next
 
Yes and it sucks on both android and ios
 
11:29 AM
no way . its the closest anything gets to native apps.
 
No it is not
It's a slow buggy piece of shit
Even the compiled /translated stuff is shit
 
its still 0.36 and Facebook is handling it .. good enough for me.
 
BOOM now you have an extra layer that fucks up
 
@Hisham JS is overused.
The apps are slow as hell.
I wouldn't mind something that interfaces with a native toolkit but, the HTML and CSS electron shit is just ridiculously slow.
 
Wes
is @MadaraUchiha still around?
 
11:33 AM
@Wes He is
 
@littlepootis Those are also buggy as fuck though sadly
 
Wes
busy?
 
@PeeHaa yes
 
react-native is converting js into native code .. it does not use html css
 
Which sucks monkey balls
Then again. It's maybe just a quality standard difference.
 
11:35 AM
wait? is he suggesting JavaScript will replace Java or C? Or just PHP?
 
Not only that... it will replace EMVEESEA!
 
@Gordon apparently he is....
 
MVC ¯\_(ツ)_/¯ who cares for mvc anyway?
 
nop but it performs way better than the alternatives ..youtube.com/watch?v=juWhxCz1Wmg
 
It was all fun to laugh at somebody for now. I am going to take a shower try to stop laughing now
brb
 
11:36 AM
\o
 
o/
 
bls
 
Wes
i'm working on the...splat in array literals rfc, ie [0,1,...[2,3,4],5,6]. no problem with lists, unsure about non-integer keys. do you think this could be useful
['a' => 0, 1, 2, 3, ...['a' => 4]]
if it produced:
[1, 2, 3, 'a' => 4]
rather than: (output of `array_merge()` and `$map1 + $map2`)
['a' => 4, 1, 2, 3]
that is, reordering of the underlying linked list in php arrays
 
I dont need any of that
it's just helping to make code more unreadable imo
 
Wes
ordered maps don't have many use cases, at least in my experience
@Gordon how so?
 
11:43 AM
@Wes I dont expect to see … in that place and I dont want it if I can easily do that with existing functionality
 
@Wes It should be equivalent to ["a" => 0, 1, 2, 3, "a" => 4] (i.e. ["a" => 4, 1, 2, 3])
 
awww I missed the js fanboy
 
Wes
@bwoebi yes that's the behavior of array_merge or +, i'm asking if it could be useful ... (as it's about sequences) to reorder keys so that they appear in the same order they are splat'ed
 
@JoeWatkins :p
 
Wes
$a = ['a' => 0, 1, 2];
$b = ['a' => 3, 4, 5];
print_r(array_merge($a, $b)); // ['a' => 3, 1, 2, 3, 4, 5]
print_r($b + $a); // ['a' => 3, 4, 5]
print_r([...$a, ...$b]); // [1, 2, 'a' => 3, 4, 5]
@bwoebi
just examining all options. not a fan of any of them
 
11:50 AM
@Wes just go by the principle of least surprise
 
Wes
not scientifically accurate :P
 
@Wes we don't do that
at least I can't think of any place where we do that
 
Wes
yeah it's hard because again ordered maps are barely useful. 99.99% it's arrays or maps, not both
 
posted on October 29, 2016 by nikic

This release primarily improves our support for error recovery. The following changelog only lists changes relative to the beta 1 release. A description of backwards incompatible changes between version 2.x and 3.0 can be found in the [upgrading g...

 
hi all
 
12:15 PM
well, shit
 
Does anyone have any references to what happens when exceptions inside Amp? Basically I had an error in my code that was causing an exception to be thrown....but it seems that the exception was just being discarded rather than shown anywhere.
 
frostfall did something to my Skyrim save files
 
muhahahahhaha
 
@PeeHaa can you give an example of how to use that?
(basically I just want something to be notified of exceptions.....probably)
 
12:19 PM
@Danack If you do not yield or when() a Promise, failed promises exceptions will effectively be ignored.
 
Also you should register an onError() handler if you don't already have one
At least there you can log them
 
@DaveRandom or just put a try / catch at the top level, outside of Amp\run()
 
oh right, for some reason I can't get the idea that those are different out of my head
 
@bwoebi the exception doesn't reach there - I'm on v1.2.2 btw.
This is what the start of my app looks like:
function startTheInitialRequest($fullURL) {
    $promise = $this->artaxClient->request($fullURL);
    $promise->when('analyzeResponse'); // This generates additional requests
}

startTheInitialRequest();
\Amp\run($fn);
 
@Danack analyzeResponse should be passed an eventual exception as first parameter?
 
12:24 PM
Is there anything I an attach at the top level to listen to errors, or do I need to attach them on each promise?
 
@Danack the latter - or you do analyzeResponse(yield $promise); instead
(supposing startTheInitialRequest gets resolved as coroutine (e.g. passed to Amp\run))
 
@bwoebi it's inside analyzeResponse that the exception is being thrown.
 
@Danack in that case it should be just thrown normally with amp v1
 
I might just clean up my code and check it in to be able to share it.
 
ok
 
12:50 PM
git clone github.com/danack/SiteTool
composer install
cd SiteTool/
php src/cli.php site:crawl phpimagick.com/Imagick -j 4 -d true
@bwoebi that ^^ should show you what I'm seeing. The debug flag is picked up here to trigger an exception, deep inside the app.
adasdasdas
I think I found it....
 
@Danack ok :-D
 
Forgot I had a catch all exception handler inside the app.....
 
lol
 
can you help me on this? pastebin.com/EkxjvRME
 

« first day (2205 days earlier)      last day (2747 days later) »