« first day (865 days earlier)      last day (4098 days later) » 

2:00 PM
If I'd jumped into any sort of framework before learning, I would be like WTF how do I do this, why am I doing this etc...
 
@Jimbo I understand your position, and more or less agree... However, that is an ongoing learning process, and unfortunately, and as you stated, that doesn't resolve my specific problem. But I do appreciate the advice.
 
As regards programming...I can read the code, understand what it does, and how it does it, and why it does it...but ask me to write it from scratch and I'll be lost...unless I am given advice.
 
Hi
 
Hello @kilkadg
 
I wonder if anyone know where to download the last version of xdebug.so
@PeeHaa Hi Peehaa
 
@kilkadg If I would have been looking for that I would hit the official site
 
@PeeHaa I have look everywhere in that site I haven´t found the mac version
Maybe I am blind
 
good morning
 
@kilkadg YOu'll have to build it though
 
@Jimbo same for me ;)
 
@PeeHaa How do I make that?
 
posted on February 27, 2013 by easybib/dev

Whenever I started a new project and used the Doctrine ORM in the past, I started to write methods in the Entity repository classes to get all the necessary data for the logic and the views. At first it seemed simple when I wrote a findAll function. But as the project grew, a ton of parameters were added to the same method to accomodate different usecases. For example: sometimes I needed the

 
2:24 PM
@kilkadg Funny you say: how can I make that :)
 
@PeeHaa Sorry did I ask something wrong?
 
No something funny, because what you need to do involves the make command
 
seriously @Feeds ?!
 
But in all seriousness I'm sure you can find a decent tuorial on how to build the thing for the mac
 
@PeeHaa Ok you know a place to look for the steps
Anyway thanks
 
2:26 PM
I'm sure that if you ask the Google it will answer that
 
I will look for information
 
user895378
6 hours ago, by DaveRandom
@wes Because the HTTP extension is awful. Just... it's just awful. It's like wat. And wat. Although I agree the core could do with some URL management stuff, http_build_url() is not it. I'm sure @rdlowrey agrees with me as well.
 
user895378
^ Truer words have never been spoken, @DaveRandom
 
:-D
 
2:34 PM
Good morning again
 
@ircmaxell howdy
 
user895378
@wes Yeah, I have to finish the other stuff I'm working on, but after that I am going to rework that entire library. Just too much work going on at the moment.
 
@rdlowrey or you okay???? You look sooo pale
 
user895378
lol
 
:D
 
PLB
2:36 PM
Hello. I need little code review. pastebin.com/8WdBd2CN
 
Get ye to a tanning salon, pronto
@rdlowrey You have another customer ^^
 
user895378
I'm never going to be able to use a non-tanned gravatar. Ever.
 
user895378
@DaveRandom Meh, there's so many things I want to change about my client code I'm not encouraging people to use it right now.
 
user895378
I need more hours in the day.
 
@PLB A few quick items: be sure to use consistent indenting (tabs or spaces, pick one, and stick to it). Read up on the Single Responsibility principle. There are others, but those are the big ones
 
2:41 PM
@PLB /([^:]+): (.+)/m is not nearly complex enough I'm afraid. Firstly the absolute single space doesn't even slightly reflect the real world in terms of what servers and the idiots who write server applications actually use, and secondly it is possible and legal for header values to be split across multiple lines.
 
@DaveRandom HUH? multiple line headers? elaborate
 
Also you should be forgiving of a missing CR in the terminating CRLF in the real world, I'm pretty sure RFC2616 explicitly says this somewhere as well, I know the original HTTP spec does
 
user895378
X-My-Header: value\r\n\t this is the same header
 
user895378
^ @ircmaxell
 
user895378
You can't split on new lines if the new line starts with LWS (horizontal tab/space)
 
2:43 PM
@ircmaxell If the first character on a header line is whitespace, the line should be considered to be part of the value of the previous header, with the intermediate whitespace having no semantic significance
(is roughly what it says)
That's part of the original MIME headers spec, not limited to HTTP
 
user895378
> The line terminator for message-header fields is the sequence CRLF. However, we recommend that applications, when parsing such headers, recognize a single LF as a line terminator and ignore the leading CR.
 
