Seeking virtual pair programming buddies for a Django language learning app
I've been developing a language learning app since January and decided to use it as an opportunity to both learn and teach through pair/group programming about two months ago. At that time, I posted here, and we now have a small group of entry to mid level developers working on the app together in both pair/group programming sessions and on our own time.
This has been a wonderful experience for me, so I want to see if others would like to join us as well.
# Details
* We do pair & group programming sessions from 9am-5pm CST (Chicago time), Wednesday - Friday and some Saturdays. Attendees are welcome to join for any portion of the sessions they want.
* We're currently focusing on writing django tests and will soon be implementing more NLP functionality with Spacy. We are also working with the Django rest framework, Google & Bing translation APIs, and we're using a lot of signals. The front end is in React with Ionic.
* The only requirement is that you know and have some experience in Python. I love teaching and can help you setup & learn Django. I'm also an English teacher from the USA: our sessions are good practice for
/r/djangolearning
https://redd.it/xjb122
I've been developing a language learning app since January and decided to use it as an opportunity to both learn and teach through pair/group programming about two months ago. At that time, I posted here, and we now have a small group of entry to mid level developers working on the app together in both pair/group programming sessions and on our own time.
This has been a wonderful experience for me, so I want to see if others would like to join us as well.
# Details
* We do pair & group programming sessions from 9am-5pm CST (Chicago time), Wednesday - Friday and some Saturdays. Attendees are welcome to join for any portion of the sessions they want.
* We're currently focusing on writing django tests and will soon be implementing more NLP functionality with Spacy. We are also working with the Django rest framework, Google & Bing translation APIs, and we're using a lot of signals. The front end is in React with Ionic.
* The only requirement is that you know and have some experience in Python. I love teaching and can help you setup & learn Django. I'm also an English teacher from the USA: our sessions are good practice for
/r/djangolearning
https://redd.it/xjb122
reddit
Seeking virtual pair programming buddies for a Django language...
Posted in r/djangolearning by u/elmozilla • 5 points and 7 comments
Python 3.12 speedup plan! Includes less RC overhead, compact objects, trace optimized interpreter and more!
https://github.com/faster-cpython/ideas/wiki/Workflow-for-3.12-cycle
/r/Python
https://redd.it/xj19hn
https://github.com/faster-cpython/ideas/wiki/Workflow-for-3.12-cycle
/r/Python
https://redd.it/xj19hn
GitHub
Workflow for 3.12 cycle
Contribute to faster-cpython/ideas development by creating an account on GitHub.
Wednesday Daily Thread: Beginner questions
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
This thread may be fairly low volume in replies, if you don't receive a response we recommend looking at r/LearnPython or joining the Python Discord server at https://discord.gg/python where you stand a better chance of receiving a response.
/r/Python
https://redd.it/xjov3k
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
This thread may be fairly low volume in replies, if you don't receive a response we recommend looking at r/LearnPython or joining the Python Discord server at https://discord.gg/python where you stand a better chance of receiving a response.
/r/Python
https://redd.it/xjov3k
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
Django cannot assign must be an instance error
Hello, so i'm trying to add the user that clicked on a button by getting his ID and his trip ID and placing it into a reservation table I have.
views.py (thanks u/drbandre !)
def nbrplaces(request, id):
object = Trip.objects.get(id=id)
object.nbrplaces -= 1
object.save()
print(object.id)
username = request.user
reser = Reservation(userid=username, tripid=object.id)
reser.save()
return redirect(index)
Now I get the trip ID correctly and the username as well. But I get this error:
Cannot assign "3": "Reservation.tripid" must be a "Trip" instance.
Now I tried with name, with just trip with many things but I believe the error is somewhere in my models :l
Here's what the table SHOULD look like: https://imgur.com/a/tsirpbI
Here's what it looks like:
class User(AbstractUser):
pass
class
/r/djangolearning
https://redd.it/xjnm80
Hello, so i'm trying to add the user that clicked on a button by getting his ID and his trip ID and placing it into a reservation table I have.
views.py (thanks u/drbandre !)
def nbrplaces(request, id):
object = Trip.objects.get(id=id)
object.nbrplaces -= 1
object.save()
print(object.id)
username = request.user
reser = Reservation(userid=username, tripid=object.id)
reser.save()
return redirect(index)
Now I get the trip ID correctly and the username as well. But I get this error:
Cannot assign "3": "Reservation.tripid" must be a "Trip" instance.
Now I tried with name, with just trip with many things but I believe the error is somewhere in my models :l
Here's what the table SHOULD look like: https://imgur.com/a/tsirpbI
Here's what it looks like:
class User(AbstractUser):
pass
class
/r/djangolearning
https://redd.it/xjnm80
Imgur
Post with 1 views.
Heroku Alternatives for Python-based Applications
https://testdriven.io/blog/heroku-alternatives/
/r/Python
https://redd.it/xjf9qi
https://testdriven.io/blog/heroku-alternatives/
/r/Python
https://redd.it/xjf9qi
testdriven.io
Heroku Alternatives for Python-based Applications
In this article, you'll learn what the best Heroku alternatives (and their pros and cons) are.
OpenZiti SDK: make your app secure with embedded zero trust networking
I am happy to introduce OpenZiti Python SDK: .
It allows you to:
* embed zero trust secure networking right into your Python application
* run your Python services without any open network ports.
Powered by: https://github.com/openziti/ziti
/r/Python
https://redd.it/xk3b58
I am happy to introduce OpenZiti Python SDK: .
It allows you to:
* embed zero trust secure networking right into your Python application
* run your Python services without any open network ports.
Powered by: https://github.com/openziti/ziti
/r/Python
https://redd.it/xk3b58
OpenZiti.io
OpenZiti Python SDK: Introduction
Build your next Python application with embedded zero trust networking using OpenZiti SDK
P My co-founder and I quit our engineering jobs at AWS to build “Tensor Search”. Here is why.
My co-founder and I, a senior Amazon research scientist and AWS SDE respectively, launched Marqo a little over a week ago - a "tensor search" engine https://github.com/marqo-ai/marqo
Another project doing doing semantic search/dense retrieval. Why??
Semantic search using vectors does an amazing job when we look at sentences, or short paragraphs. Vectors also do well as an implementation for image search. Unfortunately, vector representations for video, long documents and other more complex data types perform poorly.
The reason isn't really to do with embeddings themselves not being good enough. If you asked a human to find the most relevant document to some search query given a list of long documents, an important question comes to mind - do we want the document that on average is most relevant to your query or the document that has a specific sentence that is very relevant to your search query?
Furthermore, what if the document has multiple components to it? Should we match based on the title of the document? Is that important? Or is the content more important?
These questions arn't things that we can expect an AI algorithm to solve for us, they need to be encoded into each specific search experience and use case.
Introducing Tensor
/r/MachineLearning
https://redd.it/xk31n8
My co-founder and I, a senior Amazon research scientist and AWS SDE respectively, launched Marqo a little over a week ago - a "tensor search" engine https://github.com/marqo-ai/marqo
Another project doing doing semantic search/dense retrieval. Why??
Semantic search using vectors does an amazing job when we look at sentences, or short paragraphs. Vectors also do well as an implementation for image search. Unfortunately, vector representations for video, long documents and other more complex data types perform poorly.
The reason isn't really to do with embeddings themselves not being good enough. If you asked a human to find the most relevant document to some search query given a list of long documents, an important question comes to mind - do we want the document that on average is most relevant to your query or the document that has a specific sentence that is very relevant to your search query?
Furthermore, what if the document has multiple components to it? Should we match based on the title of the document? Is that important? Or is the content more important?
These questions arn't things that we can expect an AI algorithm to solve for us, they need to be encoded into each specific search experience and use case.
Introducing Tensor
/r/MachineLearning
https://redd.it/xk31n8
GitHub
GitHub - marqo-ai/marqo: Unified embedding generation and search engine. Also available on cloud - cloud.marqo.ai
Unified embedding generation and search engine. Also available on cloud - cloud.marqo.ai - marqo-ai/marqo
P Stable Diffusion finetuned on Pokemon!
​
Girl with a pearl earring, Cute Obama creature, Donald Trump, Boris Johnson, Totoro, Hello Kitty
Online demo: https://replicate.com/lambdal/text-to-pokemon
Code and details: https://github.com/LambdaLabsML/examples/tree/main/stable-diffusion-finetuning
/r/MachineLearning
https://redd.it/xk174z
​
Girl with a pearl earring, Cute Obama creature, Donald Trump, Boris Johnson, Totoro, Hello Kitty
Online demo: https://replicate.com/lambdal/text-to-pokemon
Code and details: https://github.com/LambdaLabsML/examples/tree/main/stable-diffusion-finetuning
/r/MachineLearning
https://redd.it/xk174z
TLJH Managing GPU visibility ( CUDAVISIBLEDEVICES )
Hello everyone,
I just joined this community, and this is my first message here. I am a second-year student studying SE in Serbia. I've set up JupyterHub from my Ubuntu server, which runs on 8GPUS. I am looking to restrict and manage GPU resources for the users of JupyterHub.Some schemes would look like this:
\-Admin
|- user1: 2 usable GPUs
|- user2: 3 usable GPUs
|- user3: 4 usable GPUs
|- user4: 1 usable GPU
I looked through documentation from links( such as:
\-https://medium.com/rapids-ai/setting-up-gpu-data-science-environments-for-hackathons-cdb52e7781a5
\-https://developer.nvidia.com/blog/cuda-pro-tip-control-gpu-visibility-cuda\_visible\_devices/
\-https://tljh.jupyter.org/en/latest/topic/tljh-config.html
Trust me, my first three pages of google are purple :D ), and I could not find the particular thing that is suitable for me and working. This is what I have so far, and with sudo tljh-config show:
users:
admin:
- skynet
allowed:
- good-user1
- marko
limits:
memory: 4G
marko:
CUDAVISIBLEDEVICES: 0,1,2
https:
enabled: true
userenvironment:
/r/IPython
https://redd.it/xk3bm5
Hello everyone,
I just joined this community, and this is my first message here. I am a second-year student studying SE in Serbia. I've set up JupyterHub from my Ubuntu server, which runs on 8GPUS. I am looking to restrict and manage GPU resources for the users of JupyterHub.Some schemes would look like this:
\-Admin
|- user1: 2 usable GPUs
|- user2: 3 usable GPUs
|- user3: 4 usable GPUs
|- user4: 1 usable GPU
I looked through documentation from links( such as:
\-https://medium.com/rapids-ai/setting-up-gpu-data-science-environments-for-hackathons-cdb52e7781a5
\-https://developer.nvidia.com/blog/cuda-pro-tip-control-gpu-visibility-cuda\_visible\_devices/
\-https://tljh.jupyter.org/en/latest/topic/tljh-config.html
Trust me, my first three pages of google are purple :D ), and I could not find the particular thing that is suitable for me and working. This is what I have so far, and with sudo tljh-config show:
users:
admin:
- skynet
allowed:
- good-user1
- marko
limits:
memory: 4G
marko:
CUDAVISIBLEDEVICES: 0,1,2
https:
enabled: true
userenvironment:
/r/IPython
https://redd.it/xk3bm5
Medium
Setting up GPU Data Science Environments for Hackathons
AKA Littlest CUDA Hub
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
Discussion of using Python in a professional environment, getting jobs in Python as well as ask questions about courses to further your python education!
This thread is not for recruitment, please see r/PythonJobs or the thread in the sidebar for that.
/r/Python
https://redd.it/xkldrj
Discussion of using Python in a professional environment, getting jobs in Python as well as ask questions about courses to further your python education!
This thread is not for recruitment, please see r/PythonJobs or the thread in the sidebar for that.
/r/Python
https://redd.it/xkldrj
reddit
Thursday Daily Thread: Python Careers, Courses, and Furthering...
Discussion of using Python in a professional environment, getting jobs in Python as well as ask questions about courses to further your python...
Add custom entries to the JupyterLab launcher with jupyterapplauncher
Hi all, I want to present my new JupyterLab extension jupyter_app_launcher (https://github.com/trungleduc/jupyter\_app\_launcher). It is used to customize the JupyterLab launcher with a simple YAML file.
​
https://reddit.com/link/xke81n/video/rd8ukezni9p91/player
Users can add custom entries to the launcher to:
Open a predefined notebook or markdown file.
Render a notebook in dashboard mode
Open a notebook with Voila
Local/remote services like Plotly Dash or Streamlit
A live demo is available at https://mybinder.org/v2/gh/trungleduc/jupyter\_app\_launcher/main?urlpath=lab
Documentation: https://jupyter-app-launcher.readthedocs.io/
/r/JupyterNotebooks
https://redd.it/xke81n
Hi all, I want to present my new JupyterLab extension jupyter_app_launcher (https://github.com/trungleduc/jupyter\_app\_launcher). It is used to customize the JupyterLab launcher with a simple YAML file.
​
https://reddit.com/link/xke81n/video/rd8ukezni9p91/player
Users can add custom entries to the launcher to:
Open a predefined notebook or markdown file.
Render a notebook in dashboard mode
Open a notebook with Voila
Local/remote services like Plotly Dash or Streamlit
A live demo is available at https://mybinder.org/v2/gh/trungleduc/jupyter\_app\_launcher/main?urlpath=lab
Documentation: https://jupyter-app-launcher.readthedocs.io/
/r/JupyterNotebooks
https://redd.it/xke81n
GitHub
GitHub - trungleduc/jupyter_app_launcher: A JupyterLab extension to create custom launcher entries.
A JupyterLab extension to create custom launcher entries. - trungleduc/jupyter_app_launcher
Add custom entries to the JupyterLab launcher with jupyterapplauncher
Hi all, I want to present my new JupyterLab extension jupyter_app_launcher (https://github.com/trungleduc/jupyter\_app\_launcher). It is used to customize the JupyterLab launcher with a simple YAML file.
https://reddit.com/link/xke6q4/video/myekrzjfi9p91/player
Users can add custom entries to the launcher to:
Open a predefined notebook or markdown file.
Render a notebook in dashboard mode
Open a notebook with Voila
Local/remote services like Plotly Dash or Streamlit
A live demo is available at https://mybinder.org/v2/gh/trungleduc/jupyter\_app\_launcher/main?urlpath=lab
Documentation: https://jupyter-app-launcher.readthedocs.io/
/r/JupyterNotebooks
https://redd.it/xke6q4
Hi all, I want to present my new JupyterLab extension jupyter_app_launcher (https://github.com/trungleduc/jupyter\_app\_launcher). It is used to customize the JupyterLab launcher with a simple YAML file.
https://reddit.com/link/xke6q4/video/myekrzjfi9p91/player
Users can add custom entries to the launcher to:
Open a predefined notebook or markdown file.
Render a notebook in dashboard mode
Open a notebook with Voila
Local/remote services like Plotly Dash or Streamlit
A live demo is available at https://mybinder.org/v2/gh/trungleduc/jupyter\_app\_launcher/main?urlpath=lab
Documentation: https://jupyter-app-launcher.readthedocs.io/
/r/JupyterNotebooks
https://redd.it/xke6q4
GitHub
GitHub - trungleduc/jupyter_app_launcher: A JupyterLab extension to create custom launcher entries.
A JupyterLab extension to create custom launcher entries. - trungleduc/jupyter_app_launcher
Storing Pandas data frames efficiently in Python
https://petrosdemetrakopoulos.medium.com/storing-pandas-data-frames-efficiently-in-python-cff669953485
/r/Python
https://redd.it/xkjs92
https://petrosdemetrakopoulos.medium.com/storing-pandas-data-frames-efficiently-in-python-cff669953485
/r/Python
https://redd.it/xkjs92
Medium
Storing Pandas data frames efficiently in Python
A memory footprint approach
OpenAI's Whisper: an open-sourced neural net "that approaches human level robustness and accuracy on English speech recognition." Can be used as a Python package or from the command line
https://openai.com/blog/whisper/
/r/Python
https://redd.it/xkwt34
https://openai.com/blog/whisper/
/r/Python
https://redd.it/xkwt34
Openai
Introducing Whisper
We’ve trained and are open-sourcing a neural net called Whisper that approaches human level robustness and accuracy on English speech recognition.
TLJH GPU management
Hello everyone,
I just joined this community, and this is my first message here. I am a second-year student studying SE in Serbia. I've set up JupyterHub from my Ubuntu server, which runs on 8GPUS. I am looking to restrict and manage GPU resources for the users of JupyterHub.Some schemes would look like this:
\-Admin
|- user1: 2 usable GPUs
|- user2: 3 usable GPUs
|- user3: 4 usable GPUs
|- user4: 1 usable GPU
​
I looked through documentation from links( such as:
\-[https://medium.com/rapids-ai/setting-up-gpu-data-science-environments-for-hackathons-cdb52e7781a5](https://medium.com/rapids-ai/setting-up-gpu-data-science-environments-for-hackathons-cdb52e7781a5)
\-[https://developer.nvidia.com/blog/cuda-pro-tip-control-gpu-visibility-cuda\_visible\_devices/](https://developer.nvidia.com/blog/cuda-pro-tip-control-gpu-visibility-cuda_visible_devices/)
\-[https://tljh.jupyter.org/en/latest/topic/tljh-config.html](https://tljh.jupyter.org/en/latest/topic/tljh-config.html)
Trust me, my first three pages of google are purple :D ), and I could not find the particular thing that is suitable for me and working. This is what I have so far, and with sudo tljh-config show:
users:
admin:
- skynet
allowed:
- good-user_1
- marko
limits:
memory: 4G
marko:
CUDA_VISIBLE_DEVICES: 0,1,2
https:
enabled: true
user_environment:
default_app: jupyterhub
/r/JupyterNotebooks
https://redd.it/xk34ub
Hello everyone,
I just joined this community, and this is my first message here. I am a second-year student studying SE in Serbia. I've set up JupyterHub from my Ubuntu server, which runs on 8GPUS. I am looking to restrict and manage GPU resources for the users of JupyterHub.Some schemes would look like this:
\-Admin
|- user1: 2 usable GPUs
|- user2: 3 usable GPUs
|- user3: 4 usable GPUs
|- user4: 1 usable GPU
​
I looked through documentation from links( such as:
\-[https://medium.com/rapids-ai/setting-up-gpu-data-science-environments-for-hackathons-cdb52e7781a5](https://medium.com/rapids-ai/setting-up-gpu-data-science-environments-for-hackathons-cdb52e7781a5)
\-[https://developer.nvidia.com/blog/cuda-pro-tip-control-gpu-visibility-cuda\_visible\_devices/](https://developer.nvidia.com/blog/cuda-pro-tip-control-gpu-visibility-cuda_visible_devices/)
\-[https://tljh.jupyter.org/en/latest/topic/tljh-config.html](https://tljh.jupyter.org/en/latest/topic/tljh-config.html)
Trust me, my first three pages of google are purple :D ), and I could not find the particular thing that is suitable for me and working. This is what I have so far, and with sudo tljh-config show:
users:
admin:
- skynet
allowed:
- good-user_1
- marko
limits:
memory: 4G
marko:
CUDA_VISIBLE_DEVICES: 0,1,2
https:
enabled: true
user_environment:
default_app: jupyterhub
/r/JupyterNotebooks
https://redd.it/xk34ub
Medium
Setting up GPU Data Science Environments for Hackathons
AKA Littlest CUDA Hub
Reinforcement Learning for Beginners - coding a Maze-solving agent from scratch
https://strikingloo.github.io/reinforcement-learning-beginners
/r/Python
https://redd.it/xkr98k
https://strikingloo.github.io/reinforcement-learning-beginners
/r/Python
https://redd.it/xkr98k
Reinforcement Learning for Beginners - Python Tutorial
Introduction to Reinforcement Learning. I explain the Sarsa algorithm, code an example from scratch in Python, and teach an AI to solve mazes.
Jupyter Community Workshop: The Future of Jupyter Widgets
https://blog.jupyter.org/jupyter-community-workshop-the-future-of-jupyter-widgets-475f67288da0
/r/IPython
https://redd.it/xjq9tv
https://blog.jupyter.org/jupyter-community-workshop-the-future-of-jupyter-widgets-475f67288da0
/r/IPython
https://redd.it/xjq9tv
Medium
Jupyter Community Workshop: The Future of Jupyter Widgets
After a long break from in-person events, we are excited to announce an in-person Jupyter Community Workshop!
This media is not supported in your browser
VIEW IN TELEGRAM
I made a small demo app for creating an image slider using JSONField
https://redd.it/xl1aps
@pythondaily
https://redd.it/xl1aps
@pythondaily
Web Applications in Production using Flask, Gunicorn WSGI and Nginx
https://writersbyte.com/featured-post/web-apps-with-flask-gunicorn-nginx/
/r/flask
https://redd.it/xldv0w
https://writersbyte.com/featured-post/web-apps-with-flask-gunicorn-nginx/
/r/flask
https://redd.it/xldv0w
WritersByte
Web Applications in Production using Flask, Gunicorn WSGI and Nginx (Part 2/3) - WritersByte
In our previous tutorial of this series, we looked at how we could deploy deep learning based web applications by strategically structuring our Flask project,