[web2py] Re: The procedure entry point wcspy_s could not be located in the dynamic link library msvcrt.dll
I am also getting the the procedure entry point wcspy_s could not be located in the dynamic link library msvcrt.dll on WinXP and this is a clean install with no pre-existing projects of databases. On Thursday, December 5, 2013 1:12:53 PM UTC-8, Niphlod wrote: recent web2py version enforce FK integrity on SQLite (as any other relational backend does by default) to prevent users from working on the development with SQLite without realizing that there is some really faulty data in the database. Too many incurred in the problem too late to know... check your data and fix it before it's too late ^_^ On Monday, December 2, 2013 12:49:40 AM UTC+1, Alex Glaros wrote: When upgrading to 2.8.2 today on Windows Home XP, I get this error when trying to boot W2P: The procedure entry point wcspy_s could not be located in the dynamiclink library msvcrt .dll I restore to earlier Windows version to remove the DLL error and get W2P working, but then get the following error when adding a record via a form: class 'sqlite3.IntegrityError' foreign key constraint failed Same controller works for 7.2.4. No DLL and no foreign key error. On another Windows 7 machine I don't get DLL error but get foreign key constraint error on same app that works with W2P 7.2.4 Alex Glaros -- 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 Issues) --- 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: The procedure entry point wcspy_s could not be located in the dynamic link library msvcrt.dll
Done :) On Friday, December 13, 2013 11:34:33 AM UTC-8, Niphlod wrote: jump on the bandwagon yourself! http://code.google.com/p/web2py/issues/detail?id=1809 On Friday, December 13, 2013 8:30:29 PM UTC+1, mikech wrote: I am also getting the the procedure entry point wcspy_s could not be located in the dynamic link library msvcrt.dll on WinXP and this is a clean install with no pre-existing projects of databases. On Thursday, December 5, 2013 1:12:53 PM UTC-8, Niphlod wrote: recent web2py version enforce FK integrity on SQLite (as any other relational backend does by default) to prevent users from working on the development with SQLite without realizing that there is some really faulty data in the database. Too many incurred in the problem too late to know... check your data and fix it before it's too late ^_^ On Monday, December 2, 2013 12:49:40 AM UTC+1, Alex Glaros wrote: When upgrading to 2.8.2 today on Windows Home XP, I get this error when trying to boot W2P: The procedure entry point wcspy_s could not be located in the dynamiclink library msvcrt .dll I restore to earlier Windows version to remove the DLL error and get W2P working, but then get the following error when adding a record via a form: class 'sqlite3.IntegrityError' foreign key constraint failed Same controller works for 7.2.4. No DLL and no foreign key error. On another Windows 7 machine I don't get DLL error but get foreign key constraint error on same app that works with W2P 7.2.4 Alex Glaros -- 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 Issues) --- 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: How to access the auth tables in appadmin?
Thanks Bill. What I'm trying to find out is how do I access the tables involved with security. Do I need to create views, or is there already some associated with the appadmin? On Wednesday, October 17, 2012 7:55:02 PM UTC-7, Bill Thayer wrote: Try this: In db.py: from gluon.tools import Auth, Crud, Service, PluginManager, prettydate auth = Auth(db) crud, service, plugins = Crud(db), Service(), PluginManager() auth.define_tables(username=True) # arg makes it so you can use a username instead of email to login On Wednesday, October 17, 2012 6:20:48 PM UTC-5, mikech wrote: I'm working thru the book again, and when I get to the image tutorial it mentions adding a manager group to the auth tables in appadmin: Using appadmin create a group manager and make some users members of the group. They will not be able to access I cannot find where this is, when I bring up the appadmin it just shows the two tables of the application - image and comment. --
[web2py] Re: How to access the auth tables in appadmin?
Hi Bill don't want to take up much of your time. I've verified that the auth_* tables are defined using a sqllite2009 pro. I've included a screen shot attached. And I've also included a screenshot of the appadmin page which shows just 2 files image and comment. This is consistent with the image in the book by the way. On Thursday, October 18, 2012 9:21:39 AM UTC-7, mikech wrote: Thanks Bill. What I'm trying to find out is how do I access the tables involved with security. Do I need to create views, or is there already some associated with the appadmin? On Wednesday, October 17, 2012 7:55:02 PM UTC-7, Bill Thayer wrote: Try this: In db.py: from gluon.tools import Auth, Crud, Service, PluginManager, prettydate auth = Auth(db) crud, service, plugins = Crud(db), Service(), PluginManager() auth.define_tables(username=True) # arg makes it so you can use a username instead of email to login On Wednesday, October 17, 2012 6:20:48 PM UTC-5, mikech wrote: I'm working thru the book again, and when I get to the image tutorial it mentions adding a manager group to the auth tables in appadmin: Using appadmin create a group manager and make some users members of the group. They will not be able to access I cannot find where this is, when I bring up the appadmin it just shows the two tables of the application - image and comment. -- attachment: images.pngattachment: images-appadmin.png
[web2py] Re: How to access the auth tables in appadmin?
I uninstalled the images app and reinstalled it using the wizard rather than the new simple app option. The auth tables show up now. So, it depends on how the app is setup Mike On Thursday, October 18, 2012 10:59:02 AM UTC-7, Massimo Di Pierro wrote: Is it possible you have two db = DAL(...) in your code (perhaps in different model files)? On Thursday, 18 October 2012 12:36:00 UTC-5, mikech wrote: Hi Bill don't want to take up much of your time. I've verified that the auth_* tables are defined using a sqllite2009 pro. I've included a screen shot attached. And I've also included a screenshot of the appadmin page which shows just 2 files image and comment. This is consistent with the image in the book by the way. On Thursday, October 18, 2012 9:21:39 AM UTC-7, mikech wrote: Thanks Bill. What I'm trying to find out is how do I access the tables involved with security. Do I need to create views, or is there already some associated with the appadmin? On Wednesday, October 17, 2012 7:55:02 PM UTC-7, Bill Thayer wrote: Try this: In db.py: from gluon.tools import Auth, Crud, Service, PluginManager, prettydate auth = Auth(db) crud, service, plugins = Crud(db), Service(), PluginManager() auth.define_tables(username=True) # arg makes it so you can use a username instead of email to login On Wednesday, October 17, 2012 6:20:48 PM UTC-5, mikech wrote: I'm working thru the book again, and when I get to the image tutorial it mentions adding a manager group to the auth tables in appadmin: Using appadmin create a group manager and make some users members of the group. They will not be able to access I cannot find where this is, when I bring up the appadmin it just shows the two tables of the application - image and comment. --
[web2py] Re: Problem with adding Grids in book
Im not seeing the auth user table only db.image and db.comment On Tuesday, October 16, 2012 5:28:24 PM UTC-7, Bill Thayer wrote: Hello Mike, I'm not an expert but i think you need to go to http://127.0.0.1:8000/myapp/appadmin/index then click on the auth user table and add a user, then go to the groups table table and create a manager then go to the membership table and make your new user a manager then go to the permissions table and make 3 entries: permission = Create group=manager; permission = read group=manager; permission = update group=manager, This is a quick answer on my way out the door hope it helped. -Bill On Tuesday, October 16, 2012 6:33:19 PM UTC-5, mikech wrote: The section Adding Grids refers to using appadmin to create a group manager, but I can't find anything in appadmin that allows that. Could someone give me a clue. It seems that something is missing here. --
[web2py] How to access the auth tables in appadmin?
I'm working thru the book again, and when I get to the image tutorial it mentions adding a manager group to the auth tables in appadmin: Using appadmin create a group manager and make some users members of the group. They will not be able to access I cannot find where this is, when I bring up the appadmin it just shows the two tables of the application - image and comment. --
[web2py] Looking for a tutor
I would be interested in hooking up with someone for some tutoring online for pay of course. Anyone interested? I'm in California so a similiar time zone would be best. Mike --
[web2py] Problem with adding Grids in book
The section Adding Grids refers to using appadmin to create a group manager, but I can't find anything in appadmin that allows that. Could someone give me a clue. It seems that something is missing here. --
[web2py] MariaDB
MariaDb is supposedly a drop in replacement for MySql. Does anyone have any experience using this with Web2py? --
Re: [web2py] Dart - New Google Language
Isn't that the goal of Node.js? I agree Dart is an interesting language, I'm currently following it. It does seem with efforts like Node.js and Meteor that JS is advancing on both the server and client. On Wednesday, April 18, 2012 10:35:34 AM UTC-7, villas wrote: Naturally JS is extremely popular -- as far as client-side programming does, it's more or less the only show in town. But what about server-side? At the moment we have to use things like python, which is great and IMO much better than JS. However, I don't think python will ever cross over to the client. Therefore we have to use at least two development languages/environments. What if someone came along and introduced something which could handle everything that JS already had, but then go on to satisfy all the requirements for writing solid apps that we can run on the server? I mean database bindings, possibility of better data typing and a good IDE environment which can run natively in a browser, but still support other popular browsers too. It would be brilliant for developers building desktop apps and running them everywhere via a well supported client browser. I believe that's what Google are trying to do. They start off with JS support and build that into all-encompassing environment suitable for all tasks. It an attractive goal and I hope that they can succeed because I just want to learn one language that does everything.
Re: [web2py] Dart - New Google Language
By the way O'Reilly has a free book on Dart at: http://shop.oreilly.com/product/0636920025887.do On Wednesday, April 18, 2012 11:11:55 AM UTC-7, mikech wrote: Isn't that the goal of Node.js? I agree Dart is an interesting language, I'm currently following it. It does seem with efforts like Node.js and Meteor that JS is advancing on both the server and client. On Wednesday, April 18, 2012 10:35:34 AM UTC-7, villas wrote: Naturally JS is extremely popular -- as far as client-side programming does, it's more or less the only show in town. But what about server-side? At the moment we have to use things like python, which is great and IMO much better than JS. However, I don't think python will ever cross over to the client. Therefore we have to use at least two development languages/environments. What if someone came along and introduced something which could handle everything that JS already had, but then go on to satisfy all the requirements for writing solid apps that we can run on the server? I mean database bindings, possibility of better data typing and a good IDE environment which can run natively in a browser, but still support other popular browsers too. It would be brilliant for developers building desktop apps and running them everywhere via a well supported client browser. I believe that's what Google are trying to do. They start off with JS support and build that into all-encompassing environment suitable for all tasks. It an attractive goal and I hope that they can succeed because I just want to learn one language that does everything.
Re: [web2py] Meteor web framework
Looks very interesting! On Wednesday, April 11, 2012 9:09:04 AM UTC-7, Richard wrote: The site is pretty unstable, it keeps reloading the page all the time. Richard On Wed, Apr 11, 2012 at 11:11 AM, Francisco Costa wrote: http://www.meteor.com Meteor is a set of new technologies for building top-quality webapps in a fraction of the time, whether you're an expert developer or just getting started. I think this is something worth checking out
[web2py] Re: The Winners! Web2py Application Exhibition Version 3.0
Next time I would be willing to contribute towards the prize. I think this is a good way to feed the web2py ecosystem. Mike On Wednesday, March 7, 2012 10:49:33 AM UTC-8, NetAdmin wrote: 1st Place Prize $100 Brian Cottingham from the U.S. was the First Place Winner. His entry of MobleBlur is a mobile-friendly interface to the Newsblur RSS reading website. A working demo can be viewed at http://mobileblur.spiffyte.ch https://github.com/spiffytech/MobileBlur/tarball/master 2nd Place Prize $50 Phyo Arkar from from Burma is the Second Place Winner, with an entry of HersPOS -- A Web2py + Qooxdoo based restaurant POS http://herspos.appspot.com/HersPOS http://code.google.com/p/herspos/ - I'd like to thank Bruno Rocha and Falko Krause for helping out as judges, and I'd like to thank Massimo for a GREAT Framework! Mr.NetAdmin
Re: [web2py] Re: more tutorials?
Bruno: This sounds great, I'd like to hear a sample in English when it's available. Mike On Monday, March 5, 2012 4:47:06 PM UTC-8, rochacbruno wrote: I teach a Python and web2py online course for begginers[1], I teach the course in Portuguese and now it is completing one year of existence, in this last year I've trained 156 people in 10 class groups, normally each group has 15-20 students and all the classes are recorded and available for future referencing. Now I am starting to record a series *Python and web2py from the beginner to intermediate* - This will be a payed on-line course in videos a total of 12 classes (In English with Spanish subtitles), having 2 hours each class and total on-line support for the students. During the course following the successful example of the Portuguese classes, the students will develop an e-commerce system for a fictitious store. In the program we are going to see the Python basics, Object Oriented Programming with Python, Most used modules and tools and development of scripts, modules, packages, simple desktop application with Tkinter DAL and after that we will have 7 videos talking about almost everything of web2py and basics of web development. I am studying to improve my English pronunciation and counting with the help of a English teacher to be better understandable (but still with a nice Portuguese accent..) The whole program will cost ~U$300 per student (almost the same I charge in Brazil) You can watch an example class in Portuguese: here: (Intro video) http://www.cursodepython.com.br/ and here: (3 hour class) http://www.cursodepython.com.br/matricula/curso-gravado I just started to record it all in English and I am negotiating the inclusion of Spanish subtitles. I will announce here when I get some videos ready! [1] http://www.cursodepython.com.br -- Bruno Rocha [http://rochacbruno.com.br] On Monday, March 5, 2012 4:47:06 PM UTC-8, rochacbruno wrote: I teach a Python and web2py online course for begginers[1], I teach the course in Portuguese and now it is completing one year of existence, in this last year I've trained 156 people in 10 class groups, normally each group has 15-20 students and all the classes are recorded and available for future referencing. Now I am starting to record a series *Python and web2py from the beginner to intermediate* - This will be a payed on-line course in videos a total of 12 classes (In English with Spanish subtitles), having 2 hours each class and total on-line support for the students. During the course following the successful example of the Portuguese classes, the students will develop an e-commerce system for a fictitious store. In the program we are going to see the Python basics, Object Oriented Programming with Python, Most used modules and tools and development of scripts, modules, packages, simple desktop application with Tkinter DAL and after that we will have 7 videos talking about almost everything of web2py and basics of web development. I am studying to improve my English pronunciation and counting with the help of a English teacher to be better understandable (but still with a nice Portuguese accent..) The whole program will cost ~U$300 per student (almost the same I charge in Brazil) You can watch an example class in Portuguese: here: (Intro video) http://www.cursodepython.com.br/ and here: (3 hour class) http://www.cursodepython.com.br/matricula/curso-gravado I just started to record it all in English and I am negotiating the inclusion of Spanish subtitles. I will announce here when I get some videos ready! [1] http://www.cursodepython.com.br -- Bruno Rocha [http://rochacbruno.com.br]
[web2py] Re: room booking system with web2py...
You should consider having a from and to date as a start, and as stated below, split room and reservations into two tables joined by room id. On Tuesday, February 28, 2012 11:28:46 AM UTC-8, Christoph Ott wrote: Thank you for the great examples, helped me a lot. It's almost working I've got only a few Problems... My DB has 3 fields: Room, time, date. Is there any possibility to check if the room already booked? So I can't book a room twice I've found nothing in the book and with google. Can you give me hint what command it can probably work? Thanks a lot On 22 Feb., 18:53, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Here http://web2py.com/appliances you can find some reservation systems: hotelroom, restaurant table, books. Hope they are useful. Massimo On Feb 22, 10:37 am, Christoph Ott jones.mai...@googlemail.com wrote: Hello, first of all I'm a beginner with web2py... I have to realize aroombooking system with web2py for my study. For now I've created a table called db.bookings this table got the values: id, user,room, time, date... (theroomare from an other table called db.room) To allow the user to check if theroomis available on a certain time I wanted to make a field where he can choose aroomand get the bookings for thisroomdisplayed... I've tried a lot with crud.select but I didn't found any useful examples with google and in the web2py book (http://web2py.com/book/default/chapter/07#CRUD) isn't much explained... can anyone give me a hint or just a good site with some examples how I could realize this function. Thanks a lot for reading... bye
[web2py] Re: I would like to learn Web2py but where do I start?
Hi Newbie, If you think you'll stick around it would be good to have your real name somewhere. Here is a book on Python that has gotten a lot of attention recently. It starts you from the very beginning. http://learnpythonthehardway.org/ On Thursday, February 23, 2012 12:34:08 PM UTC-8, newbie wrote: Hello, I would like to learn Web2py but know nothing about programming. I'm convinced it's the best language out there so I don't want to waste time learning something that would not be applicable if I ended up using Web2py (PHP, etc). Do I need to learn Javascript first? Do I need to know HTML? I would eventually like to learn how to build database driven websites. Thanks
[web2py] Valentina DB
Anyone come across this product in the wild? Seems good, and it has a report writer, which is a missing piece I've been looking for. Has no Python binding, does support SQL. http://www.valentina-db.com/
[web2py] Re: PyCharm for web2py development -- interest in a third-party plugin?
I also wonder who could've set that bad tone, I haven't seen anything on the request list.
Re: [web2py] [off topic] Announcement
Congratulations!
[web2py] Blog mention of Web2py
http://pyrseas.wordpress.com/2011/12/19/design-notes-on-database-application-development/
Re: [web2py] Re: Development of the Framework
Rhys - as a beginner I think you'll find that web2py is exactly what you want to get going, and get results quickly. Mike
[web2py] Re: Web Development Introduction Based On Web2py
Bookmarked! I like the approach as well.
[web2py] Re: new book now available in HTML (english, japanese, italian)
Will there be an ebook version for purchase. I want to contribute towards the effort, but don't want a physical book. Either that or a donate button, though I realize that wasn't to lucrative in the past. Mike
[web2py] [OT] Pycharm 2 is out
Still no web2py love, but some nice features. http://www.jetbrains.com/pycharm/whatsnew/ and here is the link for voting for web2py support. http://youtrack.jetbrains.net/issue/PY-1648?projectKey=PY 'web2py the Rodney Dangerfield of Python web frameworks'
[web2py] Re: PyCon 2012 tutorials announced
Web2pyCon? Maybe?
[web2py] Re: web2py for dummies
Thanks Cliff, I will take a look. I Mike
[web2py] Re: web2py for dummies
I've been thinking along these same lines. I would like to see a workbook to go along with the web2py book in which the concepts in the book are illustrated in a sample in the workbook. Perhaps it could be a progressive sample that builds on one of the samples begun in the earlier chapters. Mike
[web2py] Re: Error in custom_import and Pyforum
I'm on Windows and the json library is there, but I will take Massimo's advice and replace it. Thanks! Mike
Re: [web2py] Error in custom_import and Pyforum
Thanks, this must be it. I'm running under 2.5 using the web2py standard binary distribution. Mike
[web2py] Python27.dll?
I know that we can run the source version under 2.7 by specifying the version at the command line. Is it possible to replace the Python25.dll in the binary distribution with the 2.7 dll and have it use this instead? Also where would I find this file?
[web2py] Error in custom_import and Pyforum
Hi: I downloaded Pyforums in order to study some code in what looks like a very well done application. When I try to look at the default index view I get the following error: 1. 2. 3. 4. 5. 6. 7. Traceback (most recent call last): File gluon/restricted.py, line 194, in restricted File C:\web2py\applications\pyforum\controllers/default.py, line 6, in module File gluon/custom_import.py, line 294, in __call__ File gluon/custom_import.py, line 78, in __call__ ImportError: No module named json Running Version 1.99.2 (2011-09-26 06:55:33) stable
[web2py] [OFF] Python Weekly mention of web2py video by Francisco
Great weekly newletter. Occasionally web2py comes up, though Django has the majority of stories. http://www.pythonweekly.com/ Here is the most recent issue: http://us2.campaign-archive1.com/?u=e2e180baf855ac797ef407fc7id=1c9c8cf4dee=a7170878cf
[web2py] Re: Oreilly python-Certification
Thanks, very useful.
Re: [web2py] Re: Online Book Typo
So can we assume that the typos we see there now, have not been reported?
Re: [web2py] Re: Online Book Typo
+1 for this. I wasn't thinking about major edits, but we could see whether the typos etc. had already been reported and not crowd the group with repeats.
[web2py] Re: Online Book Typo
I was wondering if there was any 'bug' tracking in relation to the documentation. It might be a good idea to track the corrections, and changes.
[web2py] Re: new web site
Just clicking thru some links - Scanme looks like its moved from http://www.scanme.co.za/ to http://www.scanme.com/
[web2py] Re: new web site
Looks real good!
[web2py] Re: Online Book Typo
Ok I'm reading thru that chapter, and forward. So I'll report what I find.
[web2py] Re: Online Book Typo
In the section Scheduler: It provides a *standrad* mechanism for creating and scheduling tasks. The first argument of the Scheduler class must be the database to be used by the scheduler to communicate with the workers. This can be the db of the app or another* dedictade* db,perhaps one shared by multiple apps. The second argument *if* a Python dicitonary (should be is?) The -K option starts a worker. The argument of the -K option is a list of app names, separated by *comman.* These are the apps that will be served by this worker. One can start many* workers,.* * * What is missing to *achtually* schedule the tasks: * *
[web2py] Re: Online Book Typo
I would be glad to help clean up the book if you need it. Otherwise I will post the issues here. Mike
[web2py] Re: Online Book Typo
Further down in the chapter on scheduler there are these paragraphs. Once a task exists (there is a record in the scheduler_talk table), is QUEUED, and is ready (*mmeets* all the conditions specified in the record) it can be picked up by a worker. As soon as a worker is available it picks the first ready task schduled to run. The worker *create(s)* an entry in a another table scheduler_run (also create*(d)* by the scheduler). The table scheduler_run stores the status of all running tasks. Each record references a task that has been picked up by a worker. *Once* task can have muliple runs. For example *on/a *task scheduled to repeat 10 times at 1h *distance/intervals?*, will probably have 10 runs (unless one *failes*or they take longer than 1h).
[web2py] Re: Online Book Typo
One more thing: As soon as a worker is available it picks the first ready task schduled to run - As soon as a worker is available it picks the first scheduled task that is ready to run.
[web2py] Re: book version 3.1 online
Is there somewhere that lists the diff between the most current and prior versions?
[web2py] Re: vote for Pycharm support for Web2py
Bump again. The new Pycharm Early Access Program has released a new version discussed at: http://blog.jetbrains.com/pycharm/2011/10/new-pycharm-2-0-eap-build-cython-coffeescript-code-coverage/ It now has support for Cython and Coffeescript. The latter sounds very interesting.
[web2py] Re: book version 3.1 online
Time to donate again.
[web2py] 30+ Most Useful Web Development Frameworks
Its sort of a mixed bag of tools but web2py gets notice. http://designmodo.com/web-development-frameworks/
[web2py] New UI package
Telerik - a Windows UI vendor has made a move into the Javascript/web market with it's Kendo UI http://www.kendoui.com/. The package works with jQuery. Maybe we'll see other vendors embracing this strategy.
[web2py] Re: Re-Launch a Better version www.beunick.com
Looks good, also interesting idea. Could I ask what UI tool you used?
[web2py] Re: web2py received 2011 BOSSIE Award by InfoWorld.com
Congratulations! Hey DePaul you just got some PR from one of your esteemed faculty!
[web2py] Re: Web2py in a pure python data acquisition system
Impressive!
[web2py] Re: {{web2py_conflict}}
I will be interested to hear how this works out, as I'm also interested in Angular.
[web2py] Re: infoworld put web2py in the top of python frameworks
Very nice! - Going to retweet this again :)
[web2py] Re: Introducing Grafpad!
Very nice!
[web2py] Problems with online book?
Getting an Internal Error Ticket issued: unrecoverablehttp://www.web2py.com/admin/default/ticket/unrecoverable when I try to access the book from the web2py front page.
[web2py] Re: talks
Damn, will be up there weekend of the 16th. Anyone in the L.A. area btw who is involved with socal-piggies? Mike
[web2py] Re: OffTopic Google+
I am interested, but not anxious to add to my social load at the moment. What are your impressions? Mike
[web2py] A mvc-mini-profiler for GAE
http://bjk5.com/post/6944602865/google-app-engine-mini-profiler
[web2py] FYI: DataTree: Elementtree replacement
Emphasizing brevity and aesthetics. http://www.bigjason.com/blog/announcing-datatree/
[web2py] Re: ekjaa
Is this a web2py site? Very nice. One comment: How Ekjaa works sliding tool moves a bit fast for me to read, and doesn't pause when my mouse is over it. Mike
[web2py] Re: For Massimo: which version of book to buy?
How about we all write letters of recommendation to your Department Chair - just kidding :)
[web2py] Re: For Massimo: which version of book to buy?
Wouldn't it be better at this point to use the online version and just contribute to the project using the link on the main page?
[web2py] Re: Discussion: Thoughts about including jQuery UI in core web2py?
-1 for this. I realize jquery is by far the most popular js framework, but I think it would be better to be js agnostic. In fact I would like to see more examples using other frameworks, like dojo, angular.js, or yui3. I've seen quite a number of posts about people using other frameworks instead of jquery, particularly dojo, (see: http://blog.rebeccamurphey.com/2009/11/12/dojo-confessions-or-how-i-gave-up-my-jquery-security-blanket-and-lived-to-tell-the-tale for example) and I think its an impediment to tie the web2py framework too closely to one of these despite it's popularity.
Re: [web2py] Re: My talk at ChiPy about new features
Advertise it. There is a pretty active Python user group here, and it would make a nice talk.
[web2py] Re: My talk at ChiPy about new features
If you're ever in L.A. there is an active Python community here.
[web2py] FYI Data Brewery - anyone used it?
http://databrewery.org/ Brewery is a Python http://python.org/ framework and collection of tools for analysing and mining data. Goal is to provide functions and tools for: - streaming and processing structured data from various sources, such as CSV, XLS files, Google spreadsheets, relational (SQL) databases, MongoDB (no-sql database),... - data quality auditing - data mining Complementary framework to brewery is *Cubes*: framework for online analytical processing (OLAP)
[web2py] Now everyone is Exec'ing :)
... As the blog entry goes on to point out, namedtuple is implemented by generating and exec'ing code for the classes it creates. I have a natural developer's distrust of exec, but as Raymond pointed out in a recent talk: execing code is not a security risk, execing untrusted code *is*. ... http://www.voidspace.org.uk/python/weblog/arch_d7_2011_05_28.shtml#e1215
[web2py] FYI PyCode Conf Oct 6th 7th miami, Florida
http://py.codeconf.com/ by these people http://codeconf.com/
[web2py] Re: Missing paramenter?
Thanks my Pycharm was reporting it as an error.
[web2py] Re: Where is LOAD?
This blog post, http://rhettinger.wordpress.com/2011/01/28/open-your-source-more/, got me thinking how nice it would be to link from the book to the source. I'm just beginning with Python and it took me a while to find where Request, Session and Response were defined.
[web2py] Missing paramenter?
Is this code in globals.py missing a parameter? def stream( self, stream, chunk_size = DEFAULT_CHUNK_SIZE, request=None, ): missing a parameter after request=None, ? Also in def connect( self, request, response, db=None, tablename='web2py_session', masterapp=None, migrate=True, separate = None, check_client=False, ):
Re: [web2py] What if Massimo got hit by a Bus?
Long live Massimo!
[web2py] Re: vote for Pycharm support for Web2py
bump - new pycharm release : Today, hot on the heels of the IntelliJ IDEA 10.5 release, we’ve released a new EAP build of PyCharm 1.5. This build includes two major new features (which will probably be the last major new features of the 1.5 release). The first one is *database support*. You can now use PyCharm to edit .sql files (with full syntax highlighting and code completion), browse the structure of the tables on your database server, run queries and view their results. And of course, in *Django* applications, PyCharm will automatically recognize the databases referenced from your settings.py file and offer to configure data sources for them. (This currently works for SQLite, MySQL and PostgreSQL database engines).
[web2py] Re: Cubrid?
Essen: Thank-you for the quick response. And Massimo that was real quick - talk about Agile! Is anyone going to write this up on the CUBRID site like Essen mentioned above? Mike
[web2py] Cubrid?
Has anyone come across this DB? Seems like it might be big in Korea. The screen shots of the manager app looks interesting. http://www.cubrid.org/home
[web2py] FYI - Easter Sale from JetBrains
PyCharm on sale for 50% off. http://blogs.jetbrains.com/pycharm/2011/04/easter-sale-from-jetbrains/
[web2py] Re: Interesting tool, Maqetta
Yes interesting, and it looks like it uses Dojo.
[web2py] Re: web2py as the best choice for newstarters in web frameworks
Yes very good choice, as a beginner I've found it the most learnable.
[web2py] How easy is it to replace JQuery in Web2py?
I've been following a conversation here: http://blog.rebeccamurphey.com/ in which the author indicates a preference for Dojo Toolkit over JQuery. The comments in her posts seem to support this point of view, not to mention this less respectful post: http://bobremeika.com/2011/03/03/jquery-is-for-n00bs/ So I was just wondering how pluggable is the Javascript implementation? Mike
[web2py] Re: shameless advertisement - web2py course
If you give this course again I would be interested. Please let us know
[web2py] Re: Web2Py and IntelliJ Idea
We are voting for PyCharm to support Web2Py see this thread: https://groups.google.com/d/topic/web2py/JN7PLI93Vp0/discussion
[web2py] Web2py and the Elements of Style
Initially I thought this was another blog bashing web2py, but instead its just the opposite. Nice article. http://www.pythonprogramming.info/web2py/elements-of-style.html
[web2py] Re: Web2py and the Elements of Style
Ooops...
[web2py] Re: FAQ topic(s) on typical Web2py FUD
Thanks Anthony, that's the information I'm looking for. The only downside re: the blog is that it's marked as old. Is there an updated source?
[web2py] Re: vote for Pycharm support for Web2py
IDE talk at Pycon2011. At 13:39 the PyCharm rep shows the Django support, which should give you some idea of what might be done with PyCharm and Web2py, so vote up support at the link mentioned above
[web2py] FAQ topic(s) on typical Web2py FUD
I'd like to see some FAQ topics that can be pointed to on the usual FUD about Web2py. For instance: In web2py the code you write for the controller layer (views) goes into files that are not Python modules because they don't include any imports to give context to external identifiers. Web2py loads, compiles, and executes those modules at runtime passing a global context using Python's exec() function. That strange (and unjustified) way of doing things disables important capabilities of modern IDEs (code completion, code hints, help, static checking, refactoring) because those files are not Python modules. It also makes it very difficult to write unit tests for the controller layer, because the global runtime context of web2py cannot be mocked. I tried to look for the Google thread in which Massimo addressed these and other issues, but the search didn't easily retrieve it, and though I knew that I had participated in it my profile history only showed posts thru the end of 2010.
[web2py] Re: FAQ topic(s) on typical Web2py FUD
Thanks all. I'm participating in the Linkedin conversation, and trying to redirect the questioners to places that these issues have already been adressed, rather than let the detractor's comments stand.
[web2py] Re: FAQ topic(s) on typical Web2py FUD
Agreed. Really can't argue with your point. And, anyone who is serious enough about researching their options would find out that these issues are never mentioned in this group, except when they are made by people unfamiliar with the framework. So, they are either non-issues or we're all involved with a huge Web2py conspiracy :) That being said, it may be the care bear in me but I like the idea of leaving hints for those who are asking the questions.
[web2py] Re: video about new RESTful APIs
Very good and very clear. I wanted to post this to Dzone, but noticed that it's a proposal. Should I wait until the final format is set?
[web2py] Re: Proposals for New Tagline
I like the idea of rotating taglines. Instant gratification comes to mind.
Re: [web2py] What to tell designers when they create a mockup for my web2py site
Were you using Balsamiq in some of those examples? And did you use anything to generate the html from your mockups? Mike
[web2py] Re: Japan
++1. Family in Aomori. Hope they are ok.
Re: [web2py] [tip] Head JS script loader
Thanks great find!
[web2py] Re: DAL tutorial video
I posted the link in Dzone so vote up if you can. Any search on Web2py should bring it up. re: the text of the session, I would like this too.
[web2py] Re: DAL tutorial video
Great video, thanks!
[web2py] Re: web2py on Quora
Thanks for the responses. Anthony, you're explanation is one of the clearest I've seen, and makes sense, or maybe some of these points are starting to finally sink in. Now if only this message would get out a bit more. If I ever get sufficiently experienced with this, I'll present web2py at my user group.
[web2py] Re: vote for Pycharm support for Web2py
I just voted this up too. Pycharm is a great IDE and having web2py support would be a nice feature.
[web2py] Re: web2py on Quora
I was communicating with my local Python User group, and got an opinion from one of the members a lot like this. Unfortunately I don't have the experience to answer effectively. Here is the response that I got: I don't really have time to get into an epic religious discussion but I'll try and sum it up nicely: 1. Think of exec/eval tools as weird magic best left alone. Regardless of the complicated arguments, the truth is that simply debugging code in an exec/eval argument is much harder. It means your variables are stored in variables of variables. Web framework building is hard enough without tossing in that sort of complexity. 2. I'm no security expert, but I do know that security experts always raise the flag on Security-by-JavaScript (cough... facebook... cough...) and exec/eval statements. If your code ever gets audited by someone competent and they see exec/eval statements in your underlying framework they are going to go postal. 3. SQLAlchemy, libcloud, psychopg, flask, Pyramid, Django, Zope, pygame, scipy, and 99% of the Python world does things as explicitly as possible. They don't do extra imports for you in their controllers or modules, which seems like extra work in the short term. In the long run, you know EXACTLY what is going on in a file - and that counts for so much. 4. JKM's major rant on reddit was that this behavior defined in point #1 above makes Web2py different than the rest of the Python world. And that they are training a breed of new python developers who expect different behavior in code then the rest of us. Call me a fanboy (and employee), but he's right. If you have a problem with Web2py the majority of the people on this list or any python list will be crippled in their ability to help you. On the other hand, any of us can figure out the individual components of flask, sql alchemy and more because it is following the common pattern. So that means while I may not know much about SQLAlchemy, I can figure out what's going on inside.
Re: [web2py] Re: Web2py and Sencha (Extjs)
Extjs and Sencha just seem more complete UI element wise. Their table tools seem very powerful. It is pricey, but for business applications this shouldn't be a problem.