« first day (873 days earlier)      last day (4075 days later) » 

5:00 AM
@crypticツ You can only delete up to five a day though :)
 
I don't believe it has any impact on your standing though. It's good to spring clean yourself.
 
it's not spring yet
so we're still in the winter of hate
 
which followed the summer of love and the fall of boredom
 
5:02 AM
We don't really have a spring, or winter for that matter.
 
just summer and autumn?
 
It's all one blur mesh of rain & sun.
 
user895378
Now is the winter of our discontent made glorious summer!
 
@rdlowrey Bah! You and your fancy seasons =p
 
meh, here it's winter 3/4 of the year and summer 1/4
^^ exaggeration.
 
user895378
5:03 AM
Sorry, I took a lot of Shakespeare courses in college ... don't get to trot that knowledge out very often so I have to take advantage of the opportunities :)
 
@Lusitanian http://pastebin.com/sS0Z4hzB
^^ slight modification of awesome code :)
 
shakespeare and finance and you ended up being a software developer?
da fuq
 
user895378
I'm multi-talented (read: schizophrenic).
 
@crypticツ look who answered that one...
 
5:06 AM
@Lusitanian the thing is too complicated
how am i supposed to select a db
and create a table
 
user895378
Let it be known ... henceforth I shall type "BINGO!" in chat each time I cast the fifth and final close-vote on any question.
 
._.
 
Right, and you won't tell us which question?
 
(that's because i didn't come up with that first)
 
user895378
5:08 AM
Nope. You can treat it like a if you'd like.
 
data query to the rescue!
 
user895378
cheater!
 
closed:yes closedby:rdlowrey =D
almost
 
user895378
Hmm ... perhaps instead of BINGO ... something tanning-themed ...
 
user895378
YOU JUST GOT SNOOKIE'd!
 
5:14 AM
Morning PHP'ers:)
 
user895378
Morning. I guess now that people on the other side of the ocean are hitting the chats I'll stop goofing off.
 
This isn't working. — BBMAN225 42 mins ago
Can't get enough of those informative messages.
 
user895378
Sympathy upvote for coping with help-vampire.
 
"Pls show me the exact codez pls" would have been met already, what's the guys problem grrrr.
Gawd, I see what he did.
He Can't even properly copy-paste ... ffs!
@BBMAN225 y u never copy/paste my code properly? — Jack 9 secs ago
 
5:22 AM
because he is a real programmer , unlike you
 
@tereško Yeah, that could explain it.
0
Q: How to develop a PHP MVC App using REST API as a Model?

potomatoI am going rewrite a app that was developed using procedural PHP and planning to use a framework. The REST API was already developed for the said app and I am wondering if how can I use that to be the model. I have once tried to learn CakePHP with their blog tutorial and found out that the model ...

Here, an question for you :)
 
@Jack fixed
 
haha
 
Who starred the cv-pls?
 
.. and not even slightly funny one
mornings, btw
i can just feel this in my bones: this day will be horrible
 
5:35 AM
morning
 
Morning
 
morning
 
MORNING!
 
yield getLozalizedGreeting();
Has anyone here worked with r before?
 
Arrrrg
nay
i know that John Resig has something to with R, or he did something with it
 
Hmm, Hanky Panky ㇱ and cryptic ツ have a lot in common :)
 
6:29 AM
hi eveybody...i have a question. Is there a custom player for playing youtube video in html5 ?
youtube default player is not needed here
 
@Jack you're on your own, I got no delv privs =o(
 
i too :-(
When we will get that ? At which rep point ?
 
After the deletion, nobody will think that it's easy to author parse errors in php =p
@Rikesh you need 6.5k more, party on :)
So far all the questions I've deleted were all closed by at least hakre and @crypticツ lol
 
Ohh that's too far
 
Anonymous
6:34 AM
hm..
 
@Rikesh But wait, you get one delete vote for every 1k above 10k :)
Until you hit 30, like me :(
 
yeah as cryptic started the shoot on "parse error" hakre & me followed here :)
@Jack thtat's totally unfair :(
 