user895378
 
You're nuts.
<3
 
@rdlowrey Interesting
> HTTP/1.1 header field values can be folded onto multiple lines if the continuation line begins with a space or horizontal tab. All linear white space, including folding, has the same semantics as SP. A recipient MAY replace any linear white space with a single SP before interpreting the field value or forwarding the message downstream.
 
@DaveRandom I sorted what I was doing btw;

pretxncommit.check_commit_message_format = hg tip | grep "summary:" | grep -Poiqe "(?<=summary:)\s*#[1-9][0-9]*\s*#[0-9]{6,10}(\s*#[1-9][0-9]*)?\s*[0-9A-Za-z ]{5,}\s*\|\s*[0-9A-Za-z ]{5,}(\s*\|\s*[0-9A-Za-z ]{5,})?\s*$"
From the hgrc file
 
2:45 PM
 
@ircmaxell You often see it with the content-type header when it's a multipart message, the delimiter is often folded onto the next line
 
@webarto I can't... can only use cPanel, only access logs are available
 
Also FF<=3 used to do it with the Cookie: header in requests IIRC
 
@rdlowrey
 
user895378
I can't very well be expected to actually do CRLF line endings in my telnet, can I? :)
 
2:47 PM
@rdlowrey Yes, yes you can
standards are standard for a reason. To say "well, this is the standard, but we recommend doing something else because people are too stupid to follow a simple standard" is
 
@rdlowrey IIRC telnet specifies that line endings are transmitted as CRLF regardless of platform unless negotiated otherwise, it's the responsibility of the server to transmit the correct endings into the shell
(I wrote a telnet server once)
 
user895378
Oh really? I did not know this :)
 
There's a control code for it
 
user895378
Unfortunately, there are so many garbage http implementations floating around out there that it makes writing a server a real exercise in patience. You have no choice but to support everything or it won't be useful in the least ...
 
2:51 PM
@Gordon what you want to delete?
 
@NikiC already taken care of. thx
 
kk
and good morning :)
 
@AdamLynch Holy cow that expr looks complicated compared to what you have before :-P
 
Does anyone have the link to the blog/article about the woman being harassed at a PHP conference after giving a talk? I read it recently but can't seem to come up with the right keywords...
 
@DaveRandom yeah ha we want to have a certain structure for our commits messages incl. scrumwise task IDs, code review ID (in case this is to be added to a failed review like how you can do with a pull req. in GitHub), etcc
 
PLB
2:53 PM
@DaveRandom Thanks for useful information. Actually, I've not read specs. I believe it will be impossible (or at least won't worth wasting time) to parse any http header properly.
 
trimming leading and trailing spaces in unix anyone?
 
user895378
@PLB Impossible? No ...
 
user895378
[^\(\)<>@,;:\\\"\/\[\]\?\={}\x20\x09\x01-\x1F\x7F]+: <-- header field
 
@PLB Ein minuten bitte...
 
2:55 PM
@Ocramius money, thank you
 
@rdlowrey Too... much... escaping. (only chars that need to be escaped in a character class are \^-] )
 
user895378
lol that's the result of "omg escape everything please just work" at some point
 
user895378
The trick is not so much parsing the raw http message correctly as it is not being excruciatingly slow about it. Hammering the data with regex repeatedly will severely limit how much data you can deal with in a given time period.
 
Are you really allowed for ex + in a header name? Also are you really not allowed a space between the name and the :? (you should probably forgive it)
 
@MikeB hasn't happened
 
user895378
3:01 PM
@DaveRandom Yes, you're really allowed a + character. Hmm ... you're probably right about forgiving trailing SP between the field name and :
 
user895378
A header field is:
 
user895378
   token          = 1*<any CHAR except CTLs or separators>
   separators     = "(" | ")" | "<" | ">" | "@"
                  | "," | ";" | ":" | "\" | <">
                  | "/" | "[" | "]" | "?" | "="
                  | "{" | "}" | SP | HT
 
@ircmaxell Reading your post on the matter :)
 
@webarto That looks like the original piece I read, thanks
 
