« first day (2241 days earlier)      last day (2692 days later) » 
00:00 - 13:0013:00 - 00:00

Wes
12:27 AM
@bwoebi "Improve multiplication on x64"
more like "fix broken multiplication" :P
 
@Wes It's not broken, just lossy
 
Wes
to me that is utterly broken :B
will try compile it soon though
 
user1804599
12:58 AM
TIL $f = static function() { };.
 
Wes
what does that do
aren't closures static regardless?
 
@Wes stop using PHP 5.3, goddamnit
 
Wes
:|
 
@rightfold what's your use case for it?
 
Wes
i don't even know @bwoebi you say that like i abuse closures... i don't
i have a closure each 1000 loc, and it's usually a one liner
i have no idea what the behavior was in 5.3 what it is now and what static does :B
 
1:04 AM
@Wes in 5.3 it was always static
since 5.4 $this is incorporated if present at instantiation time
 
Wes
before 5.3 you needed to do
$that = $this;
function() use($that){};
right?
 
@Wes s/5.3/5.4/, yes
 
Wes
and what does static function(){} does here?
 
@Wes not bind $this.
 
Wes
also there's difference with static $f = function(){}; ? (maybe doesn't even work)
 
1:06 AM
@Wes that won't even compile
 
Wes
what's the purpose of not binding $this? since you can just... not use it
 
@Wes there are reasons. (e.g. avoiding circular references)
 
Wes
no idea how that can happen
 
In that case not very relevant to you probably.
 
Wes
indeed :P
 
 
1 hour later…
Wes
2:22 AM
@PeeHaa redbull's xmas card pbs.twimg.com/media/CyzFbhaWEAEXlef.jpg
 
2:42 AM
 
3:35 AM
Hello, How are you ?
 
hello?
 
4:09 AM
morning
 
4:22 AM
O/
 
4:34 AM
\o
 
Wes
4:47 AM
\o
@Linus you look fat today
 
5:03 AM
Hahaha
I am fat :p
!!dad
 
Our wedding was so beautiful, even the cake was in tiers
 
5:19 AM
@Jeeves <3
 
@Linus I love you too :-)
 
now i have sane internet
 
6:14 AM
Hi I want to work tab button in Ckeditor .
I am seeing this questions
4
Q: How do I get tab spaces to work in CKEditor?

PeguesIs it possible to get CKEditor to recognize tab as a feature inside the editor, especially when in source code mode? Right now, when I hit the tab key, the cursor goes to the next field on the page. I'd like to get the tab character working so CKEditor can work more like a code editor in which I...

In there , I have seen to do this work , I have to add the following code :
var editor = CKEDITOR.replace( 'editor1', {
tabSpaces: 4
});
I have added this code to my code .
But the tab button is not working
Please help me .
@Linus
@payamsbr
Can you help me ?
 
sorry @SagorAhmed can't help in that
 
Good morning friends
 
Please help me
Good morning
 
I'm afraid I wont be of much help sorry!
 
Please try
 
6:29 AM
@SagorAhmed pls stop for asking help
 
If it's life advice and guidance you're after though; I may be of assistance.
 
if any want to help they will
 
@Linus What's your profession in the real world?
 
guys I need some advice
I am working on a huge project and struggling with some errors. It's too big to post on stack overflow
how can I get help on it?
 
6:32 AM
@Rawrskyes real world ?? there is no real world :P
 
Only for leprechauns; the only world they live in is the world of imagination!
@qaispak You could try asking here! But I think it'd be better to narrow it down to the specific errors that you're needing help with.
 
I will try and make a question.. gonna get some downvotes I am very sure.
 
Stackoverflow is great when there's a specific question that requires an answer; but dumping logs and asking for someone to debug isn't always the best idea.
 
6:54 AM
@Linus seriously tho. what do you do at work?
 
@littlepootis nothing i am jobless
 
good luck ALL
 
i teach in part time tho..
 
:-P
 
7:03 AM
That moment when you get partway through typing a question then realise how stupid it actually sounds :/
 
btw @littlepootis you still in college?
 
I just barely got into college.
 
which year?
 
I sem.
 
/me yawns
 
7:04 AM
oh :) just started gratz
 
Moanings, fellow desperate PHPeople
 
morning Ocramius sir
 
Desperate?!?!?
 
Wait, you're not desperate? What are you doing here?!
 
I hear there are cool chaps in here; have I been mislead?
 