@Rikesh Tell me about it, I should have 35 delete votes by now
 
@Jack the delete vote limit is a fail-safe in case Jon Skeet goes on a delv spree
 
@hakre: You down vote an almost 4 year old question that was obviously clear enough to be answered in a very timely manner because it's missing a small and, clearly, unnecessary piece of information? Seriously? Does your pedantry know no bounds? — Andy E Mar 4 at 3:10
LOL
@crypticツ That can only be a good thing, because Skeet can do no evil.
 
6:39 AM
@Jack I can complete it in a day ..
 
Anybody got time to answer a quick question?
 
@Rikesh I usually deplete them in less than half an hour
 
haha
really
 
Or @crypticツ do you remember my post from 5 minute ago, the one you said should be deleted because it ended up being a typo?
 
@Jack I concur!
 
6:40 AM
Like .. now =/
 
@XCritics yes, it was deleted already I think you did it right?
 
@crypticツ Yes I did end up deleting it, but I had to re-post it under a new post cause it keeps echoing the else when I don't see anything wrong.. stackoverflow.com/questions/15264760/…
 
@XCritics reposting it is fine, as it is a completely different question now. I'll take a look at it, but brb gotta take the puppies out
 
@crypticツ but you're a cat =/
 
Maybe she means taking them out.
 
6:50 AM
LOL, if people leave a comment instead of an answer, is it cause the post is too centralized or is it cause they don't care about getting a checkmark
 
everybody cares about the checkmark
 
@XCritics see you solved it as it was another typo =oP. You can go ahead and delete it as it will be closed anyway.
 
Be careful with deleting your questions in rapid succession though.
 
@crypticツ haha yeesh, full of them tonight, but is that prepared statement secure? OR is there other security measures I should take
@Jack why is that?
 
6:53 AM
@XCritics Because there are always people watching ... don't do suspicious stuff ;-)
 
@XCritics if you got anymore you can always pastebin them and ask in chat, opposed to posting the question
 
@crypticツ if I post it in chat formatted is that bad, or strictly paste bin?
 
@XCritics if more than say 5 lines I'd pastebin
but that's my limit =oP
 
@crypticツ pastebin.com/xcRWPNQd how secure is this? I recently switched to prepared statements from using real escape, trim, and other things
 
@XCritics That's not half bad actually :)
 
6:56 AM
@Jack I'm really scared of those damn injections hah
 
How would someone approach this lol stackoverflow.com/questions/15264651/… ?
 
@NickFury TL
 
Should be get close
 
narq'ed it.
 
7:00 AM
@andho TL?
 
If I do $mysql -> close() will that also do a $stmt -> close() or do I need to include both?
 
Hmm I actually never explicitly close my db stuff =p
 
@NickFury lol i'm also not sure but I think it's "Too Localized"
me neither, unless doing a long running process
 
ahh yeah, just ignored it XD
 
7:03 AM
Should we just delv every headers already sent post and just keep the primary one?
I mean how many place holders do we need for such a generic error message?
 
@crypticツ seems good to me
 
I wonder how many times my posts have been linked in chat and laughed at >> <<
 
@crypticツ It depends on the number of views and whether it links to a proper dupe.
You can't blindly delete questions without looking at the relative importance it has for those who search.
The differences can be subtle sometimes.
 
@XCritics Believe me, there are worst questions.
 
7:06 AM
@crypticツ yeah this is the master one ...
 
technically won't such Q's be localized as it is dependent on where the user is outputting content in relation to headers
 
For "Header already sent' type question , but I agree with jack too
 
hehe, I hate questions that start like this i am creating social networking site
 
LOL
 
@NickFury That's actually a Google employee in disguise, asking for tips on making their social site better.
 
7:07 AM
@NickFury i got one of those personally from a former team member yesterday
lol @jack
 
@Jack hahaha
 
@NickFury - yeah forwarding with like fb :p
 
