« first day (2292 days earlier)      last day (2639 days later) » 

Wes
2:03 AM
mornin
 
2:15 AM
morning
 
Wes
2:30 AM
\o
 
Hello can I ask how does the osticket genereate the random ticket ? I would like to generate random ticket but I have no idea on how to do it just like in osticket. I look into there code but I didn't see where the produce the random ticket... I hope someone will help me here
 
 
1 hour later…
3:46 AM
Is there a way to combine these two lines into one?

${"user-$i"} = new User();
self::$users[] = ${"user-$i"};
 
Wes
@hello why are you using variable variable names?
self::$users[] = ${"user-$i"} = new User();
but you shouldn't do that. variable variables are evil
 
Morning
o/
This One is good! :P
 
4:13 AM
hello guys!
is there a way how to auto login to third party site?
 
 
1 hour later…
5:22 AM
Using CURL Requeest
 
morning
 
GMorning folks..
 
5:47 AM
!!dad
 
I don't trust stairs. They're always up to something.
 
@Jeeves :P
 
@Jeeves did you know Cpt Kirk had three ears? The left ear, the right ear and the final front ear
 
@Gordon 74 letters.
 
6:02 AM
did someone ever had to combine / merge 2 json responses ?
 
6:28 AM
@Valentincognito I guess $combined = array_merge(json_decode($r1, true), json_decode($r2, true)); is too naive?
 
@Gordon I don't know.. I don't think I never had to do this before even if it looks like it would be a common task
I use a payments API and I can query withdraw and deposit with differents calls but not together
I am trying to figure out a way where I can merge + organize these data together
I dont even know if the best is PHP side or JS side
 
7:17 AM
@Jeeves what about the scrabble score?
 
@DaveRandom What about it?
 
moin
@Jeeves don't get lippy with me.
 
@DaveRandom How old are you in dog years?
 
moin Dave o/
 
@Jeeves younger than your mother
 
7:17 AM
@DaveRandom My mother at least acknowledged me as her child.
7
 
@Jeeves well sure, but statement given during torture are not admissible in court.
 
@DaveRandom I love God!.. Jesus is my bro!
 
@PeeHaa it's broken ^
 
@Jeeves why are you not funny?
 
@Linus Because I'm not feeling well.
 
7:38 AM
I need some help to add angular to my cakephp project. Atm the directory is like this, imgur.com/a/nTh0o So normal CakePHP folder structure and I would need to modifie that HomePage view to angular. Now the homepage.ctp is using kotisivut.ctp as template. How to achieve this best?
 
ugh, wrong window :-P
 
moin
 
8:03 AM
moin @Trucy
 
meurning
 
@Jeeves who's jezus?
 
@Naruto You mean Jesus?
 
@Jeeves no your brother!
 
8:06 AM
@Naruto I don't have a brother.
 
jup, he broke :)
 
morning everythings
 
So my cousin just had this happening to him. He has made a web application with a huge CSS file, but he somehow managed to blank the file somehow, and all of his CSS is gone, but, he has loaded the latest version of his web application on chrome, so he has the website loaded
 
@tereško so we a thing now? ^^
 
My question is, is it possible to retrieve the entire CSS from chrome
 
8:14 AM
mornin tereško
 
@tomSurge check browsers cache?
 
@Naruto I told him that, but he did not run it on localhost, he just simply opened the index html file on his browser
so it is not cached
 
@tomSurge you can Inspect element, and go into Sources tab
 
Yes, I told him that, but he told be he "does not get the entire thing"
 
inside that you can navigate into the CSS file
 
8:19 AM
how?
2 seconds
 
I don't think it matters if you run it on localhost or not, I would think it wouldn't
 
i will try on a site
@arulpragash
@arulpragash will that work even though the css file is deleted locally?
or blank locally?
 
if you reload the site, maybe it wont apear again....
 
not if i relaod it
He has not reloaded it
the file does not exist locally anymore, but it did when he last loaded the website
so the css is loaded on chrome from when it existed
 
yes, so if you have the CSS loaded in chrome, you can actually copy the code into the local css file again...
just copy and paste
 
