« first day (1994 days earlier)      last day (2968 days later) » 

9:01 AM
@DaveRandom It's now saved for special occasions :)
 
@Epodax depends on "for what"
 
@tereško Personal server I can use for everything random that I can think of ^^
 
since there is almost no chance of talking you into using FreeBSD, my recommendation would be Arch, because of the rolling release model for packages
 
I'm used to VMware esxi from work, but I figured I could try something else for my own servers.
 
oh
you mean that type of virtualization OS
 
9:07 AM
yeps
 
hello
 
hmm .....
 
someone speak Dokku?
....
I have these docker-options:

user@MyHost:~# dokku docker-options myApp

Build options:
--link dokku.mariadb.myApp:dokku-mariadb-myApp

Deploy options:
--link dokku.mariadb.myApp:dokku-mariadb-myApp
-v /opt/myApp/wp-content/plugins:/app/wp-content/plugins
-v /opt/myApp/wp-content/uploads:/app/wp-content/uploads

Run options:
--link dokku.mariadb.myApp:dokku-mariadb-myApp
-v /opt/myApp/wp-content/plugins:/app/wp-content/plugins

...
I can install new themes, but when I go to Design>Editor and edit a file of my current theme (e.g header.php) and save it, it doesn't affect anything, even when
 
@tereško I know of Proxmox and CoreOS (and windows ofc, but that costs money :( ), but I can't seem to find either giving me a certain advantage to decide on either :p
 
no one? dokku ? :)
 
9:12 AM
if you intend to running mostly linux stuff on it, I would probably just go with Xen
 
Hi
Could anyone help me about PHP logic?
if( $_POST['Signature'] == $_POST['Signature']){? — Hobo yesterday
0
Q: PHP Logic - Always Fails When Generate Different Output For Same Flag Status

user3077416I am making a custom payment wordpress plugin for my local bank (BCA Sakuku) and have problem when generate different output for same flag status always got "00" just for success case but got failed for other three cases such as "Invalid TransactionID" case, "Invalid Signature" case, & "Double Pa...

 
@tereško ooh, that's new, you need to install xen through another OS
 
@user3077416 wat?!
That makes no sense on multiple levels
 
Can Anybody Help Me On This ~ stackoverfiow.com/questions/845021/sqlite-so-missing-php-5-3 ? Any help would be appreciated!
9
 
@Saitama You son of a freezer.
 
9:22 AM
Yup. That's a good question.
 
@Epodax lol
 
@PeeHaa yeah It must be have 4 cases to get expected response so we can continue for next page
 
@user3077416 $_POST['Signature'] == $_POST['Signature'] would always return true no matter what... So that does not at all make any sense....
 
Hi! please anyone tell me how to check the number of rows returned when using pdo?
 
9:26 AM
@tereško sorry to bother you I tried your answer to remove duplicate rows but I got no rows fetched in my view
 
@Saitama How did you do it? the URL looks legit :o
 
0
Q: Can't regenerate Wordpress Images

user3037960My Wordpress is runing und Dokku - When I try to resize the images in my Wordpress/Woocommerce settings and then run the "Regenerate Thumbnails" plugin to processing the images again it doesn't affect anything. I have this options on my Dokku container: > ~# dokku docker-options myApp > Bu...

 
@Epodax well, that domain was purchased by @FélixGagnon-Grenier and @PeeHaa and I happen to use it sometimes... BTW that domain is not stackover-l-ow check it closely!!
 
That reminds me. brb trolling /android
 
yea.. rebecca black friday as well as april fools day. interesting combination
 
Raj
9:34 AM
hello every one can any one helps me ?
 
april fools day -> today apple was founded
 
@Saitama You sneaky sandal.
 
Raj
i submiting php from using jquery every thing working ok but when i click on submit button ajax call happen two times $('#frm_u_profile').submit(function(e)
{
e.preventDefault();
var frm_data= $("#frm_u_profile").serialize();
//alert(frm_data);
$.get('ajax_actions.php?act=update_user_info&frm_data='+frm_data,function(data)
{
alert(data);
});

});
 
@Epodax ;-)
 