i said I don't know ELGG or something, but i would be happy to help SPECIFICALLY with anything
 
One last quick question before I go to bed. Is there anything wrong with this??

if ($inputMarkerVariable == "destroymarker") {
    $mysqli = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_BASE);

        /* Prepare DB Query */
        if ($stmt = $mysqli -> prepare("DELETE FROM Routes WHERE route_id = ?")) {
            $stmt -> bind_param('i', $route_id);
            $stmt -> execute();
            echo 'Deleted Marker Successfuly';
            $stmt -> close();
            $mysqli -> close();

        } else {
Sorry @crypticツ for no pastebin lol
 
@XCritics It's not really about laughing at somebody who posted a weird or bad question...the main goal is to keep the clean, because it's cluttered with questions that won't help anyone. Most of the time the questions are posted before the author even tried searching. And when there is something to laugh about...well...that's just part of the deal. And making someone laugh isn't the worst thing that can happen.
Morning everyone btw.
 
7:10 AM
Morning
 
@TillHelgeHelwig I have to ask a lot of questions about Prepared Statements cause you wouldn't believe how hard it is to try to find an answer about them ,everybody uses real escape strings and $dbc / $query / $result kinda thing
 
@XCritics So long as you try searching first, that's totally fine. And when we close a question it doesn't even mean, that the question is bad. Often it just means that it's too localized and probably will not be of much help to anybody else.
Alright. Heading to the office. BBL.
 
@XCritics this is the default comment we use for such uses of that gist.github.com/MadaraUchiha/3881905
 
@crypticツ ahhh.. But do you see anything wrong in my question above? Nothing is echoing
 
Good morning :)
 
7:17 AM
morns
 
@MihaiIorga morningss
 
@XCritics first you should learn to debug
 
my head hurts looking at this post stackoverflow.com/questions/15265065/…
 
unless you already know how to
 
@andho I can't even get an echo to appear so how might I debug this?
@andho which almost makes me think its not getting into the if statement
 
7:23 AM
first you can check if $inputMarkerVariable == "destroymarker" but doing an echo before the if statement
 
hi to all
 
if the echo outside the if statement also doesn't work
 
how to validate the twitter bootstrap modal validation?
 
just try the simplest thing you possible can
<?php

echo 'something';
if that doesn't work, then you know what's wrong
 
@XCritics error_reporting(-1); might help too?
 
7:25 AM
here is my code it loads an ajax request .once the click the send mail then it reload the page
<form method="post" class="form-horizontal" id="job_email">

<div class="control-group">
<label class="control-label">Your Name <span class="mandate">*</span></label>
<div class="controls inline-block w70">
<input type="text" class="w90" name="yourName" value="" />

</div>
</div>
<div class="control-group">
<label class="control-label">Your email address <span class="mandate">*</span></label>
<div class="controls inline-block w70">
 
@naveen javascript question -> javascript room
 
@andho I'm only getting this Notice: Undefined index: Admin in /var/www/busapp/php/addmarker.php on line 5 other than that it is white with no echo on it
@andho I'm using AJAX to send the post request, the

var dataString = 'inputrouteid=' + $('#inputRoute_Id').val();

then the variable in my php is
$inputrouteid = $_POST['inputrouteid'];
 
@XCritics have you checked the way i said? does it echo outside the if statement?
 
@andho no I don't see anything, it's just a blank white page
@andho with no errors on it
 
@XCritics then have you tried what i suggested after that
 
7:30 AM
@andho only a notice of an undeclared variable
 
6 mins ago, by andho
<?php

echo 'something';
 
yeah I tried that nothing
its just blank white
echo 'input' . $inputMarkerVariable;
right under where I declared my variables
is it cause there is no html?
Or would it still echo to the white space
 
it will echo even if there is no html
if you've tried echo 'something'; and it doesn't work, then how are you invoking this script? Ajax right, try it without ajax. Is it a cross domain request?
 
I'm manually trying to go to the webpage I should see an echo
 