8:23 AM
(also your cousin should version his files to avoid this kind of thing :D)
 
yes, versioning is good idea
 
Yeah trucy, I know, he is sleeping atm, but I will tell him. Thanks guys
 
sleeping at a time like this? Gues there is no pressure on the project... ^^
 
looks like developers do sleep while they have a problem... :D
 
People who don't version their files should not be allowed to sleep :D
 
8:33 AM
wake him up!!... :P
 
you should tell him his PC died over night, and he lost all his LOCAL files ^^
 
Wes
8:50 AM
\o
 
o/
 
Anonymous
moins
 
Wes
yeeeeee seen yesterday. puppies are safe! ansa.it/sito/notizie/cronaca/2017/01/20/… (just watch the video)
 
Anonymous
<3
 
9:12 AM
Moin
 
mornin
 
Anonymous
o/
 
\o
 
o/
 
\o
 
9:16 AM
o/
 
I see it's rhythmic exercise day for room 11
 
C-C-C-COMBO BREAKER
 
Anyone ever used a many-to-many self-referencing uni-directional mapping with Doctrine - could use a hand converting to YAML format :-)
 
9:21 AM
The masochism is strong in this @Jimbo
 
That's a mouthful for a Tuesday morning
 
Wes
lol
 
Anonymous
Jan 12 at 13:35, by JayIsTooCommon
Dec 20 '16 at 22:39, by JayIsTooCommon
@Jimbo ^ I restrained myself here because it's a serious conversation, but the thought was there.
 
lol
 
@Naruto yes, I am objectifying you right this moment
 
9:26 AM
ow.. I was more like interpreting this as: urbandictionary.com/define.php?term=A%20Thing
so basically meaning you have a thing with everyone.. ;)
 
(I just noticed I have only one regret in my life so far: organising a Star Wars marathon and not showing them in machete order)
 
mornin
 
@Trucy I was hoping you were going to say: and not showing up ^^
 
@Naruto I slept through all the films. I had… complications at this time
Just woke up to switch the lights on, selling a few beers/crepes, and putting the next movie
Was great! Everyone enjoyed it
 
never really understood the StarWars hype
 
9:31 AM
Me neither
 
IMHO it is a really terrible and inconsistent fictional universe
 
But episode 7 was released the next week, so we organised it. Everyone enjoyed it
I never saw the movies
Well, I saw them, but when I was much much younger
Can't recall them exactly
But I plan to give them a shot with the machete order
 
The only thing you need to know is who your father is ;)
 
But what pisses me off are the fans
 
then lets go with a simple question: how do ligthsabres work?
 
9:33 AM
10 years ago, fans were seen as nerds, social outcasts, you name it
Now, everyone is a fan, and if you haven't seen them, you're the social outcast
@tereško MAGNETS
 
:D
 
@Gordon lets see if it is stupid
 
@Trucy actually, it's crystals
 
(also what pisses me off is the inefficency of the lightsabers duels, with all that useless spinning and dancing…)
@Gordon CRYSTALS, how do they work? (yes I've read about it, and I played a bit to KOTOR)
 
9:36 AM
@Trucy watch the video above. it's explained in there. and obviously involves some mysticism
 
truly a monster #womensmarch https://t.co/f74Qzl6rER
 
there are also some scientists who do their research to build an actual lightsaber...
too many star wars fans hah...
 
@Gordon tnx, will watch at home
 
Can I ask someone to read my RFC whether it is written in English and there are no errors? wiki.php.net/rfc/ommit-double-slash-in-user-stream-wrapper-uri
 
IMO, the original three are a beautiful work of imagination and fantasy executed with a lot of love and attention to detail. Everything created afterwards was just commercializing on that.
 
9:42 AM
@Gordon "meditating with crystals", "forcefields that stop heat (photons)", "channels the force" ... so .. basicall "it's magic"
 
@tereško well, the force is magic. star wars never was "science" fiction but space fantasy/opera
 
as I said: terrible and inconsistent
 
so "involving magic" equals terrible and inconsistent to you?
what about LotR then?
 
https://t.co/IDrGPkJQSl
 
@Gordon "three"? I think you have forgotten about Evoks ... or maybe it's just your brain trying to protect itself.
 
9:46 AM
@tereško you dont like Ewoks? What kind of horrible person are you?
 
@Trucy when it's not popularfor the general public, it is considdered to be strange.. that's just how it always works and will work
 
@Gordon I also dont like Gungans and Wookies.
 
@tereško that is interesting. Your hair always reminds of a wookie ;)
 
