« first day (60 days earlier)      last day (4960 days later) » 
02:00 - 18:0018:00 - 00:00

6:00 PM
Anyone know of a regex to filter dirty words?
 
@Tim It's not their choice :/
 
@Tim Starred... though that'd require XP users to upgrade to 7, which is kind of a bigger deal.
 
@radp - just put em all in like that with slashes?
 
er, I linked to something there
it's not a regexp really, it's a vim command
 
6:01 PM
 
@radp - my bad
 
Tim
@PopularDemand Yeah, that's true. IE 8 would be an acceptable compromise, if they have to stick with IE.
@radp Well, it's weird because it actually is in my case (to some degree)
The companies don't have any reason to stick with IE 6, and have Vista and Windows 7 computers with IE 7 / 8..they just don't bother upgrading their XP computers that came with IE 6
 
@radp @PopularDemand- lol.
 
@Tim oh, so the "our legacy systems only work with IE6" argument doesn't really hold any water?
 
@radp - I wouldn't filter, but put them into a moderator queue.
@Tim - I was just asked by a school recently to handle network stuff. All XP OEM systems and IE6
They were keeping young kids offline by manually entering bad IP addresss and no gateway
 
Tim
6:05 PM
@radp Doesn't seem to, for once.
 
@Tim - wow. [CSS3 rounded corners]
Okay, I'm out. Going to try to craft the next big viral app and test App Engine's alleged "scaleablity".
 
Tim
@Moshe Heh, I'm always amused at the lengths that schools go to as far as trying to restrict network access
 
oh, it does scale alright :)
handled April 1st on SO like nothing
 
@Tim - Yep. Except the kids still can't figure it out. They are that innocent. @balpha - good to hear. Thanks folks.
 
sure
 
6:09 PM
@balpha For when I'll deploy the service online, does the uploader care about where I put dependencies?
 
you mean like python libraries?
 
yeah, like pyStackExchange
I don't think Google have those inbuilt.
 
no, just make sure python finds them to import. google doesn't care.
 
Okay, let me rephrase the question
what does bulkloader.py upload to google?
 
everything
 
6:11 PM
So it hunts for the required dependencies "wherever" I may have put them?
 
@balpha - I just put everything in the directory that the loader generates for me
 
@radp well, it doesn't pull them from site-packages if that's what you mean
they have to be in the app dir
 
(so long as they are visible when I run the engine from dev_appserver.py)
 
(or a subfolder)
 
oh, okay, so if I have the app stuff in google_appengine/TrafficLeft and the libraries in google_appengine/PyStackExchange it won't work.
 
6:13 PM
no
but that should not work with the dev server either, does it?
 
It did work with the dev server.
 
interesting
 
Well, it does look in the working path, right?
 
well, take everything I say with a pinch of salt; it's a) been a while since I looked at SDK upgrades, and b) I have never written a hugely complex app for the app engine
 
Ok, I'm back.
 
6:15 PM
if I launch python dev_appserver.py TrafficLeft/, the library folders are in ./ so I guess they are found regardless :)
anyway, I moved the two libraries into the app folder and everything kept working :)
 
but I thought the dev server is sandboxed in a way that it would only let you import stuff that's also availabe online
well, almost, anyway
 
Yeah, I think it is
But then you can make libs available to you by uploading them along with the rest, so long as they don't write to disk and the such
 
@radp - quick! use this flaw to exploit IE6 before Google or MS stop you.
When using <form></form> in a Django template, how do I set up a second .py file to react to the form entry? (Or do I not need a second one?)
 
it doesn't matter how many py files you have
 
er, how do you revert a git add operation?
 
6:18 PM
@Moshe you just need a request handler class that handles the post/get request
 
The libraries have their own repositories so I shouldn't have included them in mine :)
 
@balpha - So I add a handler to the yaml file and then action="/handler"?
 
yes
and also add it to the setup call
48 mins ago, by radp
def main():
  application = webapp.WSGIApplication(
    	[	('/',	MainHandler),
    		('/update/', 	UpdateHandler)
    	],
    	debug=True)
  util.run_wsgi_app(application)
@radp sorry -- I can only tell you how to do it in mercurial :)
 
would it be hg rm?
 
that would also delete the actual files
hg forget will just un-add
 