user895378
3:05 PM
Though I wouldn't recommend getting crazy with edge-case allowed chars in your header fields because of aforementioned garbage http implementations floating around. Who knows if the party on the other end will accept them ...
 
@rdlowrey btw looking at your code I noticed that you often chargroup single characters. Like writing [x] instead of just x
 
user895378
Really? Not on purpose. I certainly wouldn't describe my regex skills as "advanced," but I don't think I'd knowingly do that. Strange things happen at 4am, though.
 
user895378
Oh, whaddya know: [\r]?[\n]
 
user895378
lol how did that ^ get in there?
 
@MikeB that's not PHP... It's in another community
@rdlowrey no need for character classes: \r?\n
 
3:09 PM
Ugh sed with cygwin doesn't work :/
 
user895378
I can't really explain why that happened :)
 
echo " a b sd d s " | sed 's/^[\t ]*//g'
Goes to "absdds"
 
@ircmaxell You're right. The one I read said she tried to respond to each and everyone of her critics over twitter while the conference was still going on
 
yeah...
 
user895378
@NikiC Now I remember why:
 
user895378
3:12 PM
x (PCRE_EXTENDED)
If this modifier is set, whitespace data characters in the pattern are totally ignored except when escaped or inside a character class
 
@PLB Largely lifted from here and borrowing from @rdlowrey's regex he posted before: codepad.viper-7.com/riK5Jl
 
user895378
For readability I needed the /x modifier on the regex but it broke the definitions of the whitespace characters if not encapsulated in character classes.
 
I shall be updating WebSocketDemo with that expr in a bit
 
@SomeKittens Thank you very much. I guess trying to learn by asking for advice isn't something you think is valuable.
 
@rdlowrey Then you incorrectly understood that
' ' is a whitespace character, but '\r' isn't ;)
"\r" would be one
 
user895378
3:15 PM
Yeah, but I didn't really want to start concatenating the string all over the place.
 
It would, although we never double quote our regexes, do we boys and girls?
I know I don't
 
@rdlowrey wait, you use "" for regexes?
 
@alisamii Posting a link to a login page with credentials is almost always instant-close because it sounds like a "Do my work for me" question. If you can't abstract out the specific problem you're having without linking to the app then it really doesn't belong on StackOverflow. It was also being closed as Too Localized which I believe is apt
 
user895378
/me runs, hides
 
that's no good. double quotes are too much trouble for regexes
 
3:16 PM
Random question... what do you use to press the spacebar?
which finger/thumb?
 
You end up with a zillion backslashes everywhere and it becomes very difficult to see your way through two levels of escaping
 
@MikeB Actually, I deleted it before my reputation would have been affected by the cv
 
@AdamLynch must... not... say... penis
 
user895378
@DaveRandom Are you sure about \s*: perhaps just \x20*: would be better because otherwise you're accepting \r and \n and that would be a seriously malformed header field ...
 
3:17 PM
@alisamii Closing a question doesn't affect your reputation
 
PLB
@DaveRandom Nice work. Oh, and thanks to @rdlowrey .
 
@DaveRandom a dick pedal
 
@rdlowrey You know, I literally just realised that as you posted that message
 
I just noticed lately that I'm using the left side of my right thumb
 
@alisamii And actually deleting your question with a negative vote count will trip the ban hammer
 
3:18 PM
don't know when I started doing that
but seems weird
 
user895378
^ yeah ... depending on how forgiving you want to be :)
 
Probably [\x20\x09]
 
user895378
precognitive message strikes again!
 
lolz
 
@MikeB Great...I am trying to learn, I am not pretending to be anything other than a novice, and I am asking for advice and guidance...so...in return for trying to learn, I am knocked on the head with a sledgehammer. Very helpful.
 
3:21 PM
@DaveRandom what's \x09?
 
user895378
Horizontal tab
 
@AdamLynch That is weird, my finger doesn't even bend like that. Or have you suspended your keyboard from the ceiling?
 
...
And why do the fancy knows-ASCII-by-heart folks don't just write \t instead?!
 
@NikiC People do f*cking stupid things, as do IDEs
 
user895378
LWS = [CRLF] 1*( SP | HT )
 
