[web2py] Re: Skype Group and/or IRC

2011-06-08 Thread mattgorecki
What about on the web2py Facebook group? I believe you can live chat with all the online members of the group. Matt On Jun 8, 9:12 am, LarryEitel larrywei...@gmail.com wrote: Although I am not a regular user of IRC, I do have mIRC and occasionally pop into #web2py. However, when I do and

[web2py] Re: How to start web2py server permanently

2011-06-07 Thread mattgorecki
If you are running Ubuntu (or using the Upstart init daemon) you can create an Upstart conf file in /etc/init/ like so: # tldisplayclient - start web2py web server description start web2py web server start on startup exec sudo -u system user /usr/bin/python /opt/display/web2py.py -i ip address -a

[web2py] Re: How do I get a controller to return back to the page that calls it (when it can be called by many pages)?

2011-05-29 Thread mattgorecki
In your db_action() controller, rather than doing a return() at the end, you could just redirect like so: redirect(request.env.http_referer) On May 29, 2:46 pm, Luis Goncalves lgoncal...@gmail.com wrote: Hello All! There is a database action that I want to do in several views. Right now, I

[web2py] Re: {{=response.toolbar()}}

2011-05-29 Thread mattgorecki
Extremely useful. Thanks. On May 29, 6:16 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: This is in trunk. Give it a try: {{=response.toolbar()}} display request,response, session and db stats.

[web2py] Re: Create an email queing feature...

2011-05-27 Thread mattgorecki
What about using something like Sendgrid (http://sendgrid.com)? Or Postmark (http://postmarkapp.com/)? Let somebody else worry about throttling and blacklists and all of the headaches of smtp servers. Matt On May 26, 10:50 pm, Jason Brower encomp...@gmail.com wrote: Yes, I practically have

[web2py] Re: Help in documentation

2011-05-26 Thread mattgorecki
I was just wondering about this morning. I'd love to help where I can. Matt On May 26, 10:21 am, Vinicius Assef vinicius...@gmail.com wrote: I'd like to help keeping docs up to date. How can I do that? -- Vinicius Assef.

[web2py] Re: ATTENTION trunk users!!!!

2011-05-25 Thread mattgorecki
I'm using MySQL and I just updated. All of the *.table files updated and the my app seems to be running okay so far. Matt On May 25, 7:32 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Did anybody try with mysql? Massimo On May 25, 7:09 pm, ron_m ron.mco...@gmail.com wrote:

[web2py] Re: experimental in trunk...

2011-05-25 Thread mattgorecki
In order to do from gluon import DAL from an external program, I would need to add gluon to my Python path, correct? What directory does gluon live in? Matt On May 25, 7:43 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: now you can do, from ANY python program from gluon import DAL

[web2py] Re: experimental in trunk...

2011-05-25 Thread mattgorecki
I've got a working DAL connection that I can SELECT from. I'm running into a problem with an update like so: db(db.feed.id == f.id).update(last_update=now) The row isn't updating and I'm not getting any errors. db._lastsql shows this: UPDATE feed SET last_update='2011-05-25 20:40:56' WHERE

[web2py] Re: experimental in trunk...

2011-05-25 Thread mattgorecki
Thank you, sir. That works a bit better. Matt On May 25, 8:49 pm, Bruno Rocha rochacbr...@gmail.com wrote: Any suggestions? Matt Are you commiting? db.commit() is necessary when out of web2py env

[web2py] Re: experimental in trunk... common_fields and precints

2011-05-25 Thread mattgorecki
So in this example request_precinct would equal harvard.anyschool.org? Matt On May 25, 9:47 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: There are two more features in trunk that I could use some testing with (common fields and precints) Imagine you have created an app school

[web2py] Re: develop iphone apps with web2py with this plugin

2011-05-16 Thread mattgorecki
I started building mobile views using jQuery Mobile just a few days before you released this. For the most part we did the same things, but I have a bit of code that in models/0.py that checks for a mobile user agent and adjusts the view accordingly. This way I can use the same controller for

[web2py] Re: Insert blank record crashes in sqlite

2011-05-11 Thread mattgorecki
I'm not able to find anything SQLite specific, but this is what the MySQL docs say about empty rows: If both the column list and the VALUES list are empty, INSERT creates a row with each column set to its default value: INSERT INTO tbl_name () VALUES(); In strict mode, an error occurs if any

[web2py] Re: Web2py and message queue's

2011-05-09 Thread mattgorecki
Instead of using a database table as an intermediary you should take a look at using an actual message queue. I'm personally using BeanstalkD with the BeanstalkC python module. When a new message is created, you could create a bit of JSON that contains the message and the list of recipients.

[web2py] Re: How should I present the content?

2011-05-08 Thread mattgorecki
RRDTools generates static images so HTML and CSS would work just fine to start. Matt On May 8, 2:37 pm, Leon Chop l...@datadesign.se wrote: Hello, Thanks for advice pbreit! I would like to use rrdtools but do not know if it's possible only with HTML5/CSS5. But true as you said, KIS and see

[web2py] Re: How do you manage/version you applications and web2py core?

2011-05-02 Thread mattgorecki
You're right. This is how I do it. I use github extensively for my apps and as long as the application directory is the root of the git repository you won't run into any conflicts. On May 2, 9:25 am, pbreit pbreitenb...@gmail.com wrote: I'm not even sure you need to .hgignore your app since

[web2py] Re: Should I work for free? Funny

2011-01-14 Thread mattgorecki
I like that it was all done with CSS. No images in sight.

[web2py] Re: web2py-related thread at reddit

2011-01-06 Thread mattgorecki
Sadly, there is a cadre of redditors who simply reflexively downvote any post or comment that is remotely positive about web2py (usually without making any response). Reddit itself adds downvotes to all posts. Why this is, I don't know, but it's more than likely not malicious.