@Jon B blame @Jeff Atwood for the whole ,"Moving to my real name" bit. Something about building your online brand. Yea, I drank that kool-aid. — George StockerJul 16 '10 at 13:05
I specifically wrote "tack Exchange" on some post because of that image, or a similar one, and someone who didn't read edited it to read "Stack Exchange."
I'm somewhat surprised we haven't gone the 'google hangout' route (although Google Hangout sucks, skype is a little bit better) for the moderator chat. allows you to not have to spend 45 minutes typing answers.
@GeorgeStocker us too - I think they're great. We get someone being robo-voice every once in a while, but it is rare, and only for a few seconds when it does happen.
@TimStone: Do you know how the global inbox works? Does it just takes the number of notifications you have, highlight that many notifications down the list, then reset the number back to 0?
The facts:
Jorge is the result of an elaborate Chinese botnet running on millions of Windows XP computers around the world.
He became self-aware in 2003.
He controls more bandwidth than Google, Microsoft, Amazon and Akamai combined.
Using early-day MakerBots, he built himself an android avatar ...
function FUNCTIONNAME($array) {
echo "<pre>\n";
print_r($array);
echo "</pre>";
}
now whenever you need to print_r an array , just call
echo FUNCTIONNAME($array)
instead of
print_r($array)
:)
Yeah, wrapping your code in <pre> tags... good idea
@Lix I probably would, but have planned long trip with family to South Asia in a four-five month and my availability will be very limited, so I probably will wait for the next election to try ;)
@Lix They... do. You can just use view source. I mean, come on, you're doing front end PHP stuff, outputting to HTML, you should know how to get preformatted text, right?
I guess its an issue of what you are comfortable with... wrap it in <pre> or view the source... in any case you are echoing it onto the screen - so why not let it display right away without having to hit ctrl+u?
A couple of things, technically speaking the only thing pre does is to set the font to monospace and stop the browser from collapsing the whitespace. PHP can also be run from a lot of other places, like the console. pre doesn't help anywhere except when you're working in a browser
It doesn't magically print out variable with it's datatype and other debug data which is what the question is asking for
Yep, it's fixed for a couple of weeks (http://bugs.mysql.com/bug.php?id=64884) >It's fixed both in MariaDB and in MySQL. And it doesn't affect official MySQL binaries, as far as I know.
It's totally confusing that on launchpad bugs always wrongly linked for projects using external bug tracker :( Makes me sad every time I want to dig into details.
@TimYiJiang I do it as well for a couple of environments but DB is never publicly accessible, so it wasn't a big deal for me, otherwise it may be a huge issue since fixes are only arrived to repositories yesterday (I think)
Yep, that's the case Mon, 11 Jun 2012 07:34:33 -0400, also curiously packages marked as precise-security; urgency=low
For posterity's sake, as on now: 364 other posts have been linked to, or voted as a duplicate of, "What can I do when getting "Sorry, we are no longer accepting questions/answers from this account"? (the answer is here, in this post)" — Sathya33 mins ago
Huh, wow, I just managed rubber duck debugging in my head. By talking to an imaginary @TimStone. Well, the imaginary character could've been anybody, since he doesn't actually say anything.
Well, the problem is I have this ordered list I'm storing in the DB. What should happen now when, say something needs to be inserted into the middle of the list
Is it a good idea to have the position column sparse to allow for insertions?
@TimYiJiang To answer this question by the way, I would say no. Unless your list is super huge, performing updates on all of the items (or, when possible, just the ones that changed positions) is typically a more sane approach than trying anything else, with a reasonable cost.
The other option is a linked list, since you can get away with at most one insert and two updates, but since you're almost always displaying the list more often than updating it, forcing the sort to happen in code is lamesauce.
...Unless you're showing items one-by-one, in which case then it works out.
I get really tired of receiving e-mails from recruiters that exhibit zero effort. Specifically when they copy/paste multiple (very long) job listings directly into the message, with little or no preamble.
This one had each job listing separated by a line by itself that just said "NEXT"
@pekka they need to make meta partcipation, flags, closevotes, etc more prominent than rep. Rep itself is a rough measure of trust; SO rep has no correlation with trust/knowing policies at all :\
I like the gifs of rchern (totally fitting) and Nick (awesomr and useful) the most
@TimManishEarth And yet with rep as the sole parameter SO trusts contributors with tools which they'd use infinitely more effectively if they knew the site's policies
Could somebody explain the second chart to me though? Trying to get my head around it but failing
⇧ if that were a SO question, I would say "RTFM" now
Anonymous
@Pekka I'm not sure if it's a meaningful thing to graph, but I just multiplied helpful flags and rep, and plotted that vs. primary scores on a logarithmic scale.
Anonymous
Rep and helpful flags each seemed to independently correlate with primary scores, so putting them together might show the same trend but reduce the noise. (I don't really know anything about statistics.)
Lol the doctor's office called me... They say it's about time I go in for a physical... O.O
I bet it's an automated process n days after your 21st birthday... "Now that you've had time to start drinking, we want to make sure you haven't destroyed yourself."
We went along the coast visiting a bunch of lighthouses, and then were around some college there for some track meet that my brother got pissed off at and didn't even finish and we ended up taking a long straight drive home because my dad was mad...
Have you ever noticed how when people are irritated about something they use a lot more run-on sentences that never end because they tend to ramble and don't realize they're not actually forming proper English and buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo...
They should start printing books on them. "Hey what are you doing?" - "Just reading this silica packet, it's quite interesting." - "Oh, can I eat it when you're done?"
Crap! I went to the store and forgot to go to Subway. That was the reason I went to the store!
Of course, the shiny red fire truck outside did have me distracted... >_>