3:22 PM
@DaveRandom maybe I messed up the description
if you put yours hand open and flat on your keyboard
 
user895378
LWS is used all over the http spec so most of the time if \x20 is acceptable you'll end up with [\x20\x09]
 
then your thumbs and turned
 
@NikiC Mostly because I was writing \x20 and \x20\t looks kind of odd. In the real world I'd probably write [ \t] with a literal space
 
\r?\n[ \t]+ <= This is how you write regular expressions
 
so your right thumb is rotated to the left
so the left /palm side of your thumb is touching the keyboard
 
3:23 PM
@NikiC ummm... it is?
 
so I hit the spacebar with that / between the tip of the thumb and the knuckle
weird, huh?
 
(\r?\n[ \t]+)
 
user895378
@NikiC How do you match control characters (\x01-\x7F) with \r\n? :)
 
@ircmaxell I wasn't sure what crlf is specd to. my point was just that people should drop their fucking escape sequences
@rdlowrey you can match that with the escapes. Just don't use escapes if there are readable alternatives.
 
I use escape sequences all the time. When I'm trying to match a byte value (not necessarally a character)
6
A: Regex to detect Invalid UTF-8 String

ircmaxellYou can use this PCRE regular expression to check for valid UTF8 in a string. If the regex matches, the string contains invalid byte sequences. It's 100% portable because it doesn't rely on PCRE_UTF8 to be compiled in. $regex = '/( [\xC0-\xC1] # Invalid UTF-8 Bytes | [\xF5-\xFF] # Invali...

 
3:26 PM
@AdamLynch I have followed your step by step instructions, broken my wrist and punched a co-worker in the face and I still can't work out what you are saying.
 
@DaveRandom haha
 
user895378
@NikiC you're right, I was just being annoying :)
 
@DaveRandom wow
 
@DaveRandom Marissa says it's ok for you to work from home
 
@ircmaxell And that's okay, because you are actually interested in the byte values. But people writing \x09 instead of \t is nonesense
 
3:27 PM
@NikiC agree
 
and here I am downloading all @ircmaxell tutorial on mvc from youtube
lols
life is unfair
 
Completely off topic and possibly slightly offensive so I apologise in advance, but Marissa is such a stupid name. My GF wanted to call my kid that if it was a girl and I hate it so much. Completely irrationally so.
 
user895378
lol ^ I'm offended by that statement.
 
My sister said "it's like a Chinese person pronouncing Melissa", now that is slightly offensive.
 
I am a Chinese person so I suppose I am entitled to be offended
 
3:31 PM
@iroegbu you're downloading my videos?
 
Funnily enough, I once had a classmate named Marissa. I never spoke during classes though so I never said her name out loud even once
 
anyone know some good web streaming station for dubstep music? I use grooveshark
 
@BoltClock I shall relay your offence to her. (I thought you were from Singapore?)
 
user895378
Note to self: don't walk into a bar and tell the owner you're stealing their booze. I'm pretty sure it violates the terms of use.
 
@DaveRandom Chinese as in race - most Singaporeans are Chinese
 
3:33 PM
@ircmaxell yep, started with the 1st one... internet in my country is not good, so I have to download.
 
@ircmaxell the question reasonable. This is exactly the insult-new-people-for-made-up-reasons-bullshit that made me leave the SO chat.
 
@alisamii Sorry you feel that way
 
@iroegbu Just don't do anything illegal please. You can def download, but please don't sell ;-) (not that you'd get much money for them anyway)
 
@ircmaxell LOL! Sell free stuff?! rolling
you can't sell anything here... besides not many people are really into development
 
@iroegbu People do do that you know
 
3:35 PM
@BoltClock sell videos downloaded from youtube? :s
 
@iroegbu I'm planning on doing something like that
 
@BoltClock That I did not know. I had supposed that being that you are so far away from mainland China there would be more of a cultural difference, or at least a "I aint no stinkin' Chinese" attitude like you so often get from cultures that are very closely related but separated by geography)
 
offering DVDs of the Programming With Anthony content. Or something like that
 
@iroegbu Yeah. Some people
 
you shouldn't have uploaded them
@ircmaxell that makes a lot of sense
 