@XCritics yeah, but you don't?
 
7:35 AM
@andho there is nothing there
echo 'HELLLOOO';
But nothing but white
 
does any other page work?
 
and my other ajax requests stop working soon as I try to add an echo
@andho yeah my php/login.php has the word test on it
@andho ok I moved the echo to the VERRRYY top of the page, now it is echoing
I think if ($_SESSION['Admin'] == 1) { was throwing it off
 
-.-
i told you to try a blank page with just echo 'something';
 
I thought the session would carry through though it has session_start on it
Anyways, so that works
 
okay, so that's debugging
just keep going back
@XCritics so you tried with echo just after and before that if statement right
i prefer to use camel case with array keys
 
7:44 AM
@andho so I have this
echo 'Is this working';
if ($inputMarkerVariable == "destroymarker") {

    /* Make Connection! */

    $mysqli = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_BASE);

    /* Prepare the STATEMENT */
    if ($stmt = $mysqli -> prepare("DELETE FROM Routes WHERE route_id = ?")) {
        $stmt -> bind_param('i', $inputrouteid);
        $stmt -> execute();
        echo 'Deleted Marker Successfuly';
        $stmt -> close();
        $mysqli -> close();
    }
}
and I can see the echo 'Is this working' on firebug after I send the AJAX request, but I don't see deleted
 
@XCritics where's the else for the prepare statement
 
user652649
echo 'morning';
 
@andho just did that
@andho and nothing
 
user652649
mmmmmmmh
 
@andho all I see is is this working
 
7:45 AM
@XCritics Stop pasting code blocks in here pls.
 
@Jack my bad
 
@wes undefined morning :P
 
user652649
@NickFury it's a string!!
 
@wes oh nvm my bad, I figured you edited the quotations in.
 
user652649
:P
 
7:48 AM
@andho it's working now :)
 
user652649
possibly first day of spring here
 
@wes still -14c here
 
user652649
holy f* ... where in the world you are?
 
Northern Alberta, it was -38 with windchill 3 days ago, now -14, supposed to get to +1 by tomorrow super excited :)
 
user652649
alberta must be cold even on summer :P great place btw
 
7:53 AM
@wes I live in an area that is very weird for weather, it's +20-30 in summer, -20-30 in winter lol
 
@XCritics fellow Canadian :)
 
@NickFury haha what part?
 
Manitoba
 
user652649
i've been in alaska in june some years ago... i know the weather... is "unpredictable" the right word?
 
@NickFury Winnipeg manitoba?
 
7:55 AM
@XCritics yup :), -14 here too.. and that's considered nice out.
 
@NickFury Do you know a Darcy Jarvis?
 
@XCritics Nope
 
@NickFury ah, just one of my buddies that moved from here to there
 
user652649
@XCritics is canada's population that low? :P
 
7:58 AM
@NickFury thats him yeah haha
 
@wes hahaha 34mil
so yess :P
 
user652649
:P
 
user652649
i went out jog this morning... after 3km i was already wrecked... and still i am.. what a hopeless piece of junk :(
 
@wes no need to show off
<:p>
 
8:06 AM
^^ he knows some of us can barely make it to the door
 
user652649
indeed, i feel pain even sitting on my chair
 
user652649
@iroegbu LOL
 
user652649
3km jogging are nothing... it's even less challenging than simply walking on fast speed
 
Good day all
 
user652649
morning
 
8:11 AM
@dragon112 Goodday
 
monnin'
 
@wes get a bike
or that =oP
 
user652649
LOL
 
@Ocramius morning
 
morning
Gordon, Essen, Germany
111k 11 135 231
there we go. Gold OOP!
 
8:16 AM
@Gordon congratulations!
 
thanks
 
nice!
 
@Gordon I don't even have a bronze yet =(
At what number of answers do you get those?
 
@dragon112 200
 
user652649
8:18 AM
 
@Gordon Oh god, my highest is and it's only 63..
 
user652649
morning Gordon
 
@wes nice I like the colors. mine
 
user652649
@crypticツ nice... offroad or road tyres?
 
@wes road, but I can take it on gravel easily
 
8:24 AM
nice @Gordon, congrats
 
@wes you use clip-ins?
 
user652649
mine wasn't a good bought... since i'm on the Alps and i'm not fit enough to use it. but i'm pretty good on downhills :P
 
you just need to learn to use your gears and have proper posture and pace.
 
dudesssss does anyone knows french or spanish or portuguese?
)
 
