« first day (1561 days earlier)      last day (3380 days later) » 

6:00 PM
@LightnessRacesinOrbit Let me advise you to never eat a prius. God damned hybrids always taste like battery acid.
 
:)
-1
A: mysql_insert_id() is not working

Martincorrect usage of mysql_insert_id is: $sql="INSERT INTO ".$table." (creator) VALUES ('$creator')"; mysql_query($sql); $id = mysql_insert_id(); $id returns the value of the last insert statment.

Someone upvote my shit here, would you? This moron's getting comment upvotes despite being horribly wrong.
 
user784668
@LightnessRacesinOrbit No, it's .
 
I like how they're all "use mysqli/PDO" and nobody commented on using string interpolation to build the query
PHP developers: the important issues
 
@CatPlusPlus It's like they don't bother explaining how to use PDO properly any more. To be fair, doing it on every single question would be quite boring. Only the really dedicated people are left contributing with any degree of frequency to that tag.
Although that being said, there's next to nothing wrong with that string interpolation in this case.
(I'd still protect the session variable, personally.)
 
6:07 PM
Habits etc
 
tbh I didn't really pay attention to the rest of the code
 
@CatPlusPlus In that tag, "use PDO" is the equivalent to "use std::vector" in . It's something you can say without thinking too much about the actual question.
 
user784668
@LightnessRacesinOrbit How do I use PDO properly?
 
user784668
Trick question: I don't, I don't write PHP.
 
user784668
6:10 PM
Also it's PHP so it's impossible to do anything properly.
 
@Fanael from a distance
 
this is not a philosophy board. stick to the question. — tony gil 10 hours ago
 
"Look at me I can't read wooo"
3
 
@R.MartinhoFernandes fixed
 
user784668
6:12 PM
@R.MartinhoFernandes TBF he's right: this is not a philosophy board.
 
@CatPlusPlus ahahaha I just pictured some generic individual saying that whilst waving their hands about mockingly. It was probably you.
@Fanael I think the problem is the "stick to the question"
 
user784668
@LightnessRacesinOrbit Fuck questions. And fuck sticks.
 
I'm more generic than a
 
He's poked the dragon now
Please learn how to use your keyboard's SHIFT key. In English, sentences begin with capital letters. I think three years' membership and 168 answers should have given you sufficient experience using this site to spot that we expect certain quality standards. Thank you. — Lightness Races in Orbit 43 secs ago
 
user784668
@LightnessRacesinOrbit please lrn how no 2 b a presctiptivist plz
 
6:14 PM
0
Q: Economization of Program

Siddharth BhayanaThis code of mine is taking too long to compile. Please economize it so that I may`see its output! According to my compiler (CodeBlocks), there's no error present out here. Thank you! #include<iostream> #include<conio.h> int palindrome(long); int product(long); long i=998001; int main() { w...

lolwtf
 
fakin kant dno how to use caps innit
 
> Please economize it so that I may`see its output!
 
can't even write his name or "GPS" in caps
that's like offensively lazy or something
 
@LightnessRacesinOrbit Did tonygil delete his comment?
 
@Nooble ah dammit
that's actually kind of annoying
more likely the Lounge flagged it out tbh
 
6:15 PM
That's sad. I gave him so philosophy too.
 
especially because
> seen 9 hours ago
 
Hmm. You might be right.
 
you should get used to it
£2,000. Half upfront via PayPal, please. — Lightness Races in Orbit 5 secs ago
 
BTW I don't mean to sound rude but your code indentation style is bloody awful — Lightness Races in Orbit just now
@AlexM. no he didn't
 
6:17 PM
he deleted his comment
that was saying "Think before you say."
 
oh comment sorry
I saw the comment anyway yeah :)
"Think before you speak!"
as if that somehow addresses our concerns with the post
 
> This question was voluntarily removed by its author.
ololol
 
okay now he deleted it
I only found out because I was wondering how my deletevote was suddenly binding. turns out.... it's not. it was 6 seconds late.
 
user1804599
submethod BUILD(:@!args) { } # sigils! <3
 
earthscience.stackexchange.com/review/suggested-edits/1383 /cc @R.MartinhoFernandes #language-lawyer
the question itself is pretty humourous, too
> My question is, why didn't all the water freeze? AFAIK Earth was frozen for 10 million years, so I think it was enough time. Something must have kept deep water from freezing, what was it? Geothermal warmth? Underwater volcanoes? Both seem to be too weak sources of energy for keeping deep ocean liquid.
totes scientific
 
user784668
6:21 PM
> Earth was frozen for 10 million years
 
user784668
Earth is 6000 years old
 
@Fanael ...
also hey, you weren't here for quite some time
 
user784668
@BartekBanachewicz Here: take this ellipsis: …
 
@Fanael Lol.
 
user1804599
Bullshit.
 
user1804599
6:23 PM
Earth is 2015 years old.
 
^
 
user784668
@рытфолд No, 'Murica is 2015 years old.
 