@AnmolRaghuvanshiVersion1.0 Well, seems fitting. As all the people lying out in front of their stores a week in advance to get a new phone are definitely a joke.
 
@BobNocraz Ouch.
 
Hi guys how to get the number of rows in pdo?plz
@BobNocraz yes..i like that!!!
 
@Saitama @PeeHaa Because I modified it to get same result for temporary and just focus about to fix to get different Flag Status when generating output but I already retyped again for result.php script
 
9:43 AM
that reminds me google nose
 
Raj
@astrosixer use like that SELECT COUNT(*) FROM coursescompleted where person=:p
 
Raj
@Saitama ya ...
@Saitama can u help in that i submiting php from using jquery every thing working ok but when i click on submit button ajax call happen two times
 
Tried to fetch result from postgresql in mac
 
@Raj have you tried to debug your JS?
 
9:48 AM
But got error saying "Call to undefined function pg_connect()"
Any idea?
 
Install the postgres ext
 
HOw?
i am new to php.sorry
 
Ask your system adminisrator
 
@saitama @PeeHaa For further detail please check out this link: sandbox.sprintasia.net/sakuku/6468dc33370ff112ac15fcf84762f051
 
@PeeHaa : There is no system admin. Have to do alone
 
9:51 AM
@user3077416 Could you please not ping me every time. I already said that some line didn't make any sense
 
Raj
@Saitama ....ya nothing else when i remove $("#formod").serialize(); its working fine....
 
@Peeha But Already retyped for result.php script
@peeHaa Sorry and more than one week still not luck to fix it
 
@PeeHaa : It was for windows and i was working on Mac
 
/me waiting for PeeHaa to go mad
 
9:54 AM
f_k, it's already tomorrow
 
@Saitama I just hit the ignore button ;)
 
Is there a limit on the ignore list?
 
@Raj so I have to execute another query..
 
@Epodax Don't think so
 
In case you haven't seen it already: reddit.com/r/PHP
 
9:57 AM
@Raj But I got it. Use $no_of_rows = $stmt->fetchColumn();
 
too_much laravel
 
> Good news for PHP developers: PHP 7.0 is now the default PHP package shipping in Ubuntu LTS 16.04 (Xenial Xerus) starting from April 2016!
 
Not sure if April Fools joke or good news... :/
 
So now they are telling that they would provide PHP 7 , AFTER I removed Ubuntu and spent 2 - 3 days to Compile PHP 7 in Mint...
 
PHP7 is a revolution. I want to propose to create like two branches, PHP5 packages an PHP7 packages, like Python (python3 and python).
php5 (Ubuntu)
Wishlist / Fix Released
 
10:01 AM
@Saitama That's why people just use packages...
 
@PeeHaa Lucky you 'eh? :p
 
Ondřej Surý (ondrej) wrote on 2015-12-04:
> Nah, php7 is not a revolution. php5 over php4 broke API too much, but php7 is much more close to php5.6 than php3 to php4 or php4 to php5 ever was
???
 
ha, reddit
 
later folks
 
o/
 
10:06 AM
Thanks @PeeHaa, that was quick :)
 
:)
 
Perks Of Holding A Gold PHP Badge
 
Yeah, I'm still saving up for one.
Still need 530 additional score on PHP answers to achieve it.
 
:P gl !!
 
Thanks, I'll get there.
I just need some answer like this on a PHP question: stackoverflow.com/a/9189873/214577
That thing just keeps going up every other day or so.
It actually amazes me how many people apparently don't know the difference.
Basic CSS stuff.
 
10:10 AM
lol
 
Raj
@astrosixer i mean insted of doing extra work u can place count () in youe existing query
 
the answers on most basic things are the ones which receives the most number of upvotes ;)
 
Yeah, looks like it.
 
With the exception of
14092
Q: Why is processing a sorted array faster than an unsorted array?

GManNickGHere is a piece of C++ code that seems very peculiar. For some strange reason, sorting the data miraculously makes the code almost six times faster. #include <algorithm> #include <ctime> #include <iostream> int main() { // Generate data const unsigned arraySize = 32768; int data[arr...

 
Whoa, damn.
That's a lot of votes.
 