user652649
@crypticツ i have both but i use normal pedals primarily
 
8:26 AM
and eat plenty of energy bars. I like to bring a package of oreos with me when I go on my long rides
@wes I use these so have no choice when riding unless I take them off which I don't do. I use to have dual-sided so can use clip and non-clip.
 
i use glucose bars and sunflower seed packs
great energy
 
user652649
cool dual sided... never heard of them
 
@kaᵠ doesn't glucose make you crash afterwards?
 
user652649
btw i'm just too heavy and fat to biking with constancy
 
@MihaiIorga thanks
@donotusetabtodigitthisnick google translate does
 
8:30 AM
@Gordon )
 
@wes then that's more the reason to bike then, no? =o)
 
@Gordon i need to translate 300 lines array
do you know any better service than google translate? :P
 
user652649
i know but i'll need a lot of time to "start" to do some proper aerobic activity
 
I have 50 cv's, aaaand they're gone...
 
@crypticツ no (or i don't think so), i really don't have a sweet tooth, i crave sugars only a couple times a year
 
8:33 AM
@donotusetabtodigitthisnick No. Only paid services. But just paste your array in here: translate.google.de/#en/es/array%28%27One%20beer%20please%27%29
 
oh yep i'm doing this ;)
thanks dude
not so simple cause dunno why Gtrans removes some chars etc
little bit hell )
 
user652649
@crypticツ you know lots of professionals cyclists and in general athletes train themselves near where i live? :P you know who Ivan Basso is?
 
pantani, ivan basso, cipollini
all from my country and region
lol
but i hate bycicles
@wes
 
user652649
yeah :P i'm italian too dude
 
oh god) lol from where dude?
i guess i already asked you this but i'm rly %)
 
user652649
8:40 AM
i'm from south... but i live where you live :P
 
lol tuscany dude?
here on front of the sea )
 
user652649
ah! two italians here... you are the first other italian that i see here
 
u too ) it's nice dude ;)
 
user652649
btw not tuscany... i thought you was talking of northern italy
 
Wut, why soo many italians? O_o
 
user652649
8:42 AM
i'm in friuli
 
@wes mandi!
 
friuli, can u believe i think it's the only one region i never been in?
)
 
pizza !
 
guess is nice region )
 
user652649
8:42 AM
lol
 
:)
 
@kaᵠ italy.push('mandolino', 'mafia')
 
spaghetti pizza mandolino mafia berlusconi
 
user652649
lol
 
8:43 AM
+pasta ?
 
oh gosh u right dude
pasta ++
but also pomodoro and so on
)
 
@kaᵠ yup. I actually really miss italian food. Everything is better here except food (and climate)
 
user652649
parmigiano!
 
pasta is now at 2
 
8:44 AM
and mozzarella... yummy
 
well 1° pizza 2° spaghetti or pasta i guess
 
user652649
italy.push('ferrari','lamborghini')
 
user652649
:P
 
we are on top of the world foods, wines,cars,girls
nothing more )
but with have bd politicians lol
 
8:46 AM
@wes where in friùl?
 
user652649
near udine
 
user652649
talking about italy...
 
user652649
 
ugly car
 
user652649
@kaᵠ whats "not ugly" for you? :P
 
user652649
8:54 AM
better to start working btw. later chaps
 
joking @wes
ofcourse
 
user652649
:P later
 
@wes gotcha. I'm from zoppola fyi
 

« first day (873 days earlier)      last day (4075 days later) »