user1804599
That's an ellipse, not an ellipsis.
 
2014. You start counting at 1.
 
user1804599
6:24 PM
 
Well, we don't, but calendar people do.
 
sbi
@R.MartinhoFernandes Why in the world was this question closed "as unclear what you're asking"? That's stupid, @Rapptz, @MartinJames! Voted to reopen.
 
Really mature, there, downvoting my complete and thorough answer. — Lightness Races in Orbit 2 mins ago
@LightnessRacesinOrbit How do you know it was him?
 
Am I the only one here who uses caps lock instead of shift (on a physical keyboard, anyways)?
 
@Fanael Oooh total trollbait I'm posting that
@Jefffrey I don't at all. I'm pissed off at him though so he deserves a crappy comment like that
How can Earth have been frozen for 10 million years when it's only 6,000 years old? o.O — Lightness Races in Orbit 5 secs ago
inb4 sparks
@Nooble yes
 
6:28 PM
@LightnessRacesinOrbit Weirdo. Inefficiency is the best.
 
@LightnessRacesinOrbit How do you know it's only 6,000 years old?
 
@Nooble Inn Efficiency is great. Helps you find the best deal for a lovely king room overnight with breakfast.
@Jefffrey Because I created it, motherfrakker.
 
Wait, isn't motherfrakker actually considered a compliment, given that that means I frak mums?
 
@LightnessRacesinOrbit That's pretty good flamebait.
 
@Mysticial Thanks! I came up with it all by myself.
@Jefffrey The implication is that you frak your own mum.
 
6:34 PM
As well as yours and OP's, right?
 
@LightnessRacesinOrbit That would be an own-motherfrakker.
 
guys
 
Yes?
 
Serious question: is your bottom-left side of your stomach a little bit bigger?
 
No?
@Jefffrey You have cancer.
 
user784668
6:38 PM
@orlp What's worse, he's @Jefffrey.
 
@Jefffrey I don't know, I'm a koala.
 
@Fanael Dear god.
 
In all seriousness, I'm pretty sure that's normal.
 
wtf
no, it's not
 
user784668
@orlp Yes?
 
6:39 PM
@Fanael Dad?
 
btw it's fucked up that we're symmetrical on the outside but not on the inside
 
I mean like, don't expect your stomach to be freaking uniform.
 
also don't expect it to bulge on one side....
go to a doctor
 
@LightnessRacesinOrbit He said a little bit.
 
I have the bottom-left part at the same swollen-size for a month now. No pain, no nothing expect swollen.
 
6:40 PM
go to a doctor.
sounds like a tumour to me
 
If I touch I don't feel anything hard or weird.
 
why would you not do anything about it for a month
and then your only action is to ask the Lounge about it
 
user784668
@Nooble My stomach is freaking normal
 
2 mins ago, by orlp
@Jefffrey You have cancer.
 
user784668
fuck i cunt spell
10
 
6:41 PM
lol
who stars "guys" btw
 
> A swollen abdomen has a number of potential causes, and it is a common occurrence.
 
who stars "who stars 'guys' btw" btw
@Jefffrey Yes, cancer is rather common.
 
user784668
@LightnessRacesinOrbit ur mom
 
> It’s unlikely that your swollen abdomen is the result of any serious illness, but there are a few things you should look out for. Call your doctor if your abdomen is getting bigger or you have other symptoms that accompany the swelling, such as fever or nausea. Seek medical care if you have extreme diarrhea or blood in your stool. If you find that you’re unable to eat or drink for more than eight hours, tell your doctor.
 
who stars «who stars "who stars 'guys' btw" btw» btw
 
6:42 PM
@LightnessRacesinOrbit Maybe I'm pregnant.
 
@Jefffrey Crappy advice like that is why people keep dying of cancer.
 
Who stars "Who stars "who stars "who stars guys btw"?"
 
I've run out of quoting mechanisma
 
user784668
guys, stahp
 
refuse to introduce backslashes or those awful R"()" things
 
user784668
6:43 PM
Seriously, what the fuck is going on with my spelling today.
 