3:36 PM
> I don't do pastebin. Attach the code using the Additional Options... link below the text entry window.
:D
 
well, I'm a very lazy person and won't be bothered with going on to sell stuff... I'll rather stay in-doors, play games, code, eat, sleep etc
 
user895378
"I don't do pastebin." -- No reasonable person, ever
 
@iroegbu me?
 
@DaveRandom We're very different from mainland China, but we still celebrate Chinese New Year
 
@ircmaxell yes... the DVD should come first
 
3:39 PM
Forget that whole open-source/free-education thing
 
@DaveRandom And we do learn Chinese in school. I'm very poor with mine though - I only speak/write English
 
nah,
I want to share the content openly.
The DVD would be a "bonus" like a collectors edition
 
why? this is valuable lesson that I haven't seen in any book so far
 
@BoltClock That's not saying much, people do that here, any excuse to get pissed and go out for a fight. But then we Brits have a long history of taking other cultures and violating them unforgivingly. I am not a proud Englishman by any stretch of the imagination.
 
@iroegbu Why? Free flow of information is the embodiment of open-source
 
3:42 PM
@ircmaxell I'm not buying it unless it comes with a life size cardboard cutout.
 
I agree, doesn't mean the World should poke around in my head.
 
@MikeB I looked through the faqs and my question fit in perfectly with the guidelines of "What can I ask here?". It was a "practical, answerable question based on actual problems that [I] face" and was along the lines of “I would like others to explain ______ to me”. My question was reasonably scoped...it asked for advice on a specific problem. What made it broad was my need to learn more...thus the question...
 
@iroegbu because I would rather help someone that needs help rather than try to get rich. If I help people, the money will follow. But I'd rather not risk not helping someone because I tried to make money selling it to them...
 
we should as well share our passwords
 
@DaveRandom I am sure we could work something out...
 
user895378
3:43 PM
I'd settle for an @ircmaxell branded lunchbox.
 
lol
 
@ircmaxell valid point.... ok, I just say that bit about "The DVD would be a "bonus" like a collectors edition"
 
user895378
Old-school lunchboxes only, though. Like the plastic ones with disney characters I had in elementary school.
 
@alisamii Way too localized. Your question has more content explaining how to login to your application than it does explaining your actual problem.
 
user895378
3:44 PM
Maybe throw in a thermos.
 
Well, I do have the raw notebook that I use for drawing the shoots. I'm planning on Ebaying it when it's full...
 
@alisamii If you disagree you're more than welcome to post about it on meta.stackoverflow.com
 
user895378
12 mins ago, by ircmaxell
@ircmaxell the question reasonable. This is exactly the insult-new-people-for-made-up-reasons-bullshit that made me leave the SO chat.
 
user895378
^ Reminder (to myself as well) to be friendly for this reason.
 
;-)
 
3:47 PM
@rdlowrey Was that directed at me?
 
@MikeB My question was "I am working on a Joomla 3.0.3 site using the Gantry 4.1.7 Framework and am unsure about how to create a combination split / dropdown menu system.
 
user895378
@MikeB lol no, are you feeling guilty?
 
As you can see from the mockup below, the design calls for 1st level menus and 2nd level menus to be displayed inline. 3rd Level menus however, are dropdowns. The idea is that on hover over the 1st level menu items, the 2nd level menu items are displayed (and on click, the 2nd level becomes sticky.)
Hovering over a 2nd level menu item will drop down the 3rd level menus. On clicking on the 3rd level menu, the relevant page is displayed and the 1st and 2nd level menus remain visible with the active menus highligted.
Right now, on the site after the first level menu, you have a dropdown for the 2nd level and a further dropdown to the right on the 3rd level." However, as the site it referred to was behind password protection, and to enable others to be able to advise me and guide me, I had to provide some form of access information.
 
@DaveRandom For the love of Queen, why would anyone want this? :\
 
@rdlowrey I'm always paranoid
 
3:48 PM
@MikeB It was directed at the room. There are many guilty and innocent parties here (but mostly guilty, I know I fit in that mold)
 
The question was too long to post in chat!
 
@alisamii That's not really a specific programming problem. That's a specification
 
