Live data from Hacker News

Django 2.2

djangoproject.com

71–80 of 257 posts

Re: Django 2.2

#71
post #47

Earlier quoted context omitted.

You just discovered repl driven development that lisp users have been advocating for years. Check it out in Clojure: https://vvvvalvalval.github.io/posts/what-makes-a-good-repl....

Well, python has had repl driven development for years too, notebooks only change the tooling around that if I’m not wrong.

Agreed, the GUI repl may be more friendly to data scientists and analysts who know some coding but not emacs.

Furthermore, the marriage of application framework / application model wrappers with industry-leading data science tools sounds particularly special, and orthogonal to the presence of a repl.

Re: Django 2.2

#72

The projects/app relationship never 'clicked' with me. I also have a dislike for the awkward 'polls' example in the django tutorial. That said, I like Django. Of course, I liked Rails better, but maybe that's because it was my 'first' and I never used any of the big php frameworks for a long period of time. I quit wasting my time with Flask for projects a while ago. It's a really great project and suited for smaller…

I feel the same way. Does any one have a good overview on how the community actually separates functionality into “apps”?

I have been looking at a rails like framework in python called Masonite. Does anyone in the python/Django community think this will gain traction?

Re: Django 2.2

#73
What I find most curious about Django/Python is that about 30% of the new installs are for legacy Python/Django (2.7/1.11):

  $ pypinfo --start-date 2019-01-01 --end-date 2019-03-31 -- 
  percent --markdown django pyversion
  Served from cache: False
  Data processed: 160.22 GiB
  Data billed: 160.22 GiB
  Estimated cost: $0.79

  | python_version | percent | download_count |
  | -------------- | ------: | -------------: |
  | 3.6            |  39.61% |      3,277,927 |
  | 2.7            |  29.59% |      2,448,652 |
  | 3.7            |  17.53% |      1,450,949 |
  | 3.5            |  10.37% |        858,325 |
  | 3.4            |   2.76% |        228,150 |
  | 3.8            |   0.07% |          5,428 |
  | 2.6            |   0.04% |          3,686 |
  | 3.3            |   0.03% |          2,103 |
  | 3.2            |   0.00% |            220 |
  | None           |   0.00% |             56 |
  | Total          |         |      8,275,496 |
I would expect everybody moving over 3.x by now - we are so close to 2.7 EoL in December...

Re: Django 2.2

#74
I'm a fan of Django, but I'm in doubt if I must still use it for my new project. I'll develop now an hybrid app that will start life as an mobile web site. I'll use one javascript framework and I'm really in doubt about using Django.

If I use a javascript server framework, I believe that it will prevent me to duplicate forms validation code (in server in frontend) and also easier for SSR (Server Side Rendering). But Django is a robust framework, in my beloved Python language, why should I still use it?

Re: Django 2.2

#75

The projects/app relationship never 'clicked' with me. I also have a dislike for the awkward 'polls' example in the django tutorial. That said, I like Django. Of course, I liked Rails better, but maybe that's because it was my 'first' and I never used any of the big php frameworks for a long period of time. I quit wasting my time with Flask for projects a while ago. It's a really great project and suited for smaller…

I feel the same way. Does any one have a good overview on how the community actually separates functionality into “apps”? I have been looking at a rails like framework in python called Masonite. Does anyone in the python/Django community think this will gain traction?

I think pyramid or flask has more traction nowdays.

Re: Django 2.2

#76
post #57
post #2

Nice. Anyone building fun stuff using Django these days?

I've built a bunch of stuff using Django, but my most recent project allows people who play the game ClashRoyale to see if they have played against a streamer on Twitch. If they have, they can view the video directly at the moment their game is shown. http://playedwith.io (click "latest games" to see how it works) Im a big fan of django, and have used it for several projects. Using rest-framework allows you also to m…

cool, do you grab a screenshot off the twitch stream then use character recognition on the UserName/Id to identify them?

I see the esports gaming area exploding over the next 10 years as most people are gaming now instead of other activities.

Re: Django 2.2

#77

Earlier quoted context omitted.

Deciding to accept the status quo is also a political decision reflective of one’s political views. The issue here is that you don’t agree with this particular view, not that it is a political view.

Yes of course. I do not want others political views forced upon me. Just as I wouldn't want others religion force upon me. I would be as opposed to this change if it was 'god'/'disciples' or something similar. I also think there would be more people like me if that were the case. But just because it's a popular opinion everyone lashes on my 'irrational' behavior. I don't think it's that irrational though.

Living in society today involves having others' political views forced on me every day, in the form of "you should accept the status quo and not speak up about it". Many people just don't understand this because the status quo is fine for them.

Re: Django 2.2

#78

Earlier quoted context omitted.

> The people behind Django are one of the sharpest set of developers out there. That may be, but it doesn't really matter to me if they put their political views into their code. It can literally be the best framework out there, built by the sharpest minds in the world and I would still use another framework even if it would hurt me economically.

I feel the exact same way about Rust for what it's worth. Turned me off the language completely.

Why do you feel this way about Rust? Glad to hear I'm not alone anyway ;)

Re: Django 2.2

#79

What I find most curious about Django/Python is that about 30% of the new installs are for legacy Python/Django (2.7/1.11): $ pypinfo --start-date 2019-01-01 --end-date 2019-03-31 -- percent --markdown django pyversion Served from cache: False Data processed: 160.22 GiB Data billed: 160.22 GiB Estimated cost: $0.79 | python_version | percent | download_count | | -------------- | ------: | -------------: | | 3.6 | 39.…

2.2 is the first LTS since 1.11. I expect a lot of people will upgrade now that it's out.

Edit: Oh, but that doesn't account for the older Python version. Yeah, that is interesting.

Re: Django 2.2

#80

What I find most curious about Django/Python is that about 30% of the new installs are for legacy Python/Django (2.7/1.11): $ pypinfo --start-date 2019-01-01 --end-date 2019-03-31 -- percent --markdown django pyversion Served from cache: False Data processed: 160.22 GiB Data billed: 160.22 GiB Estimated cost: $0.79 | python_version | percent | download_count | | -------------- | ------: | -------------: | | 3.6 | 39.…

Trying to move, but it's tough. Old codebase, lots of deps, and no real benefit to upgrading to 3.6, nothing our end users will care about or notice (or pay for).

Upgrading to Python 3 is a chore. We have to do it, but it's not fun and it's barely useful.

Post reply on HN