6:22 PM
yeah, that's my problem.
 
@balpha - the second parenthesis in the update handles the form? ('/update/', UpdateHandler)
 
thanks
 
@Moshe notice the brackets -- that's just a list of all handlers
a list of 2-tuples (regex_string, HandlerClass)
 
ok
 
yeah, that thing looks better with elastic tabstops
it's a pity GEdit's elastic tabstop plugin lags things out pretty badly past line 60
 
6:27 PM
@balpha - I'm confused now.
Say I want to show a "thanks" page when my form is submitted.
So I add the form to my app.yaml file...
- url: /submit
  script: main.py
Then I change my def main()
`application = webapp.WSGIApplication(
[ ('/', MainPage),
('/submit', SubmitHandler)
],
debug=True)`
What does submit.py look like?
 
[remember to strip the debug=True in the end] :)
 
hrm, it so happens I can't just create apps via appcfg.py :)
 
@balpha can I change it to debug=False?
 
@Moshe well, first of all, your app.yaml has to say
oops
 
oops?
 
6:32 PM
sorry, edited your post up there
 
:P
oh
how do you get the multiline code view, btw?
 
click the "fixed font" button
 
ok
 
(only appears when you have several lines)
 
so, I need to change my app.yaml
ok done.
then?
 
6:33 PM
well, SubmitHandler is just a python class
 
so I just make another python class that runs when the submit is called?
And so I'm using a single Python file to handle various output pages?
 
1 hour ago, by radp
class UpdateHandler(webapp.RequestHandler):
  def get(self):
    #do stuff
    self.response.out.write("write reply here")
@Moshe you can, you don't have to
you can also just import the class from a different file
as long as it's available here:
application = webapp.WSGIApplication(
[	('/',	MainPage),
('/submit', SubmitHandler)
])
otherwise, you get an error
 
So i can make "submit.python" and then import SubmitHandler from submit.py?
(I got that "from... wrong"...)
 
sure
 
is that line of code right?
from submit.py?
 
6:36 PM
from submit import SubmitHandler
 
ah
So I leave of the .py and and reverse my original code. I see.
Cool.
 
alternative:
 
I'm listening.
 
import submit
and then
...
('/submit', submit.SubmitHandler)
...
 
@balpha, the EULA for GAppEngine says that if my app goes over quota, I'll be charged money. The other material about GAppEngine instead said that there's no way to go over quota if you aren't a paying customer... which one is right? :)
 
6:38 PM
I think there has recently been some changes to their model, so I wouldn't trust my word here
 
well, are there ways to audit your use of resources anyway?
> 4.2. A bill will be issued to your online account for all charges accrued in excess of the Fee Threshold. For use of the Service in excess of any portion of the Fee Threshold, you shall be responsible for all charges up to the amount set in your online account, and shall pay all charges in U.S. Dollars or in such other currency as agreed to in writing by the parties.
 
have they totally stripped the free accounts?
 
from their ToS
 
unicornify is still working, so is notarealquestion, but maybe I got grandfathered in
 
> Each App Engine application can consume a certain level of computing resources for free, controlled by a set of quotas. Developers who want to grow their applications beyond these free quotas can do so by enabling billing for their application and using Google Checkout to set a daily resource budget, which will allow for the purchasing of additional resources if and when they are needed.
> App Engine will always be free to get started, and after you've enabled billing for your app all usage up to the free quotas will remain free.
 
6:41 PM
yeah, that's the model I'm used to
you get your free quotas
and if you exceed them, the app just starts throwing errors
 
oh. phew. I'd rather have the errors.
 
@radp - ditto that.
 
just don't enable billing -- that's all
 
I mean, the whole point of my app is having something polling the API every hour, since I don't have the hardware to. :)
 
btw, unicornify has it's datastore filled up to the 1GB quota
so everytime I try to store, it throws an exception
 
6:44 PM
@balpha - so what happens next? EDIT: Ah.
 
but since the datastore is used only for second-level caching, I happily throw that exception away :)
 
hey, whats the parenthesis after the class name for?
As in: class MainPage(webapp.RequestHandler)
 
that's the parent class
 
ah
 
MainPage is a subclass of webapp.RequestHandler
 