10:13 AM
yup.... :'(
 
I love the train explanation though.
Makes it very understandable.
 
lel
BTW this is youtube.com/watch?v=0k_1kvDh2UA most under rated song from Coldplay :'(
 
Ugh, any coldplay song is overrated by default.
I really don't like the way Chris Martin moans into his mic every song.
 
:/
 
Good morning all, I'm not knowledgable of htaccess directives but was wondering if the following line would be considered a 301 from http to https
 
Anonymous
10:19 AM
Hey Oldskool, have you ever had a situ where cakePHP returns success on save but it doesn't save?
 
@Jay Not that I recall.
 
RewriteRule ^(.*)$ mysite.com$1 [R,L]
 
@Stuart Eh, no.
I don't see any https:// in the redirect.
 
Oh im sorry
 
Anonymous
So confused... Updating one column in the db via an AJAX request, works perfectly locally. On dev server, no joy at all. Cake claims it saves fine, no errors in apache log but no change in db at all...
 
10:20 AM
And I think R defaults to 302 and you explicitly need to se R=301
 
Meant to say RewriteRule ^(.*)$ mysite.com$1 [R,L]
 
Oh sorry, it's the chat linking it that messes it up :)
Makes the https:// invisible ;-)
 
Also trying to chat with hosting company
Yea... it had https: before being removed
 
20
Q: http to https through .htaccess

fitzillaI've had a look through existing questions, but I haven't really come across anything which works for me. I'm currently running a site with a Secure SSL certificate. It can be accessed at https://www.example.co.uk a problem is the site can also be accessed at http://www.example.co.uk - I don't w...

Something like that should do.
 
Thanks @Oldskool I'll be reading
 
Raj
10:26 AM
@Oldskool hey hi this raj from pune india is any future sccope as php developer?
 
ROFL. A well know hub for adult content is SFW today … until you click something.
 
hot buttered action
 
just how i like my corn
 
@Gordon github?
 
10:36 AM
@bwoebi no, the other hub. the one that rhymes with corn
 
@Gordon what is it ???
 
Cornhub
 
@Gordon huborn ?
:-D
 
forlornhub
 
10:39 AM
adornhub
 
you innocent little delicate flowers you
 
Not @PeeHaa ^
 
@Gordon Why shouldn't we? … Is there anything interesting about that thing rhyming with corn?
 
haha, wornhub
 
Raj
@Fabor hey hi this raj from pune india is any future sccope as php developer?
 
10:46 AM
@Raj no
 
@Raj Hey Raj from Pune India, future scope is a theme park in Southern France. They might be hiring.
 
Troll Level: 100
 
Raj
@Fabor hey man if u not intrested to give ans then dont give but dont use such language
 
English is my only language though :(
@Raj FTR it's April Fools day, it's hard to get serious answers out of anyone today.
 
@Raj hey man if u not intrested to get ans then dont ask and dont ping random ppl
 
10:51 AM
That too ^
 
Raj
ohhhhhhh its April Fools ..............Sorry Bro...........
 
Holy MOLY.
 
@Fabor someone ought to register peehaab.com
 
@Saitama neeeeeeeed
 
10:58 AM
> PHP Warning: unlink(/[snip]/public_html): Permission denied in /[snip]/public_html/path/to/terribleWrittenPhpFile.php on line 180, referer: ...
if ($isTemplateImage) unlink( $_SERVER['DOCUMENT_ROOT'] . json_decode($page->page_content)->{$name});
I want to punch whoever wrote that.
 
@JoeWatkins :P
 
Anonymous
Meh this room should have some april fool jokes
 
@Sean git blame. but dont come crying afterwards if you find out it was your former self ;)
 
@Gordon Old developer, no longer works at the company ):
I say old, I mean junior.
 
if they bring out a core equivalent, I'll be pissed ...
> Think your eight-core PC is cool?
yes ... shut up ...
 
11:02 AM
> Page Internal Optimised for performance and readability.
 
hehe... :')
 
Nice optimization by trying to remove public_html
 
Anonymous
meh
 
Anonymous
 
