N GPT-3 replicate as open source
This is a grassroots group of researchers working to open source AI research https://www.eleuther.ai/
including https://www.eleuther.ai/gpt-neo
/r/MachineLearning
https://redd.it/kyzv0u
This is a grassroots group of researchers working to open source AI research https://www.eleuther.ai/
including https://www.eleuther.ai/gpt-neo
/r/MachineLearning
https://redd.it/kyzv0u
Book recommendations
I have been learning the Django for a bout one and half months, after leaning a basic python for two months(i have no experience with programming before, super noob). Now I can build just a simple to do app stuff and blogs but I still habe no idea what’s really going on behind scenes, and felt I need a book for better understanding or whatnot,
So my question is; is there a good guide book for me at the moment? I looked it up and found some ‘Django for beginners by William Vincent’ and ‘two scoops of django’ which lots of people say it’s not for beginners.
Or another way is to learn Flask first for better understanding behind surfaces,,and then back to learning Django,,
What do you guys think?
Your advice and opinion will be very appreciated!
/r/django
https://redd.it/kz4fv2
I have been learning the Django for a bout one and half months, after leaning a basic python for two months(i have no experience with programming before, super noob). Now I can build just a simple to do app stuff and blogs but I still habe no idea what’s really going on behind scenes, and felt I need a book for better understanding or whatnot,
So my question is; is there a good guide book for me at the moment? I looked it up and found some ‘Django for beginners by William Vincent’ and ‘two scoops of django’ which lots of people say it’s not for beginners.
Or another way is to learn Flask first for better understanding behind surfaces,,and then back to learning Django,,
What do you guys think?
Your advice and opinion will be very appreciated!
/r/django
https://redd.it/kz4fv2
reddit
Book recommendations
I have been learning the Django for a bout one and half months, after leaning a basic python for two months(i have no experience with programming...
Worried that heavy use of SQL is an antipattern?
Hi,
I'm setting up a couple of routes whereby I'd like to fetch a set of results for the user based on some complex(ish) filter behaviour.
What I've been doing so far is creating queries in SQLalchemy, wrapping them up into a custom BaseQuery class to standardise some of the methods, and invoking the relevant query instance in my routes.
The queries themselves get quite complex, so I've made efforts to break them into CTEs for testing and traceability purposes, in a couple of cases I've got 3 or 4 CTEs chained together. I've also delegated the more complex queries to background tasks in celery, to stop them from clogging up the request queue.
I'm also using Azure SQL so I have the option to scale the hardware if needed.
My thinking was that offloading the filtering logic to SQL gives the query optimiser the chance to do its magic and would be better than me trying to optimise inside the application.
I am, however, worried that implementing logic in this way is a bit of an anti pattern because:
I haven't seen many examples online with a similar approach
The filtering logic is sitting within the SQL query, which I'm worried
/r/flask
https://redd.it/kz5rjk
Hi,
I'm setting up a couple of routes whereby I'd like to fetch a set of results for the user based on some complex(ish) filter behaviour.
What I've been doing so far is creating queries in SQLalchemy, wrapping them up into a custom BaseQuery class to standardise some of the methods, and invoking the relevant query instance in my routes.
The queries themselves get quite complex, so I've made efforts to break them into CTEs for testing and traceability purposes, in a couple of cases I've got 3 or 4 CTEs chained together. I've also delegated the more complex queries to background tasks in celery, to stop them from clogging up the request queue.
I'm also using Azure SQL so I have the option to scale the hardware if needed.
My thinking was that offloading the filtering logic to SQL gives the query optimiser the chance to do its magic and would be better than me trying to optimise inside the application.
I am, however, worried that implementing logic in this way is a bit of an anti pattern because:
I haven't seen many examples online with a similar approach
The filtering logic is sitting within the SQL query, which I'm worried
/r/flask
https://redd.it/kz5rjk
reddit
Worried that heavy use of SQL is an antipattern?
Hi, I'm setting up a couple of routes whereby I'd like to fetch a set of results for the user based on some complex(ish) filter behaviour. What...
I just created a script that relocates dowloaded files based on their extensions!
This script is very useful in case your downloading files all day long and you feel kind of lost in your download folder!
Please tell me what you think of my repo and what I could Improve.
I'm posting this to get visibility but also to get some returns so that I can improve my repo and code :)
here is the repo: https://github.com/aime-risson/pyFileManager
/r/Python
https://redd.it/kz4gqu
This script is very useful in case your downloading files all day long and you feel kind of lost in your download folder!
Please tell me what you think of my repo and what I could Improve.
I'm posting this to get visibility but also to get some returns so that I can improve my repo and code :)
here is the repo: https://github.com/aime-risson/pyFileManager
/r/Python
https://redd.it/kz4gqu
GitHub
GitHub - aime-risson/pyFileManager: This script lets you automatically relocate files based on their extensions. Very useful from…
This script lets you automatically relocate files based on their extensions. Very useful from the downloads folder ! - GitHub - aime-risson/pyFileManager: This script lets you automatically relocat...
Model design - How to represent a field where it should have one of two types?
Hello,
I have an entity where it should have either an audio comment or a text comment, but it can't have both of them at the same time.
Now, as first thought, it can be something like this
class FeedbackFieldsMixin(models.Model):
comment_text = models.TextField(blank=True, null=True, max_length=250)
comment_audio = models.FileField(blank=True, null=True, upload_to=audio_upload)
But, this just doesn't feel right, as model can't have both at the same time there will be always a field with a value of null which is not needed and vice versa, so, what do you think about this? what is the best practise for such case?
Thanks all.
/r/django
https://redd.it/kza568
Hello,
I have an entity where it should have either an audio comment or a text comment, but it can't have both of them at the same time.
Now, as first thought, it can be something like this
class FeedbackFieldsMixin(models.Model):
comment_text = models.TextField(blank=True, null=True, max_length=250)
comment_audio = models.FileField(blank=True, null=True, upload_to=audio_upload)
But, this just doesn't feel right, as model can't have both at the same time there will be always a field with a value of null which is not needed and vice versa, so, what do you think about this? what is the best practise for such case?
Thanks all.
/r/django
https://redd.it/kza568
reddit
Model design - How to represent a field where it should have one...
Hello, I have an entity where it should have either an audio comment or a text comment, but it can't have both of them at the same time. Now, as...
Should I use React Js with Django to build a real-time video chat app?
My project is to build a video chat app like Google Meet where multiple users can join. I am planning on using React Js for frontend and Django for backend. I understand that I have to use Django channels for handling asynchronous requests with Django and WebRTC for live video transmission with React Js. However, I haven't tried tinkering with any of those yet. So, I need some opinions on my choice of frameworks and libraries. Should I proceed with these frameworks or are there better alternatives? Explanation for preferences would be much appreciated. I also understand that I would have to build an API (using Django Rest Framework) to interact with the React Js frontend.
/r/django
https://redd.it/kyupik
My project is to build a video chat app like Google Meet where multiple users can join. I am planning on using React Js for frontend and Django for backend. I understand that I have to use Django channels for handling asynchronous requests with Django and WebRTC for live video transmission with React Js. However, I haven't tried tinkering with any of those yet. So, I need some opinions on my choice of frameworks and libraries. Should I proceed with these frameworks or are there better alternatives? Explanation for preferences would be much appreciated. I also understand that I would have to build an API (using Django Rest Framework) to interact with the React Js frontend.
/r/django
https://redd.it/kyupik
reddit
Should I use React Js with Django to build a real-time video chat app?
My project is to build a video chat app like Google Meet where multiple users can join. I am planning on using React Js for frontend and Django...
Jupyter in VS Code: Pros and Cons - TowardsDatScience article
https://towardsdatascience.com/jupyter-is-taking-a-big-overhaul-in-visual-studio-code-d9dc621e5f11
/r/JupyterNotebooks
https://redd.it/kzagqf
https://towardsdatascience.com/jupyter-is-taking-a-big-overhaul-in-visual-studio-code-d9dc621e5f11
/r/JupyterNotebooks
https://redd.it/kzagqf
Medium
Jupyter is taking a big overhaul in Visual Studio Code
Treat a program as a piece of literature, addressed to human beings rather than to a computer
What is the best way to build a flask app for Geographical HeatMap?
I have location data based on zip codes in the US. Each zip has a shipment cost associated with it. I would like to create an app where a user can select a zip code and can see the data within 200 miles of its radius on a geographical heatmap. I would like to create a map where you can actually zoom in and stuff.
It is a pretty straightforward application but I would like to know:
1) If is there any flask library for heatmaps or if not what is the best javascript library i can use for it in the frontend?
2) Is there any library that makes life easier to search within 200 miles radius from a location (zip code) in the location data. I know geopandas has the ability to do that but if it is any better library? Because first I would also need to convert all the zip codes to the coordinates.
​
Thanks
/r/flask
https://redd.it/kz7h7v
I have location data based on zip codes in the US. Each zip has a shipment cost associated with it. I would like to create an app where a user can select a zip code and can see the data within 200 miles of its radius on a geographical heatmap. I would like to create a map where you can actually zoom in and stuff.
It is a pretty straightforward application but I would like to know:
1) If is there any flask library for heatmaps or if not what is the best javascript library i can use for it in the frontend?
2) Is there any library that makes life easier to search within 200 miles radius from a location (zip code) in the location data. I know geopandas has the ability to do that but if it is any better library? Because first I would also need to convert all the zip codes to the coordinates.
​
Thanks
/r/flask
https://redd.it/kz7h7v
reddit
What is the best way to build a flask app for Geographical HeatMap?
I have location data based on zip codes in the US. Each zip has a shipment cost associated with it. I would like to create an app where a user...
How would I go about automatically pushing new files to the heroku git, to update my flask website?
Hello everyone,
My first project in flask I've actually deployed.
I didn't do this very elegantly, but I just wanted to get something done.
I have some external data, that I track using excel. In my Flask app, I load this excel data, and display as a web page.
Everything works great, but I'm just wondering if there is an easy way to push new data to the heroku git without having to,
git add .
git commit
git push heroku
everytime I update the data.
Or at least if I have to, is there a way to automate this process, so that whenever I update my excel file, I can push this automatically to herokuapp.
I am a super noob here so sorry if this doesn't make sense, I'm happy to clarify.
Any information or insight is greatly appreciated...
/r/flask
https://redd.it/kz1l8y
Hello everyone,
My first project in flask I've actually deployed.
I didn't do this very elegantly, but I just wanted to get something done.
I have some external data, that I track using excel. In my Flask app, I load this excel data, and display as a web page.
Everything works great, but I'm just wondering if there is an easy way to push new data to the heroku git without having to,
git add .
git commit
git push heroku
everytime I update the data.
Or at least if I have to, is there a way to automate this process, so that whenever I update my excel file, I can push this automatically to herokuapp.
I am a super noob here so sorry if this doesn't make sense, I'm happy to clarify.
Any information or insight is greatly appreciated...
/r/flask
https://redd.it/kz1l8y
reddit
How would I go about automatically pushing new files to the heroku...
Hello everyone, My first project in flask I've actually deployed. I didn't do this very elegantly, but I just wanted to get something done. I...
Monday Daily Thread: Project ideas!
Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with how you found it and attach some source code!
/r/Python
https://redd.it/kzicf0
Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with how you found it and attach some source code!
/r/Python
https://redd.it/kzicf0
reddit
Monday Daily Thread: Project ideas!
Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with...
Open sourcing my automated job board built using React and Django
Hey community,
I am making a automated job board which:
uses ReactJs and Django REST Framework
background worker for scraping jobs from other sites
In coming days I'll be adding :
dynamic filter to select jobs by technology and location
ability to pay using stripe and post jobs
Links:
front end - [https://github.com/TrakBit/FullStackBot](https://github.com/TrakBit/FullStackBot)
back end - https://github.com/TrakBit/fullstackbot-backend
/r/django
https://redd.it/kzcc1w
Hey community,
I am making a automated job board which:
uses ReactJs and Django REST Framework
background worker for scraping jobs from other sites
In coming days I'll be adding :
dynamic filter to select jobs by technology and location
ability to pay using stripe and post jobs
Links:
front end - [https://github.com/TrakBit/FullStackBot](https://github.com/TrakBit/FullStackBot)
back end - https://github.com/TrakBit/fullstackbot-backend
/r/django
https://redd.it/kzcc1w
GitHub
GitHub - TrakBit/FullStackBot: Full Stack Developer Jobs - Open source job board | Django | ReactJs | PostgreSQL | Celery | Redis
Full Stack Developer Jobs - Open source job board | Django | ReactJs | PostgreSQL | Celery | Redis - GitHub - TrakBit/FullStackBot: Full Stack Developer Jobs - Open source job board | Django | Reac...
i made a bot that turns reddit arguments into ace attorney
It's still pretty buggy, I threw it together because my holidays are coming to a close.
Here's an example: https://youtu.be/rvFk8hapDZY
Here's the source code: https://github.com/micah5/ace-attorney-reddit-bot
/r/Python
https://redd.it/kz9kh6
It's still pretty buggy, I threw it together because my holidays are coming to a close.
Here's an example: https://youtu.be/rvFk8hapDZY
Here's the source code: https://github.com/micah5/ace-attorney-reddit-bot
/r/Python
https://redd.it/kz9kh6
YouTube
i made a bot that turns reddit arguments into ace attorney
source code: https://github.com/micah5/ace-attorney-reddit-bot
Side project I built using Django (a Tinder for baby names), and what I learned along the way
Hey everyone!
I wanted to share a side project I worked on last year and some of what I learned while building it.
The site itself is called "My Name Fairy" [https://www.mynamefairy.com](https://www.mynamefairy.com). It's a Tinder for baby names.
https://preview.redd.it/i1hpbrei0xb61.png?width=1999&format=png&auto=webp&s=2bd0fe053d25300373f1c5618c106e1d6ecba4ee
Here's a summary of the tech I used to build it:
* Django for BE (obviously :) )
* Nginx for the webserver and serving static assets
* Postgres for the DB
* Vue.js in some places (The [card swiping page](https://www.mynamefairy.com/swipe-names) and [account page](https://www.mynamefairy.com/accounts/me))
* Plain js in other places
* Sass for the styles
* Webpack to build the FE
* Docker/docker-compose for deployment
* Deployed on a digital ocean droplet. The Postgres DB is also a managed DB from DO.
* Amazon CloudFront for a CDN
I mostly started it as a way to learn some new tech (specifically Postgres, Vue, Sass, Webpack, Docker, Nginx and deploying) and it's been great for that. It's also been fun to build something from the ground up. I've always come into a project that's already established. Having to make everyone decision from the beginning was empowering and let me play with tech I wouldn't get to otherwise.
Here are some classes I took:
* [Advanced CSS and Sass](https://www.udemy.com/course/advanced-css-and-sass/) by Jonas Schmedtmann. This class is *awesome*. Seriously, I can't recommend
/r/Python
https://redd.it/kz8uxu
Hey everyone!
I wanted to share a side project I worked on last year and some of what I learned while building it.
The site itself is called "My Name Fairy" [https://www.mynamefairy.com](https://www.mynamefairy.com). It's a Tinder for baby names.
https://preview.redd.it/i1hpbrei0xb61.png?width=1999&format=png&auto=webp&s=2bd0fe053d25300373f1c5618c106e1d6ecba4ee
Here's a summary of the tech I used to build it:
* Django for BE (obviously :) )
* Nginx for the webserver and serving static assets
* Postgres for the DB
* Vue.js in some places (The [card swiping page](https://www.mynamefairy.com/swipe-names) and [account page](https://www.mynamefairy.com/accounts/me))
* Plain js in other places
* Sass for the styles
* Webpack to build the FE
* Docker/docker-compose for deployment
* Deployed on a digital ocean droplet. The Postgres DB is also a managed DB from DO.
* Amazon CloudFront for a CDN
I mostly started it as a way to learn some new tech (specifically Postgres, Vue, Sass, Webpack, Docker, Nginx and deploying) and it's been great for that. It's also been fun to build something from the ground up. I've always come into a project that's already established. Having to make everyone decision from the beginning was empowering and let me play with tech I wouldn't get to otherwise.
Here are some classes I took:
* [Advanced CSS and Sass](https://www.udemy.com/course/advanced-css-and-sass/) by Jonas Schmedtmann. This class is *awesome*. Seriously, I can't recommend
/r/Python
https://redd.it/kz8uxu
Mynamefairy
My Name Fairy
Think Tinder for names. Swipe through names until you find your match!
I created a simple app to monitor stock market and stay updated.
I am a Data Scientist with more statistics experience. Recently I am turning my attention to learn more of the coding aspects in a variety of use cases. As part of that, I created this simple webapp with a clean UI which
let's user choose a stock/company/ETF from NYSE and NASDAQ exchanges
shows prices across a chart with customizable time periods (1d/1mo/3mo/1y/2y/5y/10y/ytd)
shows options info table closest to stock price with color codes (green-ITM, white-OTM)
any recent news about the underlying organization
Its updated live. It uses the yfinance, finviz API for data, Plotly + Dash to create the visualization and Heroku platform for deployment.
Link to app: https://stock-app-vk94.herokuapp.com
Link to source code: https://github.com/vinaykale64/market-monitor
Link to developer guide: https://github.com/vinaykale64/market-monitor/blob/master/developer\_guide.md
/r/Python
https://redd.it/kzj9ys
I am a Data Scientist with more statistics experience. Recently I am turning my attention to learn more of the coding aspects in a variety of use cases. As part of that, I created this simple webapp with a clean UI which
let's user choose a stock/company/ETF from NYSE and NASDAQ exchanges
shows prices across a chart with customizable time periods (1d/1mo/3mo/1y/2y/5y/10y/ytd)
shows options info table closest to stock price with color codes (green-ITM, white-OTM)
any recent news about the underlying organization
Its updated live. It uses the yfinance, finviz API for data, Plotly + Dash to create the visualization and Heroku platform for deployment.
Link to app: https://stock-app-vk94.herokuapp.com
Link to source code: https://github.com/vinaykale64/market-monitor
Link to developer guide: https://github.com/vinaykale64/market-monitor/blob/master/developer\_guide.md
/r/Python
https://redd.it/kzj9ys
PyPI
yfinance
Download market data from Yahoo! Finance API
Created a Motion Detector!
Hi All, I am Yash. I am 10 years old. I have created a Number Name Finder.
I have used Tkinter library to do the same.
Repository Link - https://github.com/Yash-Varshney-Creativities/Numbers-to-Number-Names
Let's Have a quick preview: -
​
Processing img uytt8z1702c61...
Processing img kkalf52702c61...
Processing img k577fq1702c61...
Processing img rry7052702c61...
I hope, You liked it. Please Upvote and⭐ this repository and follow me.
Thanks
Yash Varshney
/r/Python
https://redd.it/kzqumn
Hi All, I am Yash. I am 10 years old. I have created a Number Name Finder.
I have used Tkinter library to do the same.
Repository Link - https://github.com/Yash-Varshney-Creativities/Numbers-to-Number-Names
Let's Have a quick preview: -
​
Processing img uytt8z1702c61...
Processing img kkalf52702c61...
Processing img k577fq1702c61...
Processing img rry7052702c61...
I hope, You liked it. Please Upvote and⭐ this repository and follow me.
Thanks
Yash Varshney
/r/Python
https://redd.it/kzqumn
GitHub
Yash-Varshney-Creativities/Numbers-to-Number-Names
Contribute to Yash-Varshney-Creativities/Numbers-to-Number-Names development by creating an account on GitHub.
Is there are any official Python certifications?
I am using python for years as Systems and DevOps Engineer but not as a developer so I am doing a scripting not Applications.
I am looking into a Python certification program so I can get official certificate and collect the required knowledge for that.
Your advices are appreciated.
Thank you in advance
/r/Python
https://redd.it/kzuu2r
I am using python for years as Systems and DevOps Engineer but not as a developer so I am doing a scripting not Applications.
I am looking into a Python certification program so I can get official certificate and collect the required knowledge for that.
Your advices are appreciated.
Thank you in advance
/r/Python
https://redd.it/kzuu2r
reddit
Is there are any official Python certifications?
I am using python for years as Systems and DevOps Engineer but not as a developer so I am doing a scripting not Applications. I am looking into a...
What did YOU do to learn python?
I always see Automate The Boring Stuff being recommended here, I just started it, and I was wondering if anyone else has any other things they used to learn
/r/Python
https://redd.it/kzvvhw
I always see Automate The Boring Stuff being recommended here, I just started it, and I was wondering if anyone else has any other things they used to learn
/r/Python
https://redd.it/kzvvhw
reddit
What did YOU do to learn python?
I always see Automate The Boring Stuff being recommended here, I just started it, and I was wondering if anyone else has any other things they...
🏆 A ranked list of awesome machine learning Python libraries. Updated weekly.
I thought the r/python subreddit might be interested in this project I just found!
https://github.com/ml-tooling/best-of-ml-python
If you like this, I do a weekly roundup of open source projects that includes an interview with one of the devs you can subscribe to.
/r/Python
https://redd.it/kzxtkb
I thought the r/python subreddit might be interested in this project I just found!
https://github.com/ml-tooling/best-of-ml-python
If you like this, I do a weekly roundup of open source projects that includes an interview with one of the devs you can subscribe to.
/r/Python
https://redd.it/kzxtkb
GitHub
GitHub - lukasmasuch/best-of-ml-python: 🏆 A ranked list of awesome machine learning Python libraries. Updated weekly.
🏆 A ranked list of awesome machine learning Python libraries. Updated weekly. - lukasmasuch/best-of-ml-python
Quick article on how customized class creation in python
https://medium.com/better-programming/how-to-create-custom-classes-in-python-without-going-meta-5e8bfa97be6e
/r/Python
https://redd.it/kzve0h
https://medium.com/better-programming/how-to-create-custom-classes-in-python-without-going-meta-5e8bfa97be6e
/r/Python
https://redd.it/kzve0h
Medium
How To Create Custom Classes in Python Without Going Meta
Build powerful Python metaclasses