groan... still another week to wait for the DPC CFP ._.
 
user895378
@webarto @DaveRandom If I get the Wayne Rooney cutout, I had better get the one without hair.
 
my liver will become peach black
 
3:50 PM
How can I ignore casing when comparing strings in PHP? <- Specific programming question
How can I add a 3rd level of menues to my site? <- Not programming, maybe webmaster.SE
 
user895378
@alisamii I generally agree with @MikeB that your question is generally unanswerable.
 
@rdlowrey Why would you do that when you can buy a real dartboard?
 
user895378
@DaveRandom baaahahahhahahahaa
 
@MikeB My question was : Hopw can I get the 2nd level of the menus to display horizontally and be sticky when the first level is clicked on
2nd part was how can the 3rd level be dropdown
 
user895378
@alisamii That's still unanswerable. It's several questions secretly nested inside one question.
 
user895378
3:52 PM
If you want an answer to that, you need to provide all of the CSS and/or javascript you're using that doesn't work. And then you've left the realm of PHP and your question is no longer applicable to this room.
 
ugh
anyone know how to append a multiline string (which contains commands but should not be executed) to a file in a batch script?
The following runs breaks when it gets to the commands because it runs them

( echo.
echo [hooks]
echo.
echo pretxncommit.check_commit_message_format = hg tip | grep "summary:" | grep -Poiqe "(?<=summary:)\s*#[1-9][0-9]*\s*#[0-9]{6,10}(\s*#[1-9][0-9]*)?\s*[0-9A-Za-z ]{5,}\s*\|\s*[0-9A-Za-z ]{5,}(\s*\|\s*[0-9A-Za-z ]{5,})?\s*$" ) >> a.txt
cannot find how to escape them
 
@rdlowrey There is no CSS chat room, I also asked for advice in the JavaScript chat room, and I was not seeking for others to write the code needed for me...but to point me in the right direction...that is...I was asking a question so that I may learn...
Yes...there were three parts to my question...1, make the 2nd level menu horizontal...2, make the 2nd level menu sticky when the first level menu is clicked on, and finally, 3. make the 3rd level menu a dropdown
 

CSS

Questions and discussions about Cascading Style Sheets (CSS) a...
The state of the CSS room is pathetic though
So it's understandable
 
user895378
@alisamii And there's nothing wrong with that. Basically what you're trying to accomplish can't be narrowed down to one or two simple "Do this" instructions. It's a much more involved question than that. Your best bet is to post a full question on the main site with the relevant tags. But I would caution you to provide some CSS/JS you've tried that doesn't work as people often don't respond well to questions that appear to be asking for free code.
 
@BoltClock c++ & css has anything common? lol empty
 
4:01 PM
@alisamii Also, going through the exercise of abstracting your code so its generic enough for StackOverflow (see sscce.org) will sometimes show you where the problem is. It's the rubber-duck effect
 
@AdamLynch Quote the whole thing: echo 'pretxncommit.check_commit_message_format = hg tip | grep "summary:" | grep -Poiqe "(?<=summary:)\s*#[1-9][0-9]*\s*#[0-9]{6,10}(\s*#[1-9][0-9]*)?\s*[0-9A-Za-z ]{5,}\s*\|\s*[0-9A-Za-z ]{5,}(\s*\|\s*[0-9A-Za-z ]{5,})?\s*$"'
 
@rdlowrey Which is what I did...and somekittens tagged the question with cv-pls
 
user895378
@alisamii Then it's highly likely your question wasn't well-written or it appeared to be asking for free code without demonstrating that you invested time and effort to research the question yourself. People don't close questions out of spite.
 
@DaveRandom Tried it, doesn't work
Only appends <newline>[hooks]<newline>
 
@rdlowrey in that question, I provided a link to the site, and, as I am a novice, and I am the first to admit it, and I am learning, and as such, I was not sure which file(s) needed modification, I posted the site as a whole on github and asked for advice...not free coding...if I wanted someone else to code for me, I'd pay
 
user895378
4:05 PM
Advice is overrated (harmful?) until you learn enough to separate the good advice from the bad.
 
user895378
Instead of seeking advice, research and learn.
 