omg, they are doing a core one ...
 
11:03 AM
Hi everybody, is it possible to send html canvas to database without saving canvas as .png .jpg etc.? :)
 
Anonymous
@Skyluk you can save the raw content.
 
@samayo is that you??
 
Anonymous
Nope, you can read my name to the left
 
@JoeWatkins (pssscht, but these cores are all 0.5 GHz) (j/k)
 
thanks :) @samayo

I will try
 
@samayo imposter
 
Anonymous
You are the real imposter :p
 
At some point we had a lot of people changing their name to a single one. That didn't end well :)
 
looks like you missed a semicolon there https://t.co/NELpqw46jw
 
lol
 
11:12 AM
@samayo Nice April Fools ;-)
 
how do we know which one to kill ?
we'll have to kill both ...
!!killall Gordons
 
@samayo next time impost as someone who isn't room owner ;-D
too easy to note the missing italics
 
doppelganger
 
@JoeWatkins you mean !!killall -9 Gordon :-)
 
@bwoebi too late, I killed them both ...
 
Anonymous
11:19 AM
hmm, can you kill a daemon after piping/filtering it from ps aux ?
 
Anonymous
pkill | ps aux | grep [reputation.+100K]
 
Anonymous
@Saitama nice :)
 
:29692616 you… :'-D
 
:)
 
@Oldskool took me a moment…
 
Anonymous
11:22 AM
@Andrea Hi.
 
@FlorianMargaine I was the one who sneakily updated it to be a PHP 7 elePHPant for 7.0.3 :3
@Gordon hey!
 
Anonymous
@Andrea How are you doing?
 
Good.
I get this great feeling of foreboding as if I'm about to be asked something.
 
Anonymous
Well, there is definitely something .. you're right about that.
 
hehe
 
Anonymous
11:24 AM
@samayo nice try :)
 
it will be fun today :)
 
@Gordon sounds like a line from a tech necronomicon
 
@tereško it's not, the font is wrong
 
Anonymous
@AnmolRaghuvanshiVersion1.0 not if you don't participate.
 
Now we have two @Gordon and two @bwoebi in here … uuuuhm :-D
 
11:27 AM
@bwoebi well, I am sure you are the imposter
 
:-P
 
Anonymous
@SergeyTelshevsky what?
 
@Gordon Gordon will be in game soon ;)
 
> hmm, can you kill a daemon after piping/filtering it from ps aux ?
 
will both gordon will be pinged??
 
11:29 AM
@Gordon you're not the real Gordon
 
Anonymous
@AnmolRaghuvanshiVersion1.0 yes, me and the imposter will both hear the ping.
 
pfft, somebody quickly change his/her name to PeeHaa
 
he already has enough pings to deal with
 
Anonymous
@littlepootis what do you mean? he is no longer a mod.
 
PeeHaa was a mod too?
 
11:32 AM
room owner yes, not mod.
@Andrea oh, haha … you also did add different images for 5.5 and 5.6 :-D :-D :-D
 
@bwoebi I didn't, other people have sneakily changed them at different times :)
 
@Andrea ah :-D
 
@SergeyTelshevsky Sure, just get it's pid and kill -9 it
@SergeyTelshevsky For example to kill all processes with "php" in it: ps aux|grep php|awk {'print $2'}|xargs kill -9
 
@Oldskool yeah, I know mate, I was j/k, and looks like it was stupid
 
Someone should take over the Generics RFC and announce tomorrow that it just were an April fools with the words "Did you really think Generics would be a good idea? haha"
 
11:45 AM
lol
 
Hmm, what's today's street view icon supposed to be? Doesn't look familiar to me.
 
If we all change our name to a name (for example "X") if somebody pings X, we all get pinged?
 
@bwoebi apparently, yes
 
@bwoebi yes, except if you are doing a direct reply to a message (via :msg-id)
 
11:48 AM
...
 
oh i get it ;-)
 
Anonymous
12:00 PM
@Oldskool Baffled. Do you mind if I run my code by you before I ask in Cake IRC?.. I cannot see any reason why it's failing.
 
@Jay No, I don't mind. Fire away.
 
