Looking for working on a side project just for learning (without compensation is fine too)
Hi,
So I am a self-taught dev currently been working in the python eco-system with US start-up since past three years. However, my job is in intelligent automation domain (for which we don't use Django) and I have been kind of feeling stagnant on the professional front. Hence, just for learning sake I was wondering if some experienced person would want a fresher Django developer for any project. My goal here is simply to work under someone who could assign me tickets and most importantly review my submissions and provide feedback. I am not looking for any kind of monetary remuneration and am just here to learn.
I am willing to give 15-20 hours per week.
I have tried experimenting it on my own through videos building and breaking things on the side but wanted to experience things in a more professional setting. The feedbacks would be immensely valuable.
Any help in this direction? I'd be really grateful
/r/django
https://redd.it/1e2glod
Hi,
So I am a self-taught dev currently been working in the python eco-system with US start-up since past three years. However, my job is in intelligent automation domain (for which we don't use Django) and I have been kind of feeling stagnant on the professional front. Hence, just for learning sake I was wondering if some experienced person would want a fresher Django developer for any project. My goal here is simply to work under someone who could assign me tickets and most importantly review my submissions and provide feedback. I am not looking for any kind of monetary remuneration and am just here to learn.
I am willing to give 15-20 hours per week.
I have tried experimenting it on my own through videos building and breaking things on the side but wanted to experience things in a more professional setting. The feedbacks would be immensely valuable.
Any help in this direction? I'd be really grateful
/r/django
https://redd.it/1e2glod
Reddit
From the django community on Reddit
Explore this post and more from the django community
Computers are fast Python perf quiz
I first encountered Julia Evans' Computers Are Fast performance quiz soon after it was published 10 years ago. It was so eye opening as a new programmer to get a few of the questions wrong by a 2-3 orders of magnitudes.
I wanted to update that quiz for 2024, swapping out Rust for C and fixing a couple of places where the 2014 quiz's Python 2 code does not translate directly and obviously into Python3.
Try it out and see how you go :)
https://thundergolfer.com/computers-are-fast
/r/Python
https://redd.it/1e2cvwb
I first encountered Julia Evans' Computers Are Fast performance quiz soon after it was published 10 years ago. It was so eye opening as a new programmer to get a few of the questions wrong by a 2-3 orders of magnitudes.
I wanted to update that quiz for 2024, swapping out Rust for C and fixing a couple of places where the 2014 quiz's Python 2 code does not translate directly and obviously into Python3.
Try it out and see how you go :)
https://thundergolfer.com/computers-are-fast
/r/Python
https://redd.it/1e2cvwb
Jonathon Belotti [thundergolfer]
Computers are fast
Do you know how much your computer can do in one second?
R Understanding the Unreasonable Effectiveness of Discrete Representations In Reinforcement Learning
# Links
Paper: https://arxiv.org/abs/2312.01203
Code: https://github.com/ejmejm/discrete-representations-for-continual-rl
Video: https://youtu.be/s8RqGlU5HEs <-- Recommended if you want a quick (\~13 min) look
Thesis: https://era.library.ualberta.ca/items/d9bc72bd-cb8c-4ca9-a978-e97e8e16abf0
# Problem
Several recent papers in the model-based RL space [e.g. 1, 2, 3\] have used discrete state representations - that is weird! Why use representations that are less expressive and are far more limited in informational content?
That's what this paper looks at:
(1) What are the benefits of using discrete states to learn world models, and
(2) What are the benefits of using discrete states to learn policies?
We also start just start to look at why this might be the case.
# Key Results
1. World models learned over discrete representations were able to more accurately represent more of the world (transitions) with less capacity when compared to those learned over continuous representations.
ground-truth
continuous representations
discrete representations
Above you can see the same policy played out in the real environment, and simulated in continuous and discrete world models. Over time, errors in the continuous world model accumulated, and the agent never reaches the goal. This is less of a problem in the discrete world model. It's important to note that both have the potential to learn perfect would models
/r/MachineLearning
https://redd.it/1e2e9ou
# Links
Paper: https://arxiv.org/abs/2312.01203
Code: https://github.com/ejmejm/discrete-representations-for-continual-rl
Video: https://youtu.be/s8RqGlU5HEs <-- Recommended if you want a quick (\~13 min) look
Thesis: https://era.library.ualberta.ca/items/d9bc72bd-cb8c-4ca9-a978-e97e8e16abf0
# Problem
Several recent papers in the model-based RL space [e.g. 1, 2, 3\] have used discrete state representations - that is weird! Why use representations that are less expressive and are far more limited in informational content?
That's what this paper looks at:
(1) What are the benefits of using discrete states to learn world models, and
(2) What are the benefits of using discrete states to learn policies?
We also start just start to look at why this might be the case.
# Key Results
1. World models learned over discrete representations were able to more accurately represent more of the world (transitions) with less capacity when compared to those learned over continuous representations.
ground-truth
continuous representations
discrete representations
Above you can see the same policy played out in the real environment, and simulated in continuous and discrete world models. Over time, errors in the continuous world model accumulated, and the agent never reaches the goal. This is less of a problem in the discrete world model. It's important to note that both have the potential to learn perfect would models
/r/MachineLearning
https://redd.it/1e2e9ou
arXiv.org
Harnessing Discrete Representations For Continual Reinforcement Learning
Reinforcement learning (RL) agents make decisions using nothing but observations from the environment, and consequently, heavily rely on the representations of those observations. Though some...
Why do people want to obduscate python code?
Over the last few months I have observed quite a few people asking how they can obfuscate python code.
Now, I understand why they'd want this. If you want to distribute your code for a payment, it would allow your users to not just copy it for free. But all the solutions for obfuscation where either "don't do it, make it a webapp" or reversible and slowed down the code.
But why would you even want to obfuscate python code and still run it using python? Wouldn't it be better to use smth like Cython or Nukita to convert your code to C and then create a binary? AFAIK that would still make your code unreachable while also making it faster.
Or are there any major drawbacks with that? One I could think of is that last time I used Cython numpy wasn't working properly. I havent used Nukita or other tools extensively enough to comment on them though.
/r/Python
https://redd.it/1e29hy8
Over the last few months I have observed quite a few people asking how they can obfuscate python code.
Now, I understand why they'd want this. If you want to distribute your code for a payment, it would allow your users to not just copy it for free. But all the solutions for obfuscation where either "don't do it, make it a webapp" or reversible and slowed down the code.
But why would you even want to obfuscate python code and still run it using python? Wouldn't it be better to use smth like Cython or Nukita to convert your code to C and then create a binary? AFAIK that would still make your code unreachable while also making it faster.
Or are there any major drawbacks with that? One I could think of is that last time I used Cython numpy wasn't working properly. I havent used Nukita or other tools extensively enough to comment on them though.
/r/Python
https://redd.it/1e29hy8
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Sunday Daily Thread: What's everyone working on this week?
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1e2om1j
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1e2om1j
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Flask api not predicting
I've deploying flask api api.py from this repo
However, it's not predicting the result as positive or negative.
Kindly look into this
Url: https://github.com/pik1989/Sentiment-Analysis
/r/flask
https://redd.it/1e25bj6
I've deploying flask api api.py from this repo
However, it's not predicting the result as positive or negative.
Kindly look into this
Url: https://github.com/pik1989/Sentiment-Analysis
/r/flask
https://redd.it/1e25bj6
GitHub
GitHub - pik1989/Sentiment-Analysis
Contribute to pik1989/Sentiment-Analysis development by creating an account on GitHub.
Textchat: The SSL and SASL update
Hello all! I have posted in the past about Textchat, a TUI IRC Client made with textual that had a lot of bugs to it. I am back with an update: It now supports SASL and SSL! Again it's in alpha and bugs are still possible and bug reports are encouraged. Again here is the link: https://github.com/rmblau/textchat and it is available on pypi as well. Just a pip install away :)
# What My Project Does
As before, my project is a terminal application, single server irc client written with the python irc library and textual. No znc support presently.
# Target Audience
This is aimed at people who love irc as much as I do. Feedback is welcome and encouraged!
# Comparison
Nothing that I have found, as before.
/r/Python
https://redd.it/1e2rmta
Hello all! I have posted in the past about Textchat, a TUI IRC Client made with textual that had a lot of bugs to it. I am back with an update: It now supports SASL and SSL! Again it's in alpha and bugs are still possible and bug reports are encouraged. Again here is the link: https://github.com/rmblau/textchat and it is available on pypi as well. Just a pip install away :)
# What My Project Does
As before, my project is a terminal application, single server irc client written with the python irc library and textual. No znc support presently.
# Target Audience
This is aimed at people who love irc as much as I do. Feedback is welcome and encouraged!
# Comparison
Nothing that I have found, as before.
/r/Python
https://redd.it/1e2rmta
GitHub
GitHub - rmblau/textchat: TUI IRC client written in python, powered by textual
TUI IRC client written in python, powered by textual - rmblau/textchat
RAW SQL over django ORM
So I came across a situation where I needed to join two tables on multiple columns that were not foreign keys. As far as I know, in django this could be done only using sub queries and outer refs. This creates significant performance issues comparison to the JOIN in a raw SQL query. Any thoughts on preferring raw SQL over django ORM?
/r/djangolearning
https://redd.it/1e2xiul
So I came across a situation where I needed to join two tables on multiple columns that were not foreign keys. As far as I know, in django this could be done only using sub queries and outer refs. This creates significant performance issues comparison to the JOIN in a raw SQL query. Any thoughts on preferring raw SQL over django ORM?
/r/djangolearning
https://redd.it/1e2xiul
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Tutorial Resource needed
I am trying to make a Event Management web app for my college project I am a complete newby in flask html and css So with your help provide me some resources link to achieve my goal
/r/flask
https://redd.it/1e2vmfk
I am trying to make a Event Management web app for my college project I am a complete newby in flask html and css So with your help provide me some resources link to achieve my goal
/r/flask
https://redd.it/1e2vmfk
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
[Showcase] G-Scraper - a GUI web scraper written completely in Python
**Target audience?** Basically data collectors or anyone trying to scrape data from websites using a GUI
**What my project does:**
* -Take URLs
* -Take elements to scrape from those webpages (this is optional in the sense that if you dont specify any elements the app will just scrape the entire page)
* -You can also send web parameters like Headers, Payloads along with specific URLs. This means it can perform any logins that are necessary
* -Is able to log the results in a log file, a separate one for each scrape
* -Data is stored in form of .txt files
**Some unique features of this project:**
* -Can scrape multiple URLs
* -Can scrape multiple elements in a single URL
* -Supports GET and POST requests
* -Scraping runs in a separate thread than the GUI, so you can close the app or use it and the scraping will continue
* -You can edit the added variables or delete them. You can also reset the entire app's current data to start a new set of scrapes
* -Very very unique filenames for each file created
* -3 types of log files: webpage scrape log, element scrape log and error log
* Has a
/r/Python
https://redd.it/1e2z7n7
**Target audience?** Basically data collectors or anyone trying to scrape data from websites using a GUI
**What my project does:**
* -Take URLs
* -Take elements to scrape from those webpages (this is optional in the sense that if you dont specify any elements the app will just scrape the entire page)
* -You can also send web parameters like Headers, Payloads along with specific URLs. This means it can perform any logins that are necessary
* -Is able to log the results in a log file, a separate one for each scrape
* -Data is stored in form of .txt files
**Some unique features of this project:**
* -Can scrape multiple URLs
* -Can scrape multiple elements in a single URL
* -Supports GET and POST requests
* -Scraping runs in a separate thread than the GUI, so you can close the app or use it and the scraping will continue
* -You can edit the added variables or delete them. You can also reset the entire app's current data to start a new set of scrapes
* -Very very unique filenames for each file created
* -3 types of log files: webpage scrape log, element scrape log and error log
* Has a
/r/Python
https://redd.it/1e2z7n7
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
New to Django - some advice?
Hey all! I have read a lot about Django and decided to use this as the framework for full stack development (Django as backend, and simply using Bootstrap for frontend as a start) of a new application.
Other than the existing tutorials out there on how to start and build Django application, I am quite concern regarding the security aspect during deployment.
The application I intend to build is going to be a web facing application, with login to allow members to login and view their systems. Are there any good tutorials out there that teaches you how to secure a web facing Django?
By the way, I plan to deploy everything in AWS if it helps.
TIA.
/r/django
https://redd.it/1e2yh0x
Hey all! I have read a lot about Django and decided to use this as the framework for full stack development (Django as backend, and simply using Bootstrap for frontend as a start) of a new application.
Other than the existing tutorials out there on how to start and build Django application, I am quite concern regarding the security aspect during deployment.
The application I intend to build is going to be a web facing application, with login to allow members to login and view their systems. Are there any good tutorials out there that teaches you how to secure a web facing Django?
By the way, I plan to deploy everything in AWS if it helps.
TIA.
/r/django
https://redd.it/1e2yh0x
Reddit
From the django community on Reddit
Explore this post and more from the django community
Loop backwards using Django template over a slice
Hi,
currently facing a bit of an issue,
Im trying to simply iterate in a reversed order over a slice but the reversed filter doesnt seem to work in this case. As far as I understood, the reversed should be built in ? Thanks a lot
<div>
{% for i in game.board|slice:"6:12" reversed %}
<a href="{% url 'make_move' forloop.counter0|add:6 %}" onclick="console.log('Pit clicked: {{ forloop.counter0|add:6 }}')">{{ i }}</a>
{% endfor %}
</div>
</div>
/r/django
https://redd.it/1e331bz
Hi,
currently facing a bit of an issue,
Im trying to simply iterate in a reversed order over a slice but the reversed filter doesnt seem to work in this case. As far as I understood, the reversed should be built in ? Thanks a lot
<div>
{% for i in game.board|slice:"6:12" reversed %}
<a href="{% url 'make_move' forloop.counter0|add:6 %}" onclick="console.log('Pit clicked: {{ forloop.counter0|add:6 }}')">{{ i }}</a>
{% endfor %}
</div>
</div>
/r/django
https://redd.it/1e331bz
Reddit
From the django community on Reddit
Explore this post and more from the django community
Is common best practice in python to use assert for business logic?
I was reviewing a Python project and noticed that a senior developer was using
/r/Python
https://redd.it/1e33nuh
I was reviewing a Python project and noticed that a senior developer was using
assert statements throughout the codebase for business logic. They assert a statement to check a validation condition and catch later. I've typically used assertions for testing and debugging, so this approach surprised me. I would recommend using raise exception. /r/Python
https://redd.it/1e33nuh
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
First Time hosting
Hello and thank you in advance. I’m building a simple portfolio website that does not handle sensitive data besides a contact me email belonging to the owner and a log in system for editing images or text of the site. I am planning on deploying it to AWS lightsail and would love to get some tips or articles about security precautions I should take for the Django application, AWS lightsail, AWS account or any other part I should secure that is important. Thank you in advance.
/r/django
https://redd.it/1e3d6cn
Hello and thank you in advance. I’m building a simple portfolio website that does not handle sensitive data besides a contact me email belonging to the owner and a log in system for editing images or text of the site. I am planning on deploying it to AWS lightsail and would love to get some tips or articles about security precautions I should take for the Django application, AWS lightsail, AWS account or any other part I should secure that is important. Thank you in advance.
/r/django
https://redd.it/1e3d6cn
Reddit
From the django community on Reddit
Explore this post and more from the django community
low barrier-to-entry constraint satisfaction?
Say I've got a system of fairly simple relationships between (real number) variables: a = b + c, d = a*c, f = sqrt(a*b). Note there are implicit relations like c = a- b = f**2/b - b as well. Are there any ready to use libraries or modules that implement a constraint satisfaction network like this? I'd like the system start out without values assigned to any variables, but then the user inputs something like f = 3. This constrains the system now. If the user adds more values, at some point the system will be satisfied. As values are updated by the user, the system continue to ensure satisfaction, updating downstream values as necessary. I know this is generally a complex thing. I'd consider python-constraint but that is for finite-domains, and I'd like the system to support real number interval domains. Anyone know of some other similar projects out there?
/r/Python
https://redd.it/1e3d69u
Say I've got a system of fairly simple relationships between (real number) variables: a = b + c, d = a*c, f = sqrt(a*b). Note there are implicit relations like c = a- b = f**2/b - b as well. Are there any ready to use libraries or modules that implement a constraint satisfaction network like this? I'd like the system start out without values assigned to any variables, but then the user inputs something like f = 3. This constrains the system now. If the user adds more values, at some point the system will be satisfied. As values are updated by the user, the system continue to ensure satisfaction, updating downstream values as necessary. I know this is generally a complex thing. I'd consider python-constraint but that is for finite-domains, and I'd like the system to support real number interval domains. Anyone know of some other similar projects out there?
/r/Python
https://redd.it/1e3d69u
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Postgres VS MySQL?
Hello,
I came from PHP (Laravel) world and started to work with python and django only several months ago.
Since then, I see that PostgreSQL is much more popular than MySQL in django world. Are there any reasons for it beside of historic ones?
Should I switch my choice of DB to postgres or I can stay with mysql?
/r/django
https://redd.it/1e3ek6c
Hello,
I came from PHP (Laravel) world and started to work with python and django only several months ago.
Since then, I see that PostgreSQL is much more popular than MySQL in django world. Are there any reasons for it beside of historic ones?
Should I switch my choice of DB to postgres or I can stay with mysql?
/r/django
https://redd.it/1e3ek6c
Reddit
From the django community on Reddit
Explore this post and more from the django community
Qt (PySide6) or a Flask app running in a window for a modern, fluid desktop application?
(I know I'll probably get biased answers here, but you never know. You guys also might know something I don't yet that could influence my choice.)
Greetings.
To provide some context, I'm a 17-year-old intern at a very small startup -- so small that there are no adult employees, save for the founder and his son. The founder, our boss, was our AP Computer Science teacher (AP is an American program that allows high school students to learn college credit by taking a class and subsequent exam on content equivalent to an entry-level college course). He needed some help, so he offered unpaid internships to a few of us.
Anyway, my first task is to find a Python UI library. The founder is very adamant about using Python for this application -- I guess for its host of APIs and junk. (It's an application whose main functionality is a chatbot powered by the OpenAI API. I don't feel comfortable sharing any more details.) And, well, for a practical, modern, fluid, and responsive UI, I came to two options: PySide6, for its features; or Flask, for the ease-of-use of HTML, CSS, and JS, as well as Flask's simplicity, with a library to run a window in
/r/flask
https://redd.it/1e3htvw
(I know I'll probably get biased answers here, but you never know. You guys also might know something I don't yet that could influence my choice.)
Greetings.
To provide some context, I'm a 17-year-old intern at a very small startup -- so small that there are no adult employees, save for the founder and his son. The founder, our boss, was our AP Computer Science teacher (AP is an American program that allows high school students to learn college credit by taking a class and subsequent exam on content equivalent to an entry-level college course). He needed some help, so he offered unpaid internships to a few of us.
Anyway, my first task is to find a Python UI library. The founder is very adamant about using Python for this application -- I guess for its host of APIs and junk. (It's an application whose main functionality is a chatbot powered by the OpenAI API. I don't feel comfortable sharing any more details.) And, well, for a practical, modern, fluid, and responsive UI, I came to two options: PySide6, for its features; or Flask, for the ease-of-use of HTML, CSS, and JS, as well as Flask's simplicity, with a library to run a window in
/r/flask
https://redd.it/1e3htvw
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Monday Daily Thread: Project ideas!
# Weekly Thread: Project Ideas 💡
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
## How it Works:
1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.
## Guidelines:
* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.
# Example Submissions:
## Project Idea: Chatbot
**Difficulty**: Intermediate
**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar
**Description**: Create a chatbot that can answer FAQs for a website.
**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)
# Project Idea: Weather Dashboard
**Difficulty**: Beginner
**Tech Stack**: HTML, CSS, JavaScript, API
**Description**: Build a dashboard that displays real-time weather information using a weather API.
**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)
## Project Idea: File Organizer
**Difficulty**: Beginner
**Tech Stack**: Python, File I/O
**Description**: Create a script that organizes files in a directory into sub-folders based on file type.
**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)
Let's help each other grow. Happy
/r/Python
https://redd.it/1e3gu3z
# Weekly Thread: Project Ideas 💡
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
## How it Works:
1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.
## Guidelines:
* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.
# Example Submissions:
## Project Idea: Chatbot
**Difficulty**: Intermediate
**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar
**Description**: Create a chatbot that can answer FAQs for a website.
**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)
# Project Idea: Weather Dashboard
**Difficulty**: Beginner
**Tech Stack**: HTML, CSS, JavaScript, API
**Description**: Build a dashboard that displays real-time weather information using a weather API.
**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)
## Project Idea: File Organizer
**Difficulty**: Beginner
**Tech Stack**: Python, File I/O
**Description**: Create a script that organizes files in a directory into sub-folders based on file type.
**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)
Let's help each other grow. Happy
/r/Python
https://redd.it/1e3gu3z
What's the best way to mask auto-incrementing id field from end users? (read full post)
I've been using django-hashid-field for quite to mask the id field from frontend. The primary reason I am using that was
- I don't want to generate and store UUIDs in database column separately.
- I don't want to expose Auto-incrementing Primary keys to the end users.
Now the django-hashid-field package is retired, they recommend that everyone start using django-sqids.
Has anyone started using django-sqids in production? Are there any better alternatives?
/r/django
https://redd.it/1e3nrik
I've been using django-hashid-field for quite to mask the id field from frontend. The primary reason I am using that was
- I don't want to generate and store UUIDs in database column separately.
- I don't want to expose Auto-incrementing Primary keys to the end users.
Now the django-hashid-field package is retired, they recommend that everyone start using django-sqids.
Has anyone started using django-sqids in production? Are there any better alternatives?
/r/django
https://redd.it/1e3nrik
GitHub
GitHub - nshafer/django-hashid-field: Django Model Field that uses Hashids to obscure the value
Django Model Field that uses Hashids to obscure the value - nshafer/django-hashid-field
Take a look at the onclick function in html. First picture is from firefox and the second one is the code. Can anyone explain where those quotation marks come from? If I delete those spaces in my .html file even more funny stuff happens. I'm happy to share more code if needed.
https://redd.it/1e3eecy
@pythondaily
https://redd.it/1e3eecy
@pythondaily
Reddit
From the flask community on Reddit: Take a look at the onclick function in html. First picture is from firefox and the second one…
Explore this post and more from the flask community