screw you owner :(
 
wait what
 
you think you're being all mysticial hiding in the shadows not revealing your identity
 
where did my stars go
 
6:45 PM
on guys and on meta-guys
 
@LightnessRacesinOrbit That might have something to do with the fact that cancer is often not curable.
 
user784668
@orlp They're black holes now.
 
@Jefffrey Most cancers are curable when treatment is sought early enough.
and let's just gloss over the fact that that is an entirely vacuous statement
 
@Jeffrey I don't usually recommend taking medical advice from people on the Internet who can't see you, but do what Lightness says and go to a bloody doctor. You've worried about it for a month now; even if it turns out to be nothing serious, the peace of mind will be worth it.
 
A bulge on your stomach that is detected early has a near 100% survival rate
they literally can just cut it out pretty much
 
6:47 PM
> do what Lightness says
 
it's when it's spreads you're fucked
 
good advice for life tbh
 
user784668
@LightnessRacesinOrbit it's not
 
anyway, I'm a medical doctor with 35 years' practionitioning experience, so
[sic]
 
@Fanael Yore spiel chucker bee miss taken inn it's chucking.
 
6:47 PM
oh ohm
 
my god
this one is so much better
 
Rolex24 race is starting like soon
 
I ordered sushi from two restaurants
same price, same amount
one was disgusting, this one is delicious
 
@BartekBanachewicz Is that the one where a bunch of nerds sits watching their watches for 24 hours to see which watch makes it back to 00:00 first? And shouldn't that in fact be a 12-hour race?
 
what
 
6:48 PM
@LightnessRacesinOrbit it's sponsored by rolex, silly
 
Breaking news: different restaurants vary in food quality
 
and the cars are p much the same as in Blancpain
 
@BartekBanachewicz Well a watch race sponsored by anyone else would just be stupid!!
 
@LightnessRacesinOrbit yeah but the difference in quality is massive
 
@LightnessRacesinOrbit Wait, why are you telling me to go see a doctor?
 
6:49 PM
@LightnessRacesinOrbit and literally the same price and amount
 
@orlp a bit like my....
...intellect
 
@LightnessRacesinOrbit the difference in your intellect is massive?
 
@LightnessRacesinOrbit 12-hour system needs to die
 
compared to mine, yes
 
@Jefffrey Because you have a health concern regarding a bulge on your body that you cannot explain and that has been there for a month. Why would you not ask a doctor for their opinion?
 
6:50 PM
wait
 
@Jeffrey And imagine what it would feel like to go next month to discover that it was something serious and that your chances of curing it would have been much better had you gone earlier. Nevermind dying, that would be embarrassing.
 
@orlp The difference between LRiO and an intellectual is massive.
10
 
jeffrey are you in the US?
 
user784668
@LightnessRacesinOrbit asking a doctor is for sissies
 
@Fanael sure, real men just die with honour and bravery
 
6:50 PM
@LightnessRacesinOrbit But you said you don't care if I die or not, so why are you helping me by inducing me to see a doctor?
 
@Wintermute this
 
@orlp no
 
@Jefffrey Because I don't care if you die or not. So the consequences of the advice I give you to are utterly meaningless to me.
 
Then why give them?
 
6:51 PM
i could code
but effort
 
@Jefffrey Why do we give anything?
 
@Fanael You failed to give the attribution for that quote (it's from Steve Jobs the late Steve Jobs).
 
@LightnessRacesinOrbit To achieve some goal?
 
@BartekBanachewicz but you'd have to learn how to, first
@Jefffrey hahaha what no
 
says someone who can't understand recursion
 
6:51 PM
What's funny?
 
hands up if you chat in the Lounge to achieve some goal
 
Does world domination count?
 
puts hands up in the air
 
@BartekBanachewicz All I understand about recursion is that it's recursion.
 
user784668
@JerryCoffin I did not forget, I'm a thief.
 
6:52 PM
@BartekBanachewicz huh?
 
@LightnessRacesinOrbit it's a me-me
 
user784668
I love stealing intellectual property.
 
@BartekBanachewicz it's a what
 
@Fanael Like a brainslug
 
@Wintermute Yes, I'm going to see a doctor.
 
6:53 PM
@LightnessRacesinOrbit a me-me
 
fuck it I'm going to play some Halo
but first, let me take a selfie...
 
you should live in us
 
@LightnessRacesinOrbit Why would you be chatting in the Lounge if not to achieve some goal?
 
you'd fit there
 
6:53 PM
@BartekBanachewicz How could that be. All you have to do to understand recursion is understand recursion.
 
@LightnessRacesinOrbit nsfw
 
don't think many Loungers work in a convent
 
what is a convent
 
so many games and nothing to play
 
6:54 PM
fuck that
 
@orlp can't tell you; nsfw
 
@LightnessRacesinOrbit you can tell me, I'm not at work
 
@orlp a place where religious people chill all together
 
I'd really write something
 
6:55 PM
look it up then
 
but I can't concentrate today
 
@BartekBanachewicz adderall
 
just remove water
 
> Dextroamphetamine
 
6:56 PM
that sounds like a pretty hardcore solution @orlp
 
some mere mortals can't adder at all
 
drugging yourself into productivity...
 
@BartekBanachewicz hardcore procrastionaninotion requires hardcore solutions
 
hey I was playing guitar for over 2 hours today
and cleaned my desk
and made dinner
and bought groceries
and had a debate about Haskell
 
That's like 4 hours worth of activities
out of 16
 
user784668
6:58 PM
@orlp A debate about Haskell was 20 hours
 
user784668
And the conclusion was that Haskell is irrelevant
 
BRB SBBQ
 
Can you have a debate with yourself?
 
@MartinJames Yes, it's called depression.
 

« first day (1561 days earlier)      last day (3380 days later) »