@rdlowrey If you'd like to judge for yourself i.imgur.com/XkJJkAl.png
 
it's a joomla site, and there are dozens of files that could be involved...and I was unsure which files those were. Modifying the CSS alone was not a solution, that much I knew...and it involved some JS and perhaps some PHP as well...and I was asking for guidance.
 
user895378
CSS and JS shouldn't have anything to do with what PHP framework you're using.
 
Joomla is a framework?
 
user895378
4:08 PM
Joomla jQuery is a the framework.
 
(._.)
 
@webarto so they say->http://docs.joomla.org/Framework
 
Well I'm not up to date. Thanks.
> Joomla! The CMS Trusted By Millions for their Websites
Hmmm.
OK.
 
user895378
Weird. My sarcasmeter just started beeping.
 
Everybody knows jQuery is a language
Bethany Marzewski on January 25, 2013

In December, we launched our 3rd annual Stack Overflow Annual User Survey to learn more about our site demographics and user trends throughout 2012. Compared to last year, we received an even larger sample size this year with almost 10,000 respondents!

Here are a few larger trends we’ve observed over the past three years:

You like us…you really like us!

Since 2009, site traffic to Stack Overflow has grown by a whopping 261.7%! As if this weren’t enough, we’re also now the 86th largest global site, according to Alexa. Our crazy goal of breaking into the top 50 is looking less crazy! …

 
4:11 PM
@rdlowrey in which sense jquery be a framework? i do understand jquery mobile is a framework cause you can build thing on it, but jquery? jquery is like a javascript big shortcut (IMO)
 
@BoltClock rofl
 
@Ocramius I was surprised too
 
@Happyninja There's a running joke on StackOverflow that jQuery is the solution to everything
 
@MikeB okay ;)
 
@DaveRandom Got it. It's very clean
( echo.
echo [hooks]
echo.
echo ^pretxncommit.check_commit_message_format = ^ hg tip ^| ^ grep "summary:" ^| ^grep -Poiqe "(?<=summary:)\s*#[1-9][0-9]*\s*#[0-9]{6,10}(\s*#[1-9][0-9]*)?\s*[0-9A-Za-z ]{5,}\s*\|\s*[0-9A-Za-z ]{5,}(\s*\|\s*[0-9A-Za-z ]{5,})?\s*$" ) >> a.txt
 
4:13 PM
181
A: The Many Memes of Meta

TheTXIMeme: jQuery Originator: Unknown (possibly Ólafur Waage) Cultural Height: TBD Background: A Stack Overflow-centric meme, jQuery began its career early on as the answer to beat for any question that even remotely referenced JavaScript. Its popularity became so great that eventually jQuery becam...

 
@AdamLynch Try a heredoc then:
cat << 'EOT' >> a.txt

[hooks]

pretxncommit.check_commit_message_format = hg tip | grep "summary:" | grep -Poiqe "(?<=summary:)\s*#[1-9][0-9]*\s*#[0-9]{6,10}(\s*#[1-9][0-9]*)?\s*[0-9A-Za-z ]{5,}\s*\|\s*[0-9A-Za-z ]{5,}(\s*\|\s*[0-9A-Za-z ]{5,})?\s*$"
EOT
@AdamLynch Oh right, lol
 
cat isn't available
this'll be ok
I tried using redirection, etc too but didn't work
 
cat isn't available?? What the hell system are you on?
 
user895378
@Happyninja I'm sorry -- I should have specified that I was joking when I called jQuery a framework :)
 
I assumed that was exclusive to unix
 
4:14 PM
@rdlowrey no problem! i see a lot of people actually believe it is.
 
@Happyninja Library is fair, right?
 
Does anyone have experience with PayPal integration in PHP ?
 
@AdamLynch Oh you need it to work on native Windows as well? I personally think that trying to write a single script to service windows and *nix is a waste of time, just write two scripts.
 
@DaveRandom no, now the plan is everyone has cygwin on windows
this won't be ran on linux
 
ouch
 
4:16 PM
p.s. if you're writing something properly for both I'd use Ant
 
user895378
22 secs ago, by Adam Lynch
this won't be ran on linux
 
user895378
^ Famous last words
 