6:47 PM
so SubmitHandler needs to have the same parenthesis?
 
yes
 
ok cool
 
(or a subclass thereof)
 
I'm going for the multiple files route - modular but more prone to breakage.
Yaaayyy ... breakage!
ok, I'm stuck again
Maybe it's because I lied.
I didn't go with the multi file bit
I tried adding another class in the original file
NameError: name 'webbapp' is not defined
 
One b too much
 
6:58 PM
ugh
and when I try importing from a second file, it says that webapp is undefined
 
yes, you need to from google.appengine.ext import webapp everywhere you need it
python's namespacing is a little bit different than C's
 
i got it
 
user151055
SO should include an option to add people on the site and see them when the are online
 
@fahad ?
 
user151055
yes
 
7:08 PM
that's "?" as in "I don't understand"
 
In other news, no, the app uploader doesn't hunt for dependencies
<type 'exceptions.ImportError'>: No module named simplejson
Traceback (most recent call last):
  File "/base/data/home/apps/trafficleft/1.345243381181150328/main.py", line 22, in <module>
    import core
  File "/base/data/home/apps/trafficleft/1.345243381181150328/core.py", line 1, in <module>
    from PyStackExchange import stackexchange
  File "/base/data/home/apps/trafficleft/1.345243381181150328/PyStackExchange/stackexchange.py", line 2, in <module>
    from stackweb import WebRequestManager
 
import that from django
from django.utils import simplejson
 
I'll do that when I'll reboot back into Linux
 
django is preinstalled on the appengine
 
user151055
@balph:Oh,I mean that that the people online should be displayed somewhere so we can communicate with each other
 
7:10 PM
what's "online" for you?
 
Very helpful as always, @balpha. Thank you :)
 
user151055
connected to the site..?
 
what site?
what's "connected"?
 
user151055
SO,I mean those who are there and have opened SO should be displayed
 
"have opened SO" -- what do you mean by that?
and how would you want to communicate with them anyway?
 
user151055
7:14 PM
Online chat
 
ahh, so you're looking for people who are connected to the chat?
 
user151055
I mean those who are connected to the site,do you think everyone will be familiar with this chat room?
 
let me ask you once again: what do you mean by "connected to the site"?
 
@balpha - Mind elaborating on the import in Python vs C?
@balpha - I think @fahad wants something like FB chat. See who else is online, offer the ability to chat instead of posting a question.
 
not a C guru here -- but python pretty much knows nothing until you import something. and that's in each file by itself
 
user151055
7:18 PM
Who have opened stackoverflow at this moment are connected
 
define "have opened stackoverflow"
 
user151055
@Moshe:definitely
 
we're talking about a simple website here
stateless HTTP
 
user151055
FB chat is a nice example
 
there is no "have opened"
 
7:19 PM
@balpha - If you are logged in and have not yet closed your browser or left the site, you "have opened" SO
 
user151055
And your propabally connected too
 
so the browser should tell stackoverflow when I close the tab, and then publicise "balpha isn't looking at any so page anymore"? no thanks :)
 
@balpha - right, i was just clarifying the request
 
@fahad once. again. what is "connected" for you?
 
@balpha - I think he meant signed in.
 
user151055
7:21 PM
yes
 
being signed in doesn't say anything
I don't think anyone ever signs out
 
@balpha - I know. Just clarifying.
 
@Moshe gotcha
 
user151055
We should have something like FB chat ...
 
no
 
user151055
7:22 PM
this is "In a nutshell"
 
stack overflow is for questions and answers
 
@fahad - the problem is knowing when someone logs in or off is a privacy concern. Additionally, that is what the chat.se sites are for.
 
user151055
we can have faster Q/A while chatting
 
you said "yes" to this:
> I think @fahad wants something like FB chat. See who else is online, offer the ability to chat instead of posting a question.
the good thing about the Q&A format is:
it can help other people too
not only you
 
user151055
hmm I agree to that
 
7:26 PM
@Fahad - comments are similar to chat anyway, except they have a time limit to prevent spam.
 
user151055
@Moshe:But its too slow....
 
So that's why we're here ;-)
 
user151055
Haha...
 
Anyone ever had luck putting a paypal donate button on their webpage?
 