Anonymous
 
Afternoon all
 
Holy shit bad april fools joke font
 
Anonymous
Just wanted to check that I haven't missed anything obvious
 
12:04 PM
Can anyone explain the difference between these two for me: 3v4l.org/b82na 3v4l.org/ff7eg
 
@PeeHaa hey!!
 
Anonymous
@Jay do you really use that font?
 
@Jay Hmm, by default model names should be singular. So $this->Reservation instead of Reservations. I believe some versions of cake (very unfortunately because it happens without you noticing) default back to the AppModel if the model you specified doesn't exist.
Might be as simple as that.
But I'm not sure if it does that anymore though.
 
@LeeDavis Try to do $b = null;
 
Anonymous
@Gordon literally have no idea what you're talking about :L
 
Anonymous
12:07 PM
@Oldskool hmm, I've plural for other methods and it works :s
 
Anonymous
It's gonna be something really obvious.. I'll keep looking :/
 
@Jay OK, they probably changed that then. I'm mainly familiar with Cake 2.x, not so much with 3, in which they totally rehauled the ORM.
So might very well be plural for the repositories now.
Would make sense as well.
 
Anonymous
@Oldskool Hmm, this is odd. Thanks for looking at the code, i'll start from scratch and see what i've missed
 
@PeeHaa I see. Thanks.
 
@Jay Looks like you're doing it the right way... book.cakephp.org/3.0/en/orm/saving-data.html#updating-data
Looks similar, other than they call the TableRegistry directly there.
 
12:13 PM
@Gordon can you please change your avatar and name back? thanks.
 
But I assume $this->Reservations already points to the TableRegistry in your example.
 
Anonymous
@Gordon But I'm the real one.
 
@Gordon What happened to your rep then?
You seem to have lost 195k rep ...
all of a sudden
How could that be? ;)
 
Anonymous
I gave it away for charity.
 
@Gordon I won't ask twice :)
 
12:14 PM
LOL
 
@Gordon you realize at this point it'll need a mod or he has to wait 30 days
the name at least.
 
Maybe I should write a PHP compiler
 
@rlemon Did he do it network wide?
 
Anonymous
@rlemon Nope, he can reverse it via the other SE sites.
 
I know, I know, other people have already done that, I'd be wasting time reinventing a wheel that Anthony & co. invented much better
 
12:16 PM
@Gordon ohh hackery
 
but...
Like, I'd like a PHP compiler – and I mean a proper compiler with type inference and such, not just a simple thing – which is intelligent
One that could, for example, understand PHP code well enough to produce efficient JS without changing PHP semantics
Anyway, imma go eat
 
hi
when do you usually create a new controller in codeigniter?
 
@Ricardo Basically the same as in any MVC environment. Whenever you need to control something. ;-)
A good rule of thumb is, if you need a front-end entry point (something that can be called by going to a specific URL), you need a controller.
 
so it's possible to create just one controller for the whole project?
 
Theoretically, yes.
It's gonna be a huge pile of shite, but yes.
 
12:25 PM
ohh
thanks
 
But do yourself and future collaborators a favor and split things up to keep it clean and readable. :)
 
@JonClements much better. thanks.
 
so that's the only reason for making different controllers?
 
ohai @JonClements o/
 
'cause i'm a bit confused because I don't know when to create a new one
 
12:27 PM
@Ricardo Try reading up on separation of concerns. You'll thank yourself later ;-)
 
@PeeHaa Heya :)
 
ok thanks
 
@JonClements So is today crazier than usual for mods?
 
@Ricardo SoC is very applicable to controllers.
 
@Machavity Depends on the definition of "usual" I guess :p
 
12:29 PM
thank you :)
 
@Ricardo You're welcome. I even know some projects that take it as far as having a separate controller for each action even if it regards the same thing. For instance a separate UserEditController and UserCreateController, instead of one UserController.
But that might be a step too far for now ;-)
Just saying that it's being done.
 
Anonymous
foo
 
bar
 
Anonymous
@Gordon @JonClements Really?
 
Anonymous
Why this was just fun.
 