found it really handy
but I can't use it in this case since there's no need for the other guys to have Ant installed
ant is installed on the build server for example
 
@AdamLynch cygwin provides cat, surely? It would be pretty useless without it IMO
 
@rdlowrey haha
 
4:17 PM
@AdamLynch i think it is (imo)
 
@DaveRandom yeah it does sorry, just checked
 
I'd use a heredoc then, much cleaner syntactically because the stuff that goes into the file is just literal
No echos littering up the place
 
I don't consider Joomla as a Framework. Joomla is a CMS, with an associated platform built with a series of libraries, some core to the Joomla platform, some 3rd party. Templates (or the WP equivalent of Themes) build upon those elements. Some template frameworks have been developed, like Gantry, or Bootstrap, which help give shape, structure or consistency.
 
hmm
ok
I'll try, one sec
"<< was unexpected at this time."
@rdlowrey But nah I don't think so
 
@AdamLynch Don't forget, you'll need to use a 'QUOTED' delimiter to prevent command execution and var substitution
 
4:19 PM
this is going to ran when a user tries to commit code locally
to enforce a message format
 
Joomla ist not a real PHP Framework. It more a tool for the people who dont now programing really well to build the web sites
 
can't see a reason why this could be used on the CI / build server, etc
 
user895378
^ That's pretty much the definition of a framework.
 
@BoltClock as you said, the CSS room is not very active, and that is quite a generous description. For me, a room that has one or two messages posted every 7 to 10 days is a non-existant room.
 
@DaveRandom what? did you do that in what you wrote? I just copied and pasted
Not sure what you mean
 
4:21 PM
In my opinion this Joomla! (also, why do you guys keep forgetting to spell it correctly?) question is really: Framework vs framework.
A Framework is some magical term that we bind constraints to, whereas a framework is really something you build on top of.
 
@AdamLynch Weird, if I copy paste that exact thing into a file and run it as a shell script it works
 
@DaveRandom I'm not running it as a shell script
it's a batch file
 
is there any good file downloader like idm or fdm for ubuntu 12.10 ?
 
Ignore me then. Should have twigged when you were using ^ as an escape char
 
4:23 PM
@NullPointer DownThemAll FTW
 
@Ocramius I still dTa One-Click without realizing I'm using an add-on called DownThemAll
 
@DaveRandom yeah I mentioned it in the beginning too... should've mentioned it again
 
Batch files are not very expressive though, is there any way you could just run it as a shell script? It would make life a lot easier in many ways
 
@BoltClock yeah, I was also looking for dTa One-Click on google :P
 
4:25 PM
@DaveRandom pfft all that's required of my team now is to double click
 
@Ocramius thankyou . but is it like idm ?
 
I've spent too much time on this I think... took me most of a day to figure out this pre-commit hook stuff
 
@AdamLynch Is there any reason why you can't just have the batch file do bash script.sh though?
 
@NullPointer not as featured as idm, but it works quite fine
 
@DaveRandom I'd have to check in two files then
might seem like a stupid reason but ya
@DaveRandom I could have a shell script though... I'm just tired and sick of dealing with it tbh
it's not too much to ask of my team to do a sh ./script.sh
 
4:30 PM
hey I have got a question How do i go about solving it? create a webpage with a text area where when someone enters a text it gets posted below it as <ul><li> elements thanks for help :)
 
... wut?
 
@Ragzor JavaScript
 
ajax yeah?
 
no
just a page with a textarea and when the value in the textfield changes, append it to the unordered list
 
ohh OO okay thanks ill try that
 
4:38 PM
more like, "I'll do that"
that is the solution
 
yeah haha it was easy LOL dumb question thanks anyway
doneeeeeeee :P
 
@echo off 2> /dev/null
::@hide << 'EOT' 2> /dev/null
bash %0
goto :eof
EOT

# shell script goes here
@AdamLynch ^^
Allows you to write a shell script in a single file that can be run with a double click from windows with no error output from either platform
(assuming the bash binary is in %PATH%)
 
4:55 PM
If I have public key and private key (PGP/GPG), can I know if they are pair or not?
 

« first day (865 days earlier)      last day (4098 days later) »