Do you mean "had luck in managing to get the button to work" or "had luck in someone actually donating money"? :)
 
7:28 PM
got money from it
;)
 
maybe try flattr
it's the hot new thing :)
 
?
 
combine a paypal donate button and amazon one-click, and you get flattr
 
@balpha - where did you find that?
 
7:30 PM
I found that, but how did you hear of it?
 
it's gotten some traction in the free software community
 
Why?
Just use PayPal.
 
flattr is easier. so more people click, I guess :)
I've never used it myself, though -- so don't take this as a recommendation
It's also kinda of a give-and-take model
I think you have to at least charge your account, if not donate yourself, to be eligible to receive donations
 
The problem is, the more you click the less you give
 
I see.
 
7:36 PM
on a side note, if anyone here is using my threaded-comments or comment-reply greasemonkey script, you should update
I did some some bugfixing today
 
And PayPal has more clicks than flattr?
 
I wish Chrome's aggressive updating worked for greasemonkey too
@balpha link?
 
meta.stackoverflow.com/questions/31028/… is either a dupe or a question that needs your answer
 
I tend to not spam my add-ons to feature requests :)
 
7:38 PM
@balpha fair enough
 
and I still agree that threaded comments shouldn't be the default
even though it's my favorite add-on
 
Time to introduce user preferences?
 
also, though it works quite well, it obviously can't be perfect
since there's no real threading information
(unlike on twitter for example)
 
twitter's implementation also isn't greatest
I've wanted a few times to reply to my own tweets
I guess that's status-bydesign so multi-tweeting doesn't works properly, encouraging you to stay in 160 chars
 
Hey, quick question - Anyone know about Adobe Licenses?
Is it legal to split the purchase of an Adobe Product with someone?
 
7:51 PM
lol, now that I look at it, I actually have spammed my add-on to this feature request
> See my Greasemonkey script here: meta.stackoverflow.com/questions/43055/… – balpha♦ ↵ Mar 21 at 14:24
 
How/where does the threaded comment script work?
 
everywhere and mathoverflow
 
?
 
Where can I see it in action?
Moshe, licenses are personal
 
@LasseVKarlsen So can't say, split it with someone and we each use one activation?
@balpha - what is link to that original post. I want to read that whole "russia" thread.
 
8:02 PM
14
A: Should we have a policy about "too much downvoting"?

Shog9You're worried there's too much down-voting. Neil's worried there's too much up-voting. Maybe there's just too much voting? When SO was young, it was important that each user be able to really spread the love so to speak; now, there are lots and lots of users who can and do vote. Maybe it's ...

 
No, it just makes it harder for newer users to get rep
 
uh, that was the link that Moshe asked for - there, added the little arrow dealy
 
@Shog9 Too late, you've invited argument now
 
@radp - I asked for that link. Forget it.
 
@MichaelMrozek fair enough - new users don't need rep
 
8:04 PM
Note to self: Write a greasemonkey script that detects oneboxes containing Shog9 posts, and automatically reply with "that sounds wrong"
 
@radp - I wanted to read the comments
You're worried there is too many daily votes. Some people worried there is too less daily votes and posting feature requests to raise. May be Jeff's idea is to get less claim emails about those after all? – S.Mark Mar 18 at 2:57
9

@S.Mark: if Jeff's hoping to reduce the number of emails as the sites continue to grow in popularity, I'm afraid he's in for some serious disappointment... – Shog9 Mar 18 at 3:00


Ironic how following your example (what you said in the comment of the top answer) I downvoted your post =) – Kop Mar 18 at 3:02
 
@MichaelMrozek need more bots!
 
@Moshe ?
 
I'm a little depressed that there are no bots in here, actually
 
@MichaelMrozek Bots need to get rep first
 
8:05 PM
@radp - That's what I wanted to read, I asked for the link so I could read the comments.
 
Yeah, but 20 rep isn't particularly onerous. And they could share the owner's account I suppose, although that would be slightly confusing
 
@Moshe It's okay, I still get to speak my mind :)
 
@radp - Nope, You get to speak the Party's mind.
;-)
 
(if I could be downvoted here I would now have a chance for the silver version of peer pressure)
 
@radp - Okaayy... How's app Engine going?
 