Anonymous
12:33 PM
What if my name is Gordon btw, who gave you the right to change it without asking me @JonClements ?
 
@samayo yeah, for like ten minutes. Then it became confusing and annoying. And since I asked you to change it back and you didnt…
 
Well, it would be fine to call yourself Gordon obviously. But stealing someone's custom avatar along with it, that's not nice.
 
Anonymous
@Gordon Yeah, I understand your point. I'm just pissed at the mod who made the change only by taking your word.
 
@Andrea you didn't tell me 7.0.3 :(
I had an old 7.0.0 lying around...
 
12:37 PM
@samayo and why wouldnt he take my word for it? You know I was a mod. Jon knows that, too. And you were indeed using my custom avatar, which technically means you were impersonating me, which is a valid reason to ask for a change.
 
@samayo You'd be amazed how much the word of an ex-mod with a high reputation (both in actual rep points, but also by other acknowledgement) is worth... but I guess you just figured out how much ;-)
 
Anonymous
@Oldskool Nope, I've always known there was an excessive amount of repo-tism in SO even by the mods.
 
Anonymous
@Gordon It's ok, I didn't do it to harm anyone, and I'm sure the mod is a really .... um good human being.
 
I HATE SOAP!!!!!!1111111oneoneone
 
Try a loofa
 
12:43 PM
@DaveRandom Yeah, that was one April Fool's joke that went too far
 
@samayo me being a retired mod probably helps with credibility. but that's not the deciding factor.
 
lol ^^
 
It's still discretion of the mod. Even without credibility the mod has the right to make a call, right or wrong. Credibility simply weighs in to that decision making.
Plus there's a UID to help distinguish the fact -_-
 
@samayo impersonating another user (which you effectively were) - regardless of who that user is, is just not tolerated. Everyone realised it wasn't the real Gordon, but imagine what'd happen if your "joke" got out of hand and you did something that someone associated with Gordon... we'd then have a bigger mess rather than you just being peeved off about someone ending your "fun" :)
 
@DaveRandom Welcome to the club!
 
12:47 PM
@Ricardo I have had to maintain a project, which had a single 3000+ line controller .. it is not healthy
 
Now return my rightful username @DaveRandom to me please Jon ;)
 
@Fabor you are not @DaveRandom. You are @PeeHaa.
 
lol. I feel dirtier already.
 
@Gordon you are Joe. Stop impersonating Gordon.
wait, no
Joe is too nice for that.
 
@FlorianMargaine says John Resig
 
12:50 PM
@PeeHaa is actually Rebecca Black.
17
 
@Fabor I'd believe that
 
@Fabor Seems plausible.
 
He She started the whole R.black Friday to get more money from youtube views. Plausible indeed.
 
I think everyone should change nicknames to Gordon .. and avatars too
 
@tereško I'll flag all of you
 
12:52 PM
we should change our names to tereško... :P
 
@Gordon Bah - sounds like that'd be work for me - I'd probably just put my paws up while dubbing along to "Will the real Gordon please stand up - please stand up"... and watch the chaos :p
 
/me stands up
see, not difficult!
 
I went to the dentist expecting to get my wisdom teeth pulled. Turns out it was just a dental cleaning today...
 
@Fabor I'd write his name in for president of the US, but they won't take Peehaa and I can't spell his real name for the life of me :(
 
12:56 PM
@Patrick Yeah, dentists are like that... they need to save something to scare the life out of you for the next visit ;-)
 
@Gordon But I'm Spartacus!
 
@JonClements I suggest to suspend everyone but me for today. That will put an end to the shenanigans
 
@Oldskool I messed up. But I have to do it in october for real...
 
@Patrick Depending on your dentist, it's not always bad.
 
I already took 2 out. It was not horrible but the week after was far from pleasant
 
12:58 PM
I had 3 of mine pulled in a single sitting, had some swollen cheeks for a few days, but wasn't all that painful really. Just inconvenient.
But I had it done by a surgeon though, my dentist was smart enough to know he'd better let a professional handle it instead of trying it himself.
And I'm still thankful for that.
 

« first day (1994 days earlier)      last day (2968 days later) »