Feb 24, 2012 20:36
@SLott For Python, sure. Your statements appeared to suggest that because Python didn't use braces, braces were proved to be useless in any other language. Python can do whatever it pleases.
Feb 24, 2012 20:35
@SLott Yeah, I'm going to dispute that. This is assuming “programmer” doesn't include the copy paste programmer examples you listed as example questions.
Feb 24, 2012 20:34
@psr I'm more then happy to stop, I just don't want @SLott to feel I'm ignoring him.
Feb 24, 2012 18:48
@SLott I'm not disregarding your experience, I'm saying that putting that experience forward as fact, obviously disproven by the many people who have grasped the concept of using braces and other punctuation in code, is wrong and misleading.
Feb 24, 2012 18:44
@SLott I said that your offering these questions up as “fact” is a nonsense argument. This isn't “fact” programmers have issues with curly braces. Would you like me to list all the questions that have proper punctuation and syntax? Guaranteed mine will outnumber yours.
Feb 24, 2012 18:43
It proves that there is a different way to delimitate blocks other then curly braces. I could take the opposite side and say braces make whitespace completely irrelevant and superfluous and the compiler should ignore it.
Feb 24, 2012 18:42
@SLott I don't see how I can explain it any better. Python (as a language) does not conclusively prove that curly braces are “That seems to make the utterly superfluous and completely useless”.
Feb 23, 2012 23:17
I removed the “extra curly braces....like them.” line because it's your subjective opinion about braces, not a fact concerning braces. It's opinion.
Feb 23, 2012 23:16
I would also point out that the example questions you've listed are obvious straw man arguments. Dumb people ask dumb questions, it is not an indicator of the community as a whole. Maybe limit the questions to only include people that have >10k rep and show an active pattern.
Feb 23, 2012 23:12
@SLott “extra curly braces aren't really all that helpful” is your personal opinion about braces. Taking PHP as an example language, curly braces for block delimitation are required, not “aren't really all that helpful”. To continue the example to another language like Python, “extra curly braces” are in fact not helpful because the language uses another method for delimiting scope.
Feb 23, 2012 21:17
I'm also going to archive our comment thread discussion as I believe it's served it's purpose.
Feb 23, 2012 21:17
Could you also point out where I said curly braces were not optional in a language design? You seem to be harping pretty hard on this point, and I would like to bring whitespace into the discussion to provide the counter point that not only can you avoid punctuation and braces but you can avoid all letters too in the design of a language. Still doesn't make it a good idea.
Feb 23, 2012 21:15
I would be very interested in seeing the 100's of questions where people misuse punctuation marks. Neither myself nor the dozens of programmers I've worked with seemed to have an issue with it either.
Feb 23, 2012 21:14
@slott Please take further discussion to this chat please.
Jan 10, 2012 17:54
@Scrooge If you flag it we will take a look at it.
Jan 10, 2012 17:01
That was actually the example I read when I originally read this. Funny I remember the example but not the term.
Jan 10, 2012 17:01
Etc.
Jan 10, 2012 17:00
@DanMcGrath I mean the term that describes say some Firefox extensions. Firefox is a browser, great. Extension to show page errors, fine. Extension to provide a full featured torrent client inside a browser? Not fine. Extension to do programming inside the browser? Not fine. Extension to monitor system usage? Not fine.
Jan 10, 2012 16:47
What's the term for when you've developed a piece of software past the point of just being an application and it starts taking on an operating system role in user space?
May 25, 2011 15:18
@@2637: It does not provide pseudo-classes, objects, inheritance, modeling, or any other sort of structure.
May 25, 2011 15:17
@@2637: Frameworks (like Prototype / Mootools) actually change the way you write JavaScript. jQuery simply makes interacting with the DOM easier.
May 25, 2011 15:16
@@2637: You are incorrect. The only change is when performing async actions like AJAX or where you must provide an action (.bind and other events). CPS is not new, it is simply different then what people are used to.
May 23, 2011 12:32
@ThorbjørnRavnAndersen: Even when testing?
May 23, 2011 12:32
@Pearsonartphoto: I don't do iOS development, so I may be misinformed on the costs associated with actually building the application. My understanding was the $100 membership fee was to cover app store submission and sale, not the SDK.
May 23, 2011 04:37
If I'm not in the room you can do an @@ reply to grab my attention.
May 23, 2011 04:37
Have those college students ever tried a bit of savings? I think that while the upfront cost ($100) seems high, it's a very low cost for what you're getting. Distribution, payment, development tools. A very complete package.
May 23, 2011 04:35
0
A: do we actually have to pay to make iphone apps?

user14321Costs $100 dollars a year for Apple(damn I hate apple). Android is a one off $30 payment(thats reasonable to me). Plus they both take a percentage of each sale of your app(unless you have it for free).

May 23, 2011 04:35
@@1078: In regards to
Apr 4, 2011 14:54
A lot of the current beta / public sites to come out of Area51 seem to be full of programmers with hobbies, shooting off of StackOverflow. I would like to see that change to encompass a more general audience.
Apr 4, 2011 14:53
@Pierre303 Could have sworn it was. I guess we'll see if it gains traction.
Apr 2, 2011 22:05
Someone (I think it was @Pierre303, but I could be wrong) prompted me to work up a proposal for general business / office questions (things commonly said to be not programming related). Done! See the Area 51 proposal: "Around the Water Cooler".
Mar 19, 2011 15:47
Sorry we weren't around @Dori, thanks for taking care of that
Feb 10, 2011 19:55
@OscarMederos Hello!
Feb 10, 2011 15:56
@AnnaLear I would assume not because it's for a code review – of code you should understand.
Feb 9, 2011 15:24
Pattern replace = new Pattern("/(\.\/)?(.+)\/?.*/");
Feb 9, 2011 15:24
(if I'm remembering the syntax right) that would be Pattern match = new Pattern("/(\.\/)?(.+)\/?.*/");
Feb 9, 2011 15:23
Just put the regex into a new Pattern
Feb 9, 2011 15:23
@Jinjavajin You don't need to break it up.
Feb 9, 2011 15:15
Just substitute those in
Feb 9, 2011 15:15
preg_replace is called as preg_replace([MATCH], [REPLACE], $haystack)
Feb 9, 2011 15:12
@Jinjavajin You would be looking for something in the util.regex package. Probably Pattern and Matcher.
Feb 9, 2011 15:11
@Jinjavajin: It's replacing one pattern with another pattern using whatever is in $unique_cache_dir
Feb 9, 2011 15:10
It's a pretty straight forward regex replacement.
Feb 9, 2011 15:10
Ah, I see that.
Feb 9, 2011 15:09
@giddy I can't seem to find a question with that id.
Feb 9, 2011 15:04
@Jinjavajin How complex is the PHP code? And how "legacy"?
 
Jan 31, 2012 22:36
@SnOrfus Typically about an hour total a day. Maybe less. I normally drop in 3-4 times a day and if something comes up I check it. That's why flags rock, it's a simple little note that I need to check something instead of digging through stats to find something.
 

Sandbox

Where you can play with chat features (except flagging) and ch...
Feb 8, 2011 15:28
Cool beans