8:09 PM
@Moshe I'd love to have the option to download my code from the App Engine now that I must be on Windows until this game I need to register the result for ends.
I don't think I can though
 
Try DropBox.
 
or jQuery
 
@Moshe For code I'd much rather use GitHub or jQuery ;)
 
jQuery for code downloading?
 
sure
$.clone("jquery.com/repos.jQ")
 
8:10 PM
what does that download?
 
$("*.txt").commit()
 
I'm lost.
 
Except that you seem to be sharing jQuery-ized svn commands
 
8:12 PM
jQuery is best quality code ever, if you don't use your a idiot
 
But how does that do SVN stuff?
 
it's a joke, @Moshe :)
 
oh ok
my bad
and whose site is doxdesk?
I didnt think jQuery could do uploading and whatnot...
 
do you know the famous "Parse HTML with regex" answer?
 
@Moshe bobince's
 
8:13 PM
ah
hang on
 
3891
A: RegEx match open tags except XHTML self-contained tags

bobinceYou can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...

 
what happened to user oneboxes?
 
wow, 20 upvotes for this?
wtf.
 
@radp Just goes to show, once folks expect transparency, even the hint that something shady is happening behind the scenes can make them uneasy.
 
8:18 PM
It's undeserved rep like this that makes me want to throw up a bounty
 
On Meta? Don't be silly.
 
API is returning 500 when retrieving user tags: api.stackoverflow.com/1.0/users/18936/tags?pagesize=7
that's why it's not oneboxed
 
Getting rep is too easy on meta
I tried a +250 bounty on the FOSS advertisement column but I didn't get quality entries
 
@radp inflation takes care of that
meta rep isn't worth anything :)
 
@balpha You mean you're going to raise all reqs by 10fold?
any rep above 3k isn't really useful tbh
mod tools are nice to have but not life changing
 
8:27 PM
Hello
 
goodeveninghowdoyouDO!
 
it isn't evening..
even for New Yorkers..
 
Nope, not evening in NY yet
 
damn New Yorkers should never get evening..
should just have eternal sunshine..
 
@chcha102 - hey! Don't insult NY.
 
8:29 PM
so they can never sleep..
 
lol
sleep?
 
@Moshe Yes?
 
jk
Is <quote> still standard HTML?
 
no..
 
I'm a bit out of touch.
 
8:30 PM
<blockquote> is..
 
right, my bad
 
hello!
 
hello, @maxim!
 
hi @moshe!
@Chacha102 <blockquote> is standard html?
 
Anyone know of a script to add CSS rounded corner support in IE6-8?
 
9:05 PM
I recall there being some sort of black magic javascript that added missing features to IE like alpha channels in images, but I don't know if it did rounded corners
 
2
Q: Pure CSS Rounded Corners in IE6-8 (JQuery Accepted)

BHareThere are a lot of JQuery plugins to give rounded corners to browsers that dont support CSS3. They either don't work or have an ugly effect where you see it unstyled, and then the JS kicks in and finally makes them rounded. I am looking for a solution that renders rounded corners before visibili...

Keep in mind, most of these are pretty slow in IE6, so use sparingly.
 
@shog9 - CSSPie it is. I don't care for IE6 right now.
Thanks, @shog9.
 
np. Google is your friend...
 
goo.gl links are also automatically resolved.
Also (bug?) links in the /q/{id}/{referral} format lose the {referral} bit if one-boxed
 
9:19 PM
that's by design, actually
a network internal referral doesn't count anyway
 
That's evil, you're actually encouraging people to get eleventy million followers on twitter?
 
no, facebook is okay, too
ducks
 
throws duck at balpha
 
 
9:37 PM
My copy of Chrome is developing Alzheimer, I'm constantly adding the same extensions
aren't they supposed to be synchronized with bookmarks even between OSes?
 
10:06 PM
@radp I was never able to get Chrome syncing to work properly for bookmarks or extensions.
So, I switched to XMarks for bookmarks, at least. But, they are closing down at end of year. Bah.
 
10:46 PM
bookmarks are a thing of the past
 
11:18 PM
@EndangeredMassa I'm considering offering Xmarks hosting, is that something you think there'd be interest in?
 
02:00 - 18:0018:00 - 00:00

« first day (60 days earlier)      last day (4960 days later) »