7:11 AM
Possibly
We're all terrible
 
Whoa; my brain just died for a moment.
 
morning @Ocramius
 
brew unlink php70
brew link php71
Gonna have to upgrade all my heroku projects now
 
7:22 AM
When I commit() a PDO transaction; does it then go back into autocommit mode?
Oh yes it does... I don't know how I skipped past that part :S
 
Depends on whatever ugly RDBMs you are using
 
Which explains why one of the examples I seen had the begintransaction inside the loop!
I can see clearly now!
Each RDBM is beautiful in it's own way @Ocramius
 
@Rawrskyes s/beautiful/ugly
Well, OK, postgres is actually gorgeous
 
I want to work tab in ckeditor
Can you tell me how to do that ?
 
7:26 AM
@Ocramius Is it ess queue el or is it sea quill? (SQL)
 
It's esse qu elle, obviously
 
xD
I die a little inside when I hear it pronounced the other way :(
 
7:51 AM
hello
 
 
3 hours later…
10:23 AM
didn't see the ping. Pings on this chat are rubbish
 
10:51 AM
@Ocramius mhm… well… to a certain degree I'm guilty of this, and I think it's a good thing. Finding the balance between primitives and methods.
 
11:03 AM
@Wes :)
 
Morning
Need your help ^^ my terminal kills hisself on startup (Mac OsX 10.X ). You got any idea how i can solve that...
I updatet a package via homebrew and now my terminal cant start anymore
 
Do we known when Symfony, Zend Framework, <insert widely used framework/component here> will drop support for PHP 5?
 
@SebastianBergmann Not that fast. I guess you has about 1-2 Support left
 
Well. PHPUnit 6, due in February, will no longer support PHP 5.
 
@SebastianBergmann sure, but you continue supporting PHPUnit 5 I think?
 
11:11 AM
@bwoebi Yes, for a year there will be irregular bugfix releases for PHPUnit 5.7.
 
As long as there's still a maintained version working on PHP 5, why switch immediately?
 
Because everything is better with PHP 7.
:-)
 
:-)
 
:)
 
:)
 
11:12 AM
Active support for PHP 5.6 ends soon.
 
Morgen
 
Morning PeeHaa
 
@SebastianBergmann CodeIgniter - probably in 2020-ish
 
Lol
 
same with WordPress
 
11:18 AM
Laravel?
 
TIL call-time references were removed in 5.4.
 
@Linus that would depend on when Twatwell install php7 on his MacBook Pro
 
:P
Ahha
 
Hi I am trying to call php function from javascript function
The javascript function code is as follows :
gist: 45f5e7c3af1bb101ca7e3858eeb663c2, 2016-12-04 11:26:23Z
<script>
	function createFile()
	{ 
		var fileName; 
		fileName= prompt("Please enter file name:");
		if (fileName != null )
		{
			if(fileName.trim()=="") 
			{
				alert("File name must have some value");
			}
			else
			{
				
				alert("File is created");
				jQuery.ajax(
				{
					type: "POST",
					url: 'database_connections.php',
					dataType: 'json',
					data: {functionname: 'add', arguments: [fileName]},

					success: function (obj, textstatus) 
					{
					  if( !('error' in obj) )
					  {
						 var yourVariable = obj.result;
					  }
					  else {
						  console.log(obj.error);
					  }
					}
				});
				alert("File is created");
			}
		}	 
	}
</script> 
php code is as follows :
 
you can't call a php function from a javascript function
it's just not possible
 
11:28 AM
20
Q: php function call using javascript

wallgeekPlease help, I am trying to call a php function from an external php file into the javascript. My code is different and large.So i am writing a sample code here. This is my php code <?php function add($a,$b){ $c=$a+$b; return $c; } function mult($a,$b){ $c=$a*$b; return $c; } functio...

 
before you start learning something, learn what it's for, how it interfaces with things
 
It's unpossible
 
What is this JavaScript you keep talking about?
</troll> Sorry.
 
it should have been:
"What is this Jew Script you keep talking about?"
 
In this question the Victor says that it is possible
Ok let me tell about my requirement
 
11:31 AM
What is your specific question @SagorAhmed?
 
I am taking a file name as input by javascript .
Then I want to create a row into database .
 
with javascript?
 
Can database connections be made using javascript ?
I can make database connections in php
 
yes and no
well, yes
 
why 2 answers mate ?
 