Wes
edition.cnn.com/2017/01/24/europe/… not all hopes are lost? or nothing will change?
 
IMO, the only bad thing about three is that Luke wins. But I understand that a space opera has to have a happy end
@Wes I doubt they will not vote for brexit. that would shatter any remaining trust in politicians
 
Anonymous
9:52 AM
@Leigh jesus
 
:D
 
@Leigh had it on my FB timeline, too. Would love to know what he said to get that reaction
 
Anonymous
@Wes if they voted no to brexit, it would cause havoc
 
Wes
@JayIsTooCommon isn't havoc the ultimate goal of politicians
 
@Gordon "When we're done here, I'm going to grab you by the pussy"
 
Wes
9:54 AM
so basically you saying that's what is going to happen :B
 
maybe..
 
@Wes you confuse populists with politicians
 
Would have been even better if she'd looked directly at the camera and mouthed "help"
 
Wes
after brexit happened, the worst thing could happen is brexit not actually happening... so it will happen :B
i totally see that coming
 
Anonymous
@Leigh so blatant i'm wondering if it's reversed
 
9:57 AM
I think I'll PR some ruby to php-src. When someone complains, I'll just claim it's alt.php
 
Anonymous
:P
 
@Izopi4a welcome ...
 
Or maybe I can just fork Ruby and push it as alt.php to a new repo
 
fork some js library
 
^^chap is budding internals developer, help him please ... I may be busy
 
@Wes you probably want a second referendum ... and maybe a third one, when the second produces result with 10% difference
 
i am making my question now, its a bit long but at least to explain what i am trying to do, cuz tiwtter's 160 symbols is kind a not enought :D
 
Wes
are daily mail actually serious or just the greatest trolls on the planet
 
@Wes pffft, that's super important news ... obviously ...
 
@Wes The greatest troll right now is obviously Trump
 
10:00 AM
Poe's law is an Internet adage that states that, without a clear indicator of the author's intent, it is impossible to create a parody of extreme views so obviously exaggerated that it cannot be mistaken by some readers or viewers as a sincere expression of the parodied views. The original statement of the adage, by Nathan Poe, was: Without a winking smiley or other blatant display of humor, it is utterly impossible to parody a Creationist in such a way that someone won't mistake for the genuine article. == History == "Poe's law" was originally written by Nathan Poe in 2005, in a post on...
 
Anonymous
Sean Spicer did quite well yesterday though
 
I'd love to go a day without hearing that name ... just one day ... can we try really hard ?
 
@JoeWatkins so, you are vouching for that one?
 
@JayIsTooCommon you mean Comical Sean aka Washington Spicer
 
@tereško anyone brave enough to attempt php-src stuff is alright by me ... but I don't know them, tracked me down on the twitter ...
 
10:02 AM
@JoeWatkins What do you have against Nathan Poe? And come on, we are not mentioning him that often.
 
@Gordon Comic Sean MS?
 
@Trucy was a reference to Comical Ali
 
@Gordon nothin, he's great ... it's the other guy ...
the one who goes by the name I used to use for farts as a child ...
 
Hello @JoeWatkins and all,
i am trying really hard to understand how php works and develop my own extensions, the passion for that is because i am using php phalcon phamework. Currently it does not support php 7.1 and i am doing my best to try and fix it.

All and all i manage to do a breakpoint with gdb, using kgdb( interface ). I would like to see what does this object have https://github.com/php/php-src/blob/PHP-7.1.1/Zend/zend_types.h#L833 but for val i see only the first char. or maybe I do not know how to display the value from the memory address ? I would greatly appreciete if someon
 
@JoeWatkins you called your farts Spicer? Jeremy Clarkson? That's … novel
 
10:05 AM
cast zend_string val to (char*)
I really hate phalcon
call php_var_dump(zval *)
in gdb will do as you expect
if I were you, I'd spend your time ditching phalcon and rewriting your code ... I wouldn't write in zephir, and I can debug it ...
 
i am pretty sure its bad, but i am at that stage in my life where its really interesting to do some compiling stuff, i really enjoy it, and the performace is not bad at all. Just zephir is super easy yet it has millions of problems probably
 
well, I wouldn't put you off from doing C stuff, just phalcon, it's a pile of shit ...
 
i am hoping that if I manage to understand how extensions works, i will be able to write simeple classes and function in C myself without being a "big deal"
 
by all means learn about C and php-src, but don't waste time on that shit ... would be my advice ... it's seriously flawed as a concept, consider your current situation ... consider what happens when any of the code you wrote in zephir needs debugging - and there is no debugger, you have to be a master of the art of GDB, you have to be a C programmer to debug your PHP code ... this is so wrong ...
here's a starting place for absolute beginners to write extensions
 
do you thing its wise to create a few classes as an extension for a web page ? or i am just very wrong with my idea
thats how i find you :D
 
10:12 AM
here's what you watch after that one
PHP is never the bottleneck in a web application, so it's doesn't usually make sense to do that in reality
but that doesn't mean it's not fun to try :)
 
:D
 
oh god that UK accent :D
 
i will check those 2 vids , check what you just explain me i have to do to debug it and write you with my next question when i got stuck again xD
 
@JoeWatkins why do I not know these?
@Trucy it's not a UK accent. It's called proper english ;)
 
i am listening to this youtube.com/watch?v=_arORgEVl-M :D
 
10:15 AM
@Gordon I agree with that :D /me writes in UK proper english
 
@Gordon unsure
@Izopi4a good plan ... other people can also answer php-src questions ... but feel free to ping (@) me whatever
@Izopi4a that one is not really about extensions btw ... but it's still probably good to know about that stuff ... I forgot about it ...
 
10:34 AM
@bwoebi hmm, thanks for that information
 
Hi All
 
@NikiC github.com/php/php-src/commit/… … I think I'm guilty too
 
@bwoebi that sucks
 
10:49 AM
@JoeWatkins You need a better mic 😛
 
@bwoebi but I'm not sure how to better do this ^^
 
that threw me, started blaming ...
I remember, the bug I linked yesterday ...
/me waits for one of you to fix it, I'm clueless
 
I'll do it, no problemo
 
lol
 
In regards to arrow functions, is it possible to express function($foo) use (&$bar)?
 
10:53 AM
Yes, exactly, lol :-)
 
@MadaraUchiha I have a pretty good one, these were the first screencasts we done ... sound better in more recent pod/screen casts
 
@DejanMarjanovic I know it's usually not true, but you can't use jQurty to fix this one.
 
@MadaraUchiha I thought that's universal rule of Universe
 
moar.
 
Wes
@NikiC did you check twitter recently? :B
 
10:56 AM
@Wes yeah
I already ranted at you in here somewhere ^^
 
I don't understand why the first fix for dtor ast is in builtin functions
 
Wes
lol, seen it now
 
@Wes ;-)
 
Wes
@bwoebi don't brag about it. you and @NikiC are both wrong :B
 
lulz
 
10:58 AM
#FamousLastWords
 
@Wes #alternativeFacts
 
lol
 
Wes
i want $str[3] to return integers, like it should be. i can't be the only who wants that... :\
 
what ?
 
heatst.com/culture-wars/… WHAT THE FUCK, even french people are not THAT anal about cooking
 
10:59 AM
what are you discussing here, I'm missing context ?
 
What's it called when you present an idea as MANDATORY without any justifying rationale of why it's the right thing to do.......not a fait accompli, but there's a similar phrase (I think).
 
Anonymous
@Trucy the-fuck
 

« first day (2292 days earlier)      last day (2639 days later) »