[web2py] Re: Uforum - a forum web2py application

2014-05-08 Thread Stefaan Himpe
I have created a web2py forum software, now currently only in the Dutch but wil be ported to english. Ziet er goed uit! -- http://technogems.blogspot.com http://a-touch-of-music.blogspot.com http://youtube.com/stefaanhimpe -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Question about Web2py inner workings

2014-04-05 Thread Stefaan Himpe
# born_to_fail.py foo ='bar' defmain(): printfoo if__name__=='__main__':main() If I run your code using python born_to_fail.py I get as output bar Best regards, Stefaan. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: cannot import module from application's modules directory on pythonanywhere.com

2014-03-23 Thread Stefaan Himpe
I just tried and it works without problem on my local computer. I'll double check what I did on pythonanywhere. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report

[web2py] Re: cannot import module from application's modules directory on pythonanywhere.com

2014-03-23 Thread Stefaan Himpe
is it running well in your local computer? or maybe try to import module Oh wait! On my local computer it was importing not from the modules folder but from a globally installed version of music21. I need to examine more first... -- Resources: - http://web2py.com -

[web2py] Re: cannot import module from application's modules directory on pythonanywhere.com

2014-03-23 Thread Stefaan Himpe
Intersestingly, it works correctly on my PC locally if I put it in my application's modules folder, but not on pythonanywhere. I found out, however, that I can work normally after I move music21 to web2py's site-packages folder (outside the application). This solution is not entirely

[web2py] Re: New python.org layout

2014-03-22 Thread Stefaan Himpe
Michele Comitini wrote: Seems that the new layout of python.org is here: http://python.org My first impression: it feels too widely spaced for my smaller laptop screen. Their community menu runs off my screen (unless I go full-screen in my browser, which I normally never do). Although

Re: [web2py] Re: grid layout problem

2013-11-15 Thread Stefaan Himpe
Hi Mirko, short answer: I have no idea really, it just came out like that, but here's what I did that might influence the result: 1. I think these are the relevant options I passed to my grid: ui='web2py', ...

[web2py] Re: One of the best things that happened to web2py

2013-10-28 Thread Stefaan Himpe
The instance only lives for 24 hrs unless you sign-up. In that case it will persist. Hi, I tried creating something last week as I saw it announced on the dev mailing list, and despite not signing up, I now see it still appears to be alive. Is this expected? Best regards, Stefaan. --

[web2py] Re: Column ordering in SAQLFORM.grid

2013-10-11 Thread Stefaan Himpe
Hi, def index(): form = SQLFORM.grid(db.stazione, fields={db.stazione.codice,db.stazione.sito_id,db.stazione.data_prelievo}, ... You could try: fields = [db.stazione.codice, db.stazione.sito_id, db.stazione.data_prelievo] i.e. [] instead of {} HTH, Stefaan. -- Resources: -

[web2py] Re: Two loaded components on one page - How can I refresh both on submit of sqlform.grid in one?

2013-10-08 Thread Stefaan Himpe
Anyone know how I can do that? I did just that yesterday! Here's what I did: I passed a parameter onupdate=ongridupdate to the grid, where def ongridupdate(form): # all kinds of stuff, followed by... redirect(URL(default, index, extension=html),client_side=True) -- Resources: -

[web2py] application for seminar management?

2013-10-03 Thread Stefaan Himpe
Hello list, I'm looking for suggestions for something to manage in-house seminars. Does anything like this exist already? (I can hardly imagine it doesn't...) Can Pynuke or Conf2py be used for something like this? If nothing exists, I might try to make something simple myself. Some

[web2py] Re: this would be nice for wizard 2.0

2013-04-13 Thread Stefaan Himpe
+1 -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

[web2py] Re: Not to open a can of worms ... about web2py.com

2013-03-15 Thread Stefaan Himpe
Should it be done? No. -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit

[web2py] Re: Web2py and pyjamas - redirecting controller to pyjamas html file

2012-06-23 Thread Stefaan Himpe
Hi there, Hi there, I have used pyjamas with css successfully before. The secret was to change the view a bit to insert a link to the .css file. html head meta name=pygwt:module content={{=URL('static','output/Portal')}} / link rel='stylesheet' href='{{=URL(static,

[web2py] Re: alternates to pyjamas/pyjs?

2012-05-30 Thread Stefaan Himpe
solved some of the issues...time to get crackin'! Glad to hear it :) I have found the inspect element tool in chromium to be very valuable in diagnosing trouble with my application.

[web2py] Re: Help me prepare a talk on Web2py for the June Meetup of the Atlanta Python User Group (PyATL).

2012-05-22 Thread Stefaan Himpe
Looks pretty impressive! Perhaps this can be useful.

[web2py] reverse ajax on free hosting like fluxflex / pythonanywhere

2012-05-13 Thread Stefaan Himpe
Hello list, Would anyone have an idea on how to accomplish reverse ajax (server push) on free hosting like fluxflex/pythonanywhere? If I'm correct, typical comet libraries require special web servers, so that is probably out of the question on typical free hosting sites. For my own

[web2py] Re: Time to move from Google Groups to a web2py or python??

2012-04-21 Thread Stefaan Himpe
This new look that Google Groups has implemented is seriously debilitating +200

[web2py] Re: How do we check the number of users in the new google groups?

2012-03-31 Thread Stefaan Himpe
Everything is so complicated compared to the old google groups. :-( rant I passionately dislike the look and feel of the new google groups. The new motto seems to be Why fit all messages on one screen if you can fit it on four. (And no need to point out compact mode, the amount of white

[web2py] default app.yaml outdated?

2012-03-16 Thread Stefaan Himpe
Hello, I downloaded web2py 1.99.7 source code and google app engine sdk 1.6.3. When I try to start web2py using dev_appserver, it complains (see stack trace). Any ideas? Best regards, Stefaan. WARNING 2012-03-16 21:26:56,734 rdbms_mysqldb.py:74] The rdbms API is not available because the

[web2py] Re: Happy new year

2012-01-01 Thread Stefaan Himpe
Gelukkig nieuwjaar :) Stefaan.

[web2py] Re: Merry christmas

2011-12-25 Thread Stefaan Himpe
Vrolijk kerstfeest en gelukkig nieuwjaar!

[web2py] Re: Wrapping text in SQLFORM.grid

2011-11-15 Thread Stefaan Himpe
I have found one solution which works for me: In static/css/basic.css I commented: /*.web2py_grid td { white-space:nowrap; }*/ Thanks for posting this! Best regards, Stefaan.

[web2py] Re: Please help me understand how 'lambda row, rc' works

2011-11-06 Thread Stefaan Himpe
tomt wrote: I wanted to implement the 'extracolumns' feature of SQLTABLE and the example provided in the source code is: :param extracolums = [{'label':A('Extra',_href='#'), 'class': '', #class name of the header 'width':'', #width in pixels or %

[web2py] Re: we need some good web2py quotes ....

2011-11-05 Thread Stefaan Himpe
I went web2py when I realized that what worked five years ago isn’t working today.

[web2py] Re: IMPORTANT

2011-10-12 Thread Stefaan Himpe
Do we need a policy about this? live and let live ?

[web2py] Re: on grid and smartgrid search feature

2011-10-11 Thread Stefaan Himpe
Massimo Di Pierro wrote: The new grid/smartgrid have a much better search feature. A new button query shows a popup panel that allows you to build the query string. Can you please check on your existing tables and see if you encounter any problems? The capabilities columns seems to be missing

[web2py] two SQLFORM.grid in one view?

2011-10-09 Thread Stefaan Himpe
Hello list, I try to add two SQLFORM.grid in one view. They refer to separate tables. I have given them a separate formname. The edit and update buttons behave weird: when i press view/edit in either grid, *both* the grids display the same (expected) view/edit form. Can two SQLFORM.grid be

[web2py] Re: two SQLFORM.grid in one view?

2011-10-09 Thread Stefaan Himpe
Also, performing a search in one of the two grids actually results in both grids searching for the same keyword.

[web2py] Re: two SQLFORM.grid in one view?

2011-10-09 Thread Stefaan Himpe
And noticed another thing: the export button always returns results for the first table, even when clicked on the second table.

[web2py] Re: two SQLFORM.grid in one view?

2011-10-09 Thread Stefaan Himpe
Some code: view {{extend 'layout.html'}} {{=servers}} {{=server_capabilities}} ** controller ** def index(): links = [lambda row: A('Check status',_href=URL(c='administration', f='check_server_status/%s' % row.id))] servers = SQLFORM.grid(

[web2py] Re: how to do db administration of default auth tables?

2011-10-05 Thread Stefaan Himpe
Massimo Di Pierro wrote: Did you put this: auth.define_tables() in the controller instead of a model? Something is not executing that line when you visit appadmin. I left it where it was in the simple application i created using the web interface. I just added a table of my own at the

[web2py] Re: wrapping long text lengths in grid/smartgrid

2011-09-30 Thread Stefaan Himpe
A partial reply to my own questions: I was wondering about grid/smartgrid: currently we can use maxtextlength=XXX to indicate the max length of a column. If the real length is longer than XXX, the text is chopped at a suitable length and ... is added to it. If you configure a long

[web2py] Re: new web2py issue tracking app

2011-09-22 Thread Stefaan Himpe
Please help me test it and suggest improvements: http://tests.web2py.com/tracker Hello, I've attached a .jpg image to one of the issues, but when I tried to download the attachment, I got Invalid Request Also, not sure if bug or feature: after commenting on one of the issues it seems I

[web2py] Re: new web2py issue tracking app

2011-09-22 Thread Stefaan Himpe
Please help me test it and suggest improvements: Also not sure if bug or feature: If I add an issue, owner is fixed to massimo.dipie...@gmail.com (I had expected to be the owner of the issues I logged) Also I seem to be unable to add new issues (perhaps that's a matter of permissions), but

[web2py] content type of jsonrpc service reply

2011-09-02 Thread Stefaan Himpe
Hello, I seem to have hit an unexpected detail of the jsonrpc support in web2py: when I post a json request to my web2py application, I get a json reply with a content-type set to text/html; charset=utf8 (whereas i had expected something like application/json). Am I doing something wrong?

[web2py] Re: content type of jsonrpc service reply

2011-09-02 Thread Stefaan Himpe
There *is* a bug, but it should be generating text/x-json (and that should be fixed). Are you sure you're getting text/html? I definitely received text/html. (web2py 1.98.2, running on rocket 1.2.2). A wide variety of content types seems to be in use, but http://www.ietf.org/rfc/rfc4627.txt

[web2py] Re: content type of jsonrpc service reply

2011-09-02 Thread Stefaan Himpe
Is this coming through generic.json? I created a simple web application from scratch, only added this code in the controller (I think web2py has support for both json and jsonrpc? i'm using jsonrpc here): @service.jsonrpc def add(x,y): return x+y Now, I post a json request over http to

[web2py] Re: GAE Question

2011-08-06 Thread Stefaan Himpe
I decided to upgrade to the latest web2py version 1.98.2, then using the GAE app launcher for windows (version 1.5.2) I deployed it to the google server. when I try to go to the urlmy application.appspot.com then I got a server error 500. I believe there's currently an issue with GAE at

[web2py] Re: slides of the San Francisco talk

2011-07-14 Thread Stefaan Himpe
http://www.scribd.com/doc/60038745/web2py-talk The slides are stunningly informative and beautiful.

[web2py] startSSL: it was nice while it lasted

2011-06-23 Thread Stefaan Himpe
http://news.netcraft.com/archives/2011/06/22/startssl-suspends-services-after-security-breach.html

[web2py] generating free domain validated ssl certificates

2011-06-12 Thread Stefaan Himpe
I found this blog post and it seems interesting: http://www.mattb.net.nz/blog/2011/06/13/using-startcom-free-ssl-certificates-with-cyrus-imapd/

[web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread Stefaan Himpe
villas wrote: Your password should only be entered into the authentication site, e.g. if you log in via Google you should only enter your password into a browser window which shows a Google url. Thanks for clearing that up. My n00bieness to web stuff obviously shines through :)

[web2py] Re: web2py in the Pypi

2011-03-12 Thread Stefaan Himpe
contatogilson...@gmail.com wrote: The web2py in the Pypi is old. When go to update? Need to help? _ I just noticed there's a buildout recipe for web2py: http://pypi.python.org/pypi/web2pyrecipe/1.0

[web2py] Re: Log the user out

2011-03-11 Thread Stefaan Himpe
Do you have any suggestions about how to log the user out and keep control of what he sees next? David J. already answered your question: use session.flash instead of response.flash best regards, Stefaan.

[web2py] Re: python tutorial video

2011-03-08 Thread Stefaan Himpe
http://vimeo.com/20743963 I'm a bit intrigued by how the screencasts are made. Given that they show no typos and constant typing speed, I assume you made (or found) a system that takes a text file as input and renders it to a screencast automatically?

[web2py] Re: python tutorial video

2011-03-08 Thread Stefaan Himpe
My suggestion - Konstantin Scherbakov, maybe Liszt's transcriptions of Beethoven symphonies for the Piano His Lyapunov etudes are well worth listening to as well :)

[web2py] Re: DAL new syntax RFC

2011-03-05 Thread Stefaan Himpe
think of a dot a False. Two does r and w are false, one dot and only w is false. IMHO: It's very short to write, but nearly impossible to guess its meaning. Wouldn't Field('readonly:name') and Field('invisible:name') be more readable ?

[web2py] Re: web2py on Quora

2011-03-01 Thread Stefaan Himpe
I have included a response to Jacob within my own answer to that question. I liked your answer. I can't speak to wether django is a good web framework: I haven't used it. I suspect it is though. However, his review of web2py is not a good review at all. It is based on no experience, based

[web2py] component for real time remote file monitoring

2011-02-18 Thread Stefaan Himpe
Hello list, I am trying to wrap my mind around AJAX, and I would like to solicit your advice. I have made something that can do real time (well... almost :) ) log file monitoring, but I don't see how to implement it in the most web2pythonic way possible. In the controller I have a function

[web2py] Re: pyQT web2py

2011-01-20 Thread Stefaan Himpe
Hello, It's not clear to me how you would combine PyQt (or PySide) with web2py in the same application, it doesn't seem to make much sense to me. Provided you could actually make this work, a PyQt UI embedded in a web2py application would only be visible on the server (e.g. some google data

[web2py] Re: web2py-related thread at reddit

2011-01-07 Thread Stefaan Himpe
first they laugh at you then they fight you then you win (Mohandas Karamchand Gandhi) Best regards, Stefaan.

[web2py] Re: web2py-related thread at reddit

2011-01-07 Thread Stefaan Himpe
Kuba Kucharski wrote: On Fri, Jan 7, 2011 at 9:43 PM, Stefaan Himpestefaan.hi...@gmail.com wrote: first they laugh at you then they fight you then you win http://www.mail-archive.com/web2py@googlegroups.com/msg32314.html Your link didn't work for me, but I assume this points to the same:

[web2py] Re: web2py-related thread at reddit

2011-01-07 Thread Stefaan Himpe
first they laugh at you then they fight you then you win http://www.mail-archive.com/web2py@googlegroups.com/msg32314.html Your link didn't work for me, but I assume this points to the same: http://www.mail-archive.com/web2py@googlegroups.com/msg32314.html Lol! Interesting how gmane rewrites

[web2py] congratulations on making it to pycon2011 :)

2011-01-05 Thread Stefaan Himpe
Seems like good news to start 2011 :) Best regards, Stefaan.

[web2py] Re: Web2Py Foundation?

2010-12-29 Thread Stefaan Himpe
I would like to see web2py becomes matured in a similar model as Drupal, at lease with a PR manager, a release manager, a documentation manager, and a newbie-assistance manager, together with a platform that attracts developers and encourages contribution. Massimo's role should be in developing

[web2py] Re: The stability of web2py releases

2010-12-22 Thread Stefaan Himpe
Is there a typo on this planet that can evade Anthony? :D While we're on the subject... *cough*experts4solutions.com*cough* Its typos still make my eyes bleed :p

[web2py] Re: When to use lambda?

2010-12-21 Thread Stefaan Himpe
pbreit wrote: I see lambda used quite a bit and don't totally understand the concept. Is there a simple rule to follow to know when it is necessary to use? Sometimes you need to pass a function as an argument to another function. In that case you have a choice to 1. define a separate

[web2py] Re: When to use lambda?

2010-12-21 Thread Stefaan Himpe
myfunction(lambda x: print 'Eat %s!' % x) and that would print 'Eat this!'. Ahm... :) You can't use print in lambda as it is a statement, not an expression (in python 2.x at least)

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Stefaan Himpe
Could it be that the corrected version is not online yet ?

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Stefaan Himpe
Hello, thanks for designing a beautiful theme! One remark though: on my screen the white experts4solutions logo (as inlined in the text) is hard to read. Best regards, Stefaan.

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Stefaan Himpe
Stefaan Himpe wrote: Could it be that the corrected version is not online yet ? To be clear: I'm referring to the spelling corrected version.

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Stefaan Himpe
-- http://www.experts4solutions.com -- Looks very slick :) There's a typo on http://www.experts4solutions.com/e4s/default/companies (it says conact instead of contact) Best regards, Stefaan.

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Stefaan Himpe
Still looks very slick :) But there's a second typo on http://www.experts4solutions.com/e4s/default/guidelines In the first sentence of the RAD section it says but a belief where I expected something like by a belief... Best regards, Stefaan.

[web2py] Re: web2py organization - important for consultants !!!

2010-11-11 Thread Stefaan Himpe
Some more typos in the guidelines page... faled prototypes can be minimized by = failed prototypes can be minimized [also remove the word by] it is not as an alternative to executing the full project project. = [it mentions project twice at the end of the sentence] mjor contributor = major

[web2py] Re: RFC: Why web2py rocks

2010-11-08 Thread Stefaan Himpe
Hope you enjoy it. If you guys think it's OK as it is, I'll post a PDF version somewhere. I spotted a typo alaready (from: The age of web applications has alaready started...and web2py is there) The sentence Maybe not as web2py. sounds a bit weird to me (but I'm not a native English

[web2py] Re: Web2py Application Exhibition ( Version 2.0 )

2010-11-07 Thread Stefaan Himpe
Frankly, I think including closed-source (binary even) apps would be better PR. You CAN use web2py to build them, so why not show them off? Can't closed-source applications already be shown off? I'm thinking about http://www.appliedstacks.com/PoweredBy/web2py I don't think it is our job to