11:33 AM
Because it depends on the type of database and/or whether your JS runs on the serverside
But again: what is your specific question?
 
@SagorAhmed how about you explain the problem that you are trying to solve instead of asking us to implement your "solution" ...
 
I want to take fileName as input from user .
Then I want to create a new row in oracle table which column is (id,fileName)
 
That's still not a question
 
@SagorAhmed why?
what is the problem that you are trying to solve?
 
@SagorAhmed you in college, mate?
 
11:37 AM
I am in job
 
@bwoebi is your uv stuff 7.1 compatible?
 
How can I do that in php ?
 
@PeeHaa well, unless 7.1 diverges significantly from master, it should.
 
coolio
 
@PeeHaa , please help me .
This is the question ?
 
11:41 AM
oh wait. I first want @Jeeves to break
@SagorAhmed There is no question
!!uptime
 
@PeeHaa \o/
 
@PeeHaa I have been running for 4 days, 15 hours, 48 minutes and 9 seconds, since 2016-11-29 19:53:50
 
@Jeeves please break down will ya
@Jeeves ...
 
I want to take fileName as input from user by javascript.
Then I want to insert a new row in oracle table which column is (id,fileName) .
The code for inserting a new row is in php.
 
!!caniuse foobar
 
How can I call php function from javascript function ?
 
!!uptime
 
@PeeHaa I have been running for 4 days, 15 hours, 49 minutes and 19 seconds, since 2016-11-29 19:53:50
 
@SagorAhmed You just did
!!command list
 
Commands currently mapped:
 3v4l - Executes code snippets on 3v4l.org and displays the output (3v4l # Eval)
 > - Executes code snippets on 3v4l.org and displays the output (3v4l # Eval)
 ? - Retrieves and displays search results from Google (Google # Search)
 anmol - Get a random dad joke (JeevesDad # DadJoke)
 at - Get reminded by an elephpant because, why not? (Reminders # at)
 caniuse - A quick search tool for CanIUse, a browser comparability feature list for modern standards. (CanIUse # CanIUse)
 
11:44 AM
But the php function is not called .
 
If it isn't you have to debug your code
 
No you have to debug your code
 
I am new in web programming
I do not know how to debug .
 
Check whether the request reaches the file you expect. Check whether all variables contain what you think it does. Check for errors
 
11:45 AM
@SagorAhmed then what do you want from us?
 
Where is the error ?
Please help me to find the error
 
what error do you see?
 
The php function is not called .
 
!!remind
 
Usage: !!reminder [ examples | list | <text> [ at <time> | in <delay> ] | unset <id> ] Try !!reminder examples
 
11:46 AM
@SagorAhmed that is not an error
 
!!remind foobar at 13:00
 
Reminder set.
 
.
 
at this point you probably should hire a developer
 
Why the php function is not called ?
 
11:47 AM
!!uptime
 
@PeeHaa I have been running for 4 days, 15 hours, 53 minutes and 32 seconds, since 2016-11-29 19:53:50
 
!!remind foobar at 13:00
 
Reminder set.
 
!!remind list
 
11:47 AM
Registered reminders are:
• @⁠DaveRandom http://chat.stackoverflow.com/transcript/message/33706606#33706606 → Id: :33706826 → Saturday, 29th April 2017 12:01 (UTC) - Set by Gordon - Seconds left: 12615201
• foobar → Id: :34404862 → Sunday, 04th December 2016 13:00 (UTC) - Set by PeeHaa - Seconds left: 4341
• foobar → Id: :34404869 → Sunday, 04th December 2016 13:00 (UTC) - Set by PeeHaa - Seconds left: 4341
 
@tereško
 
!!remind foobar at 13:00
 
Reminder set.
 
@PeeHaa breaking @Jeeves is hard work
 
I have no idea what I can do to break it so I am just trying out random stuff :P
 
11:49 AM
Even I do not know is the control to php file reached ?
 
@SagorAhmed do you know what AJAX is?
 
!!github status
 
good: Everything operating normally as of 2016-12-03T11:24:41Z
 
!!rfcs
 
11:50 AM
@SagorAhmed then start by learning that
 
PSA: sorry for spamming chat while trying to break the bot
!!uptime
 
@PeeHaa I have been running for 4 days, 15 hours, 57 minutes and 21 seconds, since 2016-11-29 19:53:50
Sorry, but we can't have nice things.
 
@bwoebi do you remember whether this looks right? Seems high to me
lsof -p 14120 | wc -l
134
nvm looks fine
Forgot about extensions
 
@PeeHaa you mean shared objects in general?
there are only like a 30 exts
 
Well extensions and lib dependencies
Stuff like
php     14120 jeeves  mem       REG              253,0   2112384 201328559 /usr/lib64/libc-2.17.so
php     14120 jeeves  mem       REG              253,0     88720 202290518 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
php     14120 jeeves  mem       REG              253,0   2016880 201330246 /usr/lib64/libcrypto.so.1.0.1e
php     14120 jeeves  mem       REG              253,0    449904 201439277 /usr/lib64/libssl.so.1.0.1e
php     14120 jeeves  mem       REG              253,0     15840 201329128 /usr/lib64/libcom_err.so.2.1
 
11:55 AM
yea
 
Those add up obviously
!!remind foobar at 13:00
 
Reminder set.
 
!!remind list
 
Registered reminders are:
• @⁠DaveRandom http://chat.stackoverflow.com/transcript/message/33706606#33706606 → Id: :33706826 → Saturday, 29th April 2017 12:01 (UTC) - Set by Gordon - Seconds left: 12614705
• foobar → Id: :34404862 → Sunday, 04th December 2016 13:00 (UTC) - Set by PeeHaa - Seconds left: 3845
• foobar → Id: :34404869 → Sunday, 04th December 2016 13:00 (UTC) - Set by PeeHaa - Seconds left: 3845
• foobar → Id: :34404876 → Sunday, 04th December 2016 13:00 (UTC) - Set by PeeHaa - Seconds left: 3845
 
11:58 AM
@PeeHaa I'm already there, I don't need to be invited again
 
!!rfcs
foo
!!rfcs
!!uptime
 
@PeeHaa I have been running for 4 days, 16 hours, 5 minutes and 14 seconds, since 2016-11-29 19:53:50
Sorry, but we can't have nice things.
 
!!crash
 
!!uptime
 
^ I wished that worked :-P
 
12:00 PM
@PeeHaa I have been running for 4 days, 16 hours, 6 minutes and 34 seconds, since 2016-11-29 19:53:50
 
@bwoebi Yeah me too
I suspect some obscure bug in uv which on one hand is great because it means most obvious ones (in Jeeves' context) are handled, but on the other it's getting annoying
 
@PeeHaa perhaps
A backtrace will give me at least a pointer what to search for
 
!!backtrace
> 56.53 Mb
^ that at least looks great after running for 5 days
 
@PeeHaa what's that? network traffic of Jeeves?
 
mem usage
 
12:04 PM
ah
 
It seems stableish
 
as it should
 
If there is a leak I should see it soon enough
 
I am broken
 
You fell of your bike again? :)
 
12:07 PM
no, crippling back pain, can't stand up or walk properly, or breathe in all the way ... been making me dizzy since 4am ...
 
Oh that sucks
 
sohard
keep trying to take my mind off it, can't really focus on code
 
@JoeWatkins ugh, what happened? [I.e. what led to your pain?]
 
dunno, just woke up with it, I called doctors several times, wife is out picking up pain killers now ... they won't work ...
 
I hope there's nothing seriously wrong with you :-(
 
12:15 PM
thnx ...
I'd like to see a physician, but they won't send ambulance out, they are just saying stupid shit like sit with my legs elevated, or take paracetamol ...
 
@JoeWatkins I don't feel like that's the thing they say for back pain though…
 
seriously, lay flat, cushions under the legs and take paracetamol ...
of course, you are not speaking to any medical professional, you don't just ring an ambulance anymore ... you have to ring some other number and they decide if you are worthy ...
painkillers arrived, zapain ... guess what it contains ...
it's like they have a quota of paracetamol based products that they have to shift or something ...
@PeeHaa did u try new img?
wondered if background looks funny on your screen too ...
 
Nope not yet. Was hoping to do some stuff later today
 
I think there is something unfriendly about my fx card and or screens ... I'm writing a php7 directfb extension, and having a lot of difficulty ...
it is a cheap ass card, don't even know what it is ... and the screens are not so great either ...
 
12:32 PM
ha, that's so me
it should strip code ...
 
yes
 
!!changelog Room-11/Jeez
That might throw
Also, mornin
 
!!uptime
 
@PeeHaa I have been running for 1 minute and 2 seconds, since 2016-12-04 12:43:35
 
hey you killed it
\o/
morning @Ekin
 
12:45 PM
:-)
 
I still blame bob's coding though
 
I have a fix for above in that uhm... huge PR
 
ormin
 
> Let's take a line this is a new line this is a new line
 
Dec 04 13:43:34 149-210-224-55.colo.transip.net php[14120]: PHP Catchable fatal error:  Object of class Amp\Deferred could not be converted to string in /srv/www/Jeeves/src/Plugins/Changelog.php on line 81
Dec 04 13:43:34 149-210-224-55.colo.transip.net php[14120]: Catchable fatal error: Object of class Amp\Deferred could not be converted to string in /srv/www/Jeeves/src/Plugins/Changelog.php on line 81
 
12:45 PM
Jeez kills?
 
That's a different issue @PeeHaa
 
39 secs ago, by PeeHaa
I still blame bob's coding though
:D
 
Yeah that was completely on me :P
 
nah :-P
 
@Ekin Any chance you could separate it out :P
 
12:46 PM
@PeeHaa now update to 7.1
 
bitch
 
lol
 
you forgot the "bitch"
 
 
@bwoebi Going to see if I can add some changes while it's restarted
 
@DaveRandom This picture is worth as much as a thousand meaningless words, yes
 
I was thinking the same kind of thing ...
 
@DaveRandom weeeeeeeeeeeeeeee
 
Yeh it's not as good as it seemed as first
 
@PeeHaa I think I can delete that commit somehow on the branch and redo? It's something simple.
 
12:50 PM
@Ekin is it the most recent commit?
 
@Ekin That would be great
 
@Joe back pain still as bad or medication working?
 
otherwise you are going to have to dick around with cherry pick
 
Nope :(
 
OK then Google "git cherry pick"
 
12:50 PM
Alright thanks
 
@Ekin you may not say that when you've actually done it :-P
 
@DaveRandom Heh
Depends on how large the branch
 
@DaveRandom why? git is trivial.
 
@bwoebi it's definitely still present, but I think it's easing a little ... I can't get up still, but was brave enough to try it ...
 
What happens if I remove the commit line on rebase? Would that be worse? :P
 
12:53 PM
@bwoebi cherry pick in a way that make history still make sense enough to submit multiple PRs without merge conflicts can get "interesting"
 
@JoeWatkins Well, if it's not better until tomorrow, get checked…
 
In the Chinese sense
 
@Ekin On an interactive rebase?
 
Yes
 
Anyone know the name of the feature that helps google solve things like "what is 3 plus 2"?
 
12:53 PM
That should be fine
@iroegbu NLP, Natural Language Parsing/Processing
 
@bwoebi yeah, soon as I'm able to drive myself somewhere, I'm going to anyway
 
@Ekin don't forget to export the commit as a patch first though
 
@DaveRandom meh, cherry-pick and rebase the PRs (with the cherry-picked commit being squashed into the previous one)
 
I think you revert, then rebase ?
 
@JoeWatkins That's if you want to squash
 
12:54 PM
git: there's more than one way to do it, and none of the ways make sense
 
She just wants to remove a commit from history
 
@JoeWatkins I mean, even if you don't…
 
@MadaraUchiha that is basically for everything search...
 
@iroegbu Not really
 
There's something specific to maths problems...
 
12:55 PM
Go to Amazon and search for "cellphone with best camera" tell me what you find.
 
@DaveRandom yes
 
You mostly get cameras and tripods and lenses and stuff like that
Because it treats "cellphone" and "camera" as equals
 
I think I'll have one of those "X days since git apocalypse" signs made for my office, I'm doing very well at this lately ...
 
If it were to use NLP, it would understand that "cellphone" is the subject, and "best camera" is a condiment.
 
@JoeWatkins hahaha
 
12:57 PM
@JoeWatkins you mean, like your last merge into the wrong branch?
 
@JoeWatkins At my previous company, someone had merged master into a patch branch, and I had to separate them
500 commits worth of cherrypicking
 
@bwoebi that was weeks ago :D
 
shudders
 
I once wiped out a branch of php @Madara
 
@MadaraUchiha log into git server, open reflog and revert?
 
12:59 PM
I wish
 
Or why did that not work?
 
@bwoebi It wasn't merged directly
 
!?
 
00:00 - 13:0013:00 - 00:00

« first day (2241 days earlier)      last day (2692 days later) »