Live data from Hacker News

Python on Wheels

pythononwheels.org

31–40 of 44 posts

Re: Python on Wheels

#32
post #15

I commend the author for building something. I don't see this project solving a problem I have, but it looks to be an honest, if somewhat rough, effort. A few suggestions: - review PEP8 [1]. - no need to assign None to a variable before assigning another value - Try to keep things DRY [2]. - use more descriptive variable names - as others have stated, spell check your site copy [1] http://www.python.org/dev/peps/pep-…

Pep8 => yes, need to review / rewrite Dry => again yes, working currently on it for generate_* did you look at some genrated code, think this is cleaner, though. The generators are the oldest ..

Thx, khz

Re: Python on Wheels

#33

Earlier quoted context omitted.

1 point by pythononwheels 7 minutes ago | link | edit | delete Hey oinksoft. Dont just punch on top... To your points: 1. The shebang: yes, ouch, gets removed. 2. Pow_console: it is a remark that i too, code from there. I always comment the source if code is not mine. 3. The mentioned code snippets from the homepage are default twitter-bootstrap sources.. Criticism is ok but this is bashing... So, no, its no joke ;)

OK, sorry if I offended you, it's just that some "trolls" are quite subtle and there are enough iffy things that I suspected a joke behind this. The project name also bears similarity to some other projects that have been jokes in the past: * Cobol on Cogs: http://www.coboloncogs.org/INDEX.HTM * Bash on Balls: https://github.com/jayferd/balls (more of a bizarre proof of concept than an out-and-out joke) That's no dis…

Hi, no problem, Project names are really funny. I didnt know them.. Thx and regards, Khz

Re: Python on Wheels

#34
post #17

"If Ajax works something will happen here if you click the Send Ajax Request button" "Internal Server Error" Something happened. Ship it!

Really works fine from really many different devices for me... Damn i really dont wanr to ask if you can replicate thsi .. 'cause you can. But i just cant advice something other than to try a different browser...

Should work with safari, firefox, ie8+...

Re: Python on Wheels

#35

Interesting, I've been building a similar framework at Prontotype -- though with Bottle, Jinja2, MongoDB and Backbone. One thing I'm missing so far is the ability to "generate", maybe I'll add that in and show the world at some point. Good start & good luck.

Intersting that you chose a different framework for almost any field. So there is room ;) I am thinking about a google app engine port but sqlalchemy is a showstopper here .. Need the models to talk GQL ... So i stopped that port for now. Much to do in the base.. Thx, regards, khz

how about just not using sqla and use ndb(distributed with the sdk) instead?

Re: Python on Wheels

#37

I'm not sure what the author was thinking when writing this framework but it appears that he/she forgot everything about writing sane code. Below is a list of the things that stand out. 1. There's no sane directory structure, instead most of it is just dropped in a single directory. 2. How am I supposed to install this? There's no package for it so it seems the only way is to manually copy the repository. You'd think…

And it's not forward compatible at all. I know Python 2 or 3 is an ongoing debate, but there's no reason to be blatantly incompatible on a new project by using deprecated functionality like print statements instead of functions. Especially not on low hanging fruit like that.

Well, while you mention forward compatibility, there is also backwards compatibility. I am really a person that loves to move towards 3.x, but having a ton of users (some not technical enough to compile Python) with old Python installations (2.5.x or older) as default on their machines (CentOS for example is always an issue...) it is a double-edged sword since 2.6.0a2 is required to use Unicode literals and the print function [1]. I remember reading a long time ago that the fact that Python comes as default for many distributions may very well become a curse, I fear, that this may very well be true.

[1]: http://docs.python.org/library/__future__.html

Re: Python on Wheels

#38

One important remark: if you check it out from github, be sure to get the Beta1 branch. The master branch is really long behind the current development. I also stated that in the screencast. And as i think about it, some of the comments might refer to the master branch (like the one saying there is no directory structure) which is not the case in Beta1... Regards

Why is this better than Django or Flask, web2Py or CherryPy ect.

Re: Python on Wheels

#39

Earlier quoted context omitted.

1 point by pythononwheels 7 minutes ago | link | edit | delete Hey oinksoft. Dont just punch on top... To your points: 1. The shebang: yes, ouch, gets removed. 2. Pow_console: it is a remark that i too, code from there. I always comment the source if code is not mine. 3. The mentioned code snippets from the homepage are default twitter-bootstrap sources.. Criticism is ok but this is bashing... So, no, its no joke ;)

OK, sorry if I offended you, it's just that some "trolls" are quite subtle and there are enough iffy things that I suspected a joke behind this. The project name also bears similarity to some other projects that have been jokes in the past: * Cobol on Cogs: http://www.coboloncogs.org/INDEX.HTM * Bash on Balls: https://github.com/jayferd/balls (more of a bizarre proof of concept than an out-and-out joke) That's no dis…

"More than likely, Hacker News picked up the your project website because of its name, and so now the spotlight is shining very harshly indeed."

FWIW, I submitted this after I saw the latest release announced at https://lwn.net/Articles/510286/ but couldn't find any previous discussion of the framework here.

Re: Python on Wheels

#40
post #17

"If Ajax works something will happen here if you click the Send Ajax Request button" "Internal Server Error" Something happened. Ship it!

Really works fine from really many different devices for me... Damn i really dont wanr to ask if you can replicate thsi .. 'cause you can. But i just cant advice something other than to try a different browser... Should work with safari, firefox, ie8+...

Maybe it was load at the time I tried.

Literally typing the following in the address field in Firefox 14.01, Lubuntu 12.04:

  pythononwheels.org
403 Forbidden You don't have permission to access / on this server. Apache/2.2.16 (Debian) Server at pythononwheels.org Port 80

Typing www.pythononwheels.org gets me to your home page.

"If Ajax works something will happen here if you click the Send Ajax Request button"

If I just click the button, without typing anything (because that's what the sentence above says, and I'm in QA and because I'm a dick), then I get this, so it was probably load yesterday:

  Yeah! AJAX with python rocks totally now:  2012-08-14 04:44:41   type something here 
And if I keep clicking then the time keeps updating, so yay.

If I type something and hit Enter, nothing happens. Usually/often that should be the same as clicking the button.

If I click in the text field I would expect your instructional text in that field to politely disappear, making way for my text, but your text stays there and my text is inserted wherever I clicked.

If I drag across the text in the orange button and then release (to select the text), it's the same as if I clicked. Not what I expected, but that's a nit.

If I drag from just above the orange button to just below it, and then either Ctrl-C or right-click-copy, then I get a copy of the text in the button. I guess that's OK, but I'm not used to being able to copy the text of a button.

If you go to https://www.google.com/ and try to similarly drag across the buttons below the search field, you don't get anything. Not holding that up as the "correct" way, but it is more like what I'd vaguely expect. I'm probably behind the times either way.

This is as much text as I'm allowed to type into the text field:

  123456789012345678901234567890
Which is what you limited it to, so cool.
Post reply on HN