I Created the Definitive AUTOMATIC Shiny Hunter for Pokémon BDSP in Python
What My Project Does: Hey everyone! I am Dinones! I coded a Python program using object detection that lets my computer hunt for shiny Pokémon on my physical Nintendo Switch while I sleep. So far, I’ve automatically caught shiny Pokémon like Giratina, Dialga or Azelf, Rotom, Drifloon, all three starters, and more in Pokémon BDSP. Curious to see how it works? Check it out! The program is available for everyone! Obviously, for free; I'm just a student who likes to program this stuff in his free time :)
The games run on a Nintendo Switch (not emulated, a real one). The program gets the output images using a capture card, then, it process them to detect whether the pokemon is shiny or not (OpenCV). Finally, it emulates the joycons using bluetooth (NXBT) and control the Nintendo.
I also want to know what do you think about it: Is it fair to use it in singleplayer? And multiplayer?
Target Audience: All Pokémon BDSP gamers.
Comparison: As far as I know, nobody did this before.
📽️ Youtube: https://www.youtube.com/watch?v=84czUOAvNyk
🤖 Github: https://github.com/Dinones/Nintendo-Switch-Pokemon-Shiny-Hunter
/r/Python
https://redd.it/1evng2g
What My Project Does: Hey everyone! I am Dinones! I coded a Python program using object detection that lets my computer hunt for shiny Pokémon on my physical Nintendo Switch while I sleep. So far, I’ve automatically caught shiny Pokémon like Giratina, Dialga or Azelf, Rotom, Drifloon, all three starters, and more in Pokémon BDSP. Curious to see how it works? Check it out! The program is available for everyone! Obviously, for free; I'm just a student who likes to program this stuff in his free time :)
The games run on a Nintendo Switch (not emulated, a real one). The program gets the output images using a capture card, then, it process them to detect whether the pokemon is shiny or not (OpenCV). Finally, it emulates the joycons using bluetooth (NXBT) and control the Nintendo.
I also want to know what do you think about it: Is it fair to use it in singleplayer? And multiplayer?
Target Audience: All Pokémon BDSP gamers.
Comparison: As far as I know, nobody did this before.
📽️ Youtube: https://www.youtube.com/watch?v=84czUOAvNyk
🤖 Github: https://github.com/Dinones/Nintendo-Switch-Pokemon-Shiny-Hunter
/r/Python
https://redd.it/1evng2g
YouTube
I Created the Definitive AUTOMATIC Shiny Hunter for Pokémon BDSP
I made your dream of catching shiny pokémon while sleeping real. It works on a physical Nintendo Switch, not an emulator. Be the coolest of your friends with all those shinies in BDSP.
🤖 Github Link: https://github.com/Dinones/Nintendo-Switch-Pokemon-Shiny…
🤖 Github Link: https://github.com/Dinones/Nintendo-Switch-Pokemon-Shiny…
I built a Python Front End Framework
This is the first real python front end framework you can use in the browser, it is nammed PrunePy :
https://github.com/darikoko/prunepy
# What My Project Does
The goal of this project is to create dynamic UI without learning a new language or tool, with only basic python you will be able to create really well structured UI.
It uses Pyscript and Micropython under the hood, so the size of the final wasm file is bellow 400kos which is really light for webassembly !
PrunePy brings a global store to manage your data in a crentralised way, no more problems to passing data to a child component or stuff like this, everything is accessible from everywhere.
# Target Audience
This project is built for JS devs who want a better language and architecture to build the front, or for Python devs who whant to build a front end in Python.
# Comparison
The benefit from this philosophy is that you can now write your logic in a simple python file, test it, and then write your html to link it to your data.
With React, Solid etc it's very difficult to isolate your logic from your html so it's very complex to test it, plus you are forced to test your
/r/Python
https://redd.it/1evuzem
This is the first real python front end framework you can use in the browser, it is nammed PrunePy :
https://github.com/darikoko/prunepy
# What My Project Does
The goal of this project is to create dynamic UI without learning a new language or tool, with only basic python you will be able to create really well structured UI.
It uses Pyscript and Micropython under the hood, so the size of the final wasm file is bellow 400kos which is really light for webassembly !
PrunePy brings a global store to manage your data in a crentralised way, no more problems to passing data to a child component or stuff like this, everything is accessible from everywhere.
# Target Audience
This project is built for JS devs who want a better language and architecture to build the front, or for Python devs who whant to build a front end in Python.
# Comparison
The benefit from this philosophy is that you can now write your logic in a simple python file, test it, and then write your html to link it to your data.
With React, Solid etc it's very difficult to isolate your logic from your html so it's very complex to test it, plus you are forced to test your
/r/Python
https://redd.it/1evuzem
GitHub
GitHub - darikoko/prunepy
Contribute to darikoko/prunepy development by creating an account on GitHub.
Making a windows desktop app using pygame: how bad of an idea is it?
I haven't found anyone asking this question, everything seems suitable to make nice desktop apps but I found no mentions of anyone doing it so I'm assuming it's a bad idea but I have no clue why that would be the case
/r/Python
https://redd.it/1evv8no
I haven't found anyone asking this question, everything seems suitable to make nice desktop apps but I found no mentions of anyone doing it so I'm assuming it's a bad idea but I have no clue why that would be the case
/r/Python
https://redd.it/1evv8no
Reddit
From the Python community on Reddit: Making a windows desktop app using pygame: how bad of an idea is it?
Posted by IronH3eavenZ - 24 votes and 33 comments
Why Signals are bad?
I went through some blogs, talking about optimizing performance of Django application and almost every blog mentioned avoid using signals. But none of the authors explained why.
/r/django
https://redd.it/1evvaeu
I went through some blogs, talking about optimizing performance of Django application and almost every blog mentioned avoid using signals. But none of the authors explained why.
/r/django
https://redd.it/1evvaeu
Reddit
From the django community on Reddit
Explore this post and more from the django community
trying to set up a virtual environment on a linux and windows machine multiple times but failed.
i have a flask project (can't share the github repo because it is private) and I've tried setting it up on my fedora linux machine. the os by default had python 3.12 and I can't remove it because some core packages depend on it. I'm trying to set up a project with pipenv and after I run pipenv install, I get multiple resolution failures and in the error logs, I see that it is picking up some resolverdotpy files from my python3.12 directory.
i have tried specifying the python version as pipenv --python 3.8 install, but no luck. what can I do?
/r/flask
https://redd.it/1evrl3n
i have a flask project (can't share the github repo because it is private) and I've tried setting it up on my fedora linux machine. the os by default had python 3.12 and I can't remove it because some core packages depend on it. I'm trying to set up a project with pipenv and after I run pipenv install, I get multiple resolution failures and in the error logs, I see that it is picking up some resolverdotpy files from my python3.12 directory.
i have tried specifying the python version as pipenv --python 3.8 install, but no luck. what can I do?
/r/flask
https://redd.it/1evrl3n
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Question about transforming code into a web application
Good morning. I had written a large Python code (>500 lines) for a project, and was trying to make a self serve web application for this in Flask. I got the "hello world" and stuff down in flask, but now I am having trouble understanding how to move forward...do I simply copy paste my code into the main() function in app.py? Because I tried a test code like that (Just one input and an output) and the website didn't display anything.
Tl;dr: Trying to make a massive python code into a Flask web app, did the "hello world" code, not sure how to proceed.
/r/flask
https://redd.it/1ew2tkb
Good morning. I had written a large Python code (>500 lines) for a project, and was trying to make a self serve web application for this in Flask. I got the "hello world" and stuff down in flask, but now I am having trouble understanding how to move forward...do I simply copy paste my code into the main() function in app.py? Because I tried a test code like that (Just one input and an output) and the website didn't display anything.
Tl;dr: Trying to make a massive python code into a Flask web app, did the "hello world" code, not sure how to proceed.
/r/flask
https://redd.it/1ew2tkb
Reddit
Question about transforming code into a web application : r/flask
88K subscribers in the flask community. Flask is a Python micro-framework for web development. Flask is easy to get started with and a great way to…
If you could go back and give your beginner Django self one piece of advice, what would it be?
For the seasoned Django developers out there - as you look back on your own journey, what's one insight or lesson you wish you had known when you were just starting out?
I'm a junior Flutter developer who is excited to dive into backend development with Django. As someone new to the field, I'm keen to learn from the experienced Django developers in this community.
Looking back, is there anything in particular you would have approached differently in learning and using the Django framework? What's one piece of advice you wish you could give your beginner self?
I'm especially interested in any insights on:
- Key concepts or techniques that were game-changers in your Django journey
- Resources (books, tutorials, projects) you found invaluable as a beginner
- Common beginner pitfalls to avoid or best practices to adopt early on
- Aspects of Django that were challenging to grasp at first but clicked later on
/r/django
https://redd.it/1ew0i59
For the seasoned Django developers out there - as you look back on your own journey, what's one insight or lesson you wish you had known when you were just starting out?
I'm a junior Flutter developer who is excited to dive into backend development with Django. As someone new to the field, I'm keen to learn from the experienced Django developers in this community.
Looking back, is there anything in particular you would have approached differently in learning and using the Django framework? What's one piece of advice you wish you could give your beginner self?
I'm especially interested in any insights on:
- Key concepts or techniques that were game-changers in your Django journey
- Resources (books, tutorials, projects) you found invaluable as a beginner
- Common beginner pitfalls to avoid or best practices to adopt early on
- Aspects of Django that were challenging to grasp at first but clicked later on
/r/django
https://redd.it/1ew0i59
Reddit
From the django community on Reddit
Explore this post and more from the django community
Has there ever been a proposal for a zero-argument form of `slice()`?
I'm studying Pandas multi-indexing, which uses `slice(None)` [in some spots](https://pandas.pydata.org/docs/user_guide/advanced.html#using-slicers) and it seems ugly so I started wondering the title.
e.g.
dfmi.loc["A1", (slice(None), "foo")]
vs
dfmi.loc["A1", (slice(), "foo")]
Obviously, five extra keystrokes is not a big deal and this is a relatively niche usage, but I don't see any logical reason [`slice`](https://docs.python.org/3/library/functions.html#slice) shouldn't have a zero-argument form. I mean, the syntactic form, `:` doesn't have any value attached to it, so why should the callable form?
As of now, it mostly follows [`range`](https://docs.python.org/3/library/functions.html#func-range)'s signature, requiring either `stop` or `start, stop, step`.
---
**Edit:** NVM, I just realized you can use a convenience object like Pandas [`IndexSlice`](https://pandas.pydata.org/docs/reference/api/pandas.IndexSlice.html), which gives you syntactic sugar for this ***and*** more complicated indexing.
>>> idx = pd.IndexSlice
>>> idx[:]
slice(None, None, None)
>>> idx[:, ...]
(slice(None, None, None), Ellipsis)
Thus:
dfmi.loc["A1", (idx[:], "foo")]
# or
dfmi.loc["A1", idx[:, "foo"]]
All `IndexSlice` does is expose `__getitem__`:
> class _IndexSlice:
> def __getitem__(self, arg):
> return
/r/Python
https://redd.it/1ew3kvm
I'm studying Pandas multi-indexing, which uses `slice(None)` [in some spots](https://pandas.pydata.org/docs/user_guide/advanced.html#using-slicers) and it seems ugly so I started wondering the title.
e.g.
dfmi.loc["A1", (slice(None), "foo")]
vs
dfmi.loc["A1", (slice(), "foo")]
Obviously, five extra keystrokes is not a big deal and this is a relatively niche usage, but I don't see any logical reason [`slice`](https://docs.python.org/3/library/functions.html#slice) shouldn't have a zero-argument form. I mean, the syntactic form, `:` doesn't have any value attached to it, so why should the callable form?
As of now, it mostly follows [`range`](https://docs.python.org/3/library/functions.html#func-range)'s signature, requiring either `stop` or `start, stop, step`.
---
**Edit:** NVM, I just realized you can use a convenience object like Pandas [`IndexSlice`](https://pandas.pydata.org/docs/reference/api/pandas.IndexSlice.html), which gives you syntactic sugar for this ***and*** more complicated indexing.
>>> idx = pd.IndexSlice
>>> idx[:]
slice(None, None, None)
>>> idx[:, ...]
(slice(None, None, None), Ellipsis)
Thus:
dfmi.loc["A1", (idx[:], "foo")]
# or
dfmi.loc["A1", idx[:, "foo"]]
All `IndexSlice` does is expose `__getitem__`:
> class _IndexSlice:
> def __getitem__(self, arg):
> return
/r/Python
https://redd.it/1ew3kvm
Python documentation
Built-in Functions
The Python interpreter has a number of functions and types built into it that are always available. They are listed here in alphabetical order.,,,, Built-in Functions,,, A, abs(), aiter(), all(), a...
dont know how to fix it Errno 2
hello guys
im some kind of self-taught-programming-student (or whatever) like probably yall have been and im stucked AGAIN with something i rly dont know how to fix.
this problem ocurred when i was starting to practice django framework, reading the documentation and watching some videos to help me.
but then, this happened
https://preview.redd.it/kp4pv3k76ijd1.png?width=694&format=png&auto=webp&s=b0cc328f00079cbef08d3c3e5f7d6845ca302935
and the reason idk how to fix it is because there actually IS a file named manage in that folder/directory as you guys can see
https://preview.redd.it/acsq6dhe6ijd1.png?width=798&format=png&auto=webp&s=f6f08f7a6e781191ea51c803fb76bb980028d5dc
can someone help a rookie? D:
/r/djangolearning
https://redd.it/1evml07
hello guys
im some kind of self-taught-programming-student (or whatever) like probably yall have been and im stucked AGAIN with something i rly dont know how to fix.
this problem ocurred when i was starting to practice django framework, reading the documentation and watching some videos to help me.
but then, this happened
https://preview.redd.it/kp4pv3k76ijd1.png?width=694&format=png&auto=webp&s=b0cc328f00079cbef08d3c3e5f7d6845ca302935
and the reason idk how to fix it is because there actually IS a file named manage in that folder/directory as you guys can see
https://preview.redd.it/acsq6dhe6ijd1.png?width=798&format=png&auto=webp&s=f6f08f7a6e781191ea51c803fb76bb980028d5dc
can someone help a rookie? D:
/r/djangolearning
https://redd.it/1evml07
Do you guys hardcode your backend auth?
So, I'm working on this non-profit project and have just finished the login and registration pages and APIs. I still need to deal with JWT and enhance security. My question is whether you guys hardroll the backend or do u use services like Firebase. However, Firebase is quite expensive, and since it's a non-profit project, I don't have enough funds to support it (I'm using SQLite for the db 💀). I don't anticipate having more than 5,000 users, and I find SQLite easy to use and flexible for starting out. If the user base grows, I can migrate to another database.
/r/flask
https://redd.it/1ew849q
So, I'm working on this non-profit project and have just finished the login and registration pages and APIs. I still need to deal with JWT and enhance security. My question is whether you guys hardroll the backend or do u use services like Firebase. However, Firebase is quite expensive, and since it's a non-profit project, I don't have enough funds to support it (I'm using SQLite for the db 💀). I don't anticipate having more than 5,000 users, and I find SQLite easy to use and flexible for starting out. If the user base grows, I can migrate to another database.
/r/flask
https://redd.it/1ew849q
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Deployment (venv)
Can I upload my flask app in a virtual environment to the server? I'm only finding tutorials that setup python app in cpanel seperately. If someone knows a tutorial that shows how to upload the venv folder only and get it running (if it's even possible), that would be cool, thanks!
/r/flask
https://redd.it/1ewbbpw
Can I upload my flask app in a virtual environment to the server? I'm only finding tutorials that setup python app in cpanel seperately. If someone knows a tutorial that shows how to upload the venv folder only and get it running (if it's even possible), that would be cool, thanks!
/r/flask
https://redd.it/1ewbbpw
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
The most upvoted open issue on matplotlib: "plot and scatter should allow marker to be a list"
I always find it kind of amazing where on the surface trivial issues in huge libraries can be open after many years. Today I encountered another one:
* [matplotlib#11155: plot and scatter should allow marker to be a list](https://github.com/matplotlib/matplotlib/issues/11155)
What the user wants is very simple: Just being able to input a list of markers, like you input a list of colors or a list of sizes, to give every point another marker.
Implementation wise, that proved a lot more difficult due to matplotlib's internal handeling of markers, labels and other stuff. Interesting read!
/r/Python
https://redd.it/1ewdf88
I always find it kind of amazing where on the surface trivial issues in huge libraries can be open after many years. Today I encountered another one:
* [matplotlib#11155: plot and scatter should allow marker to be a list](https://github.com/matplotlib/matplotlib/issues/11155)
What the user wants is very simple: Just being able to input a list of markers, like you input a list of colors or a list of sizes, to give every point another marker.
Implementation wise, that proved a lot more difficult due to matplotlib's internal handeling of markers, labels and other stuff. Interesting read!
/r/Python
https://redd.it/1ewdf88
GitHub
`plot` and `scatter` should allow `marker` to be a list · Issue #11155 · matplotlib/matplotlib
Feature Request It would be great if the plot and scatter functions would allow the marker kwarg to be a list. When using scatter, I can set the color of individual pixels using the c kwarg. c can ...
Expert Django Dev roadmap!!
I have experience in web development more than 3 years. I have worked on following things
1. DRF, for creating RESTful APIs for web and mobile.
2. Celery for running asynchronous tasks.
3. Celery beat for scheduling cron jobs.
4. Authentication with JWT and session.
5. Deployed app to AWS EC2, using Nginx, Gunicorn..etc.
6. Template rendering, Emails, ..etc.
Can I consider myself as Senior in Django. What should I learn next.?
/r/django
https://redd.it/1ew7gsw
I have experience in web development more than 3 years. I have worked on following things
1. DRF, for creating RESTful APIs for web and mobile.
2. Celery for running asynchronous tasks.
3. Celery beat for scheduling cron jobs.
4. Authentication with JWT and session.
5. Deployed app to AWS EC2, using Nginx, Gunicorn..etc.
6. Template rendering, Emails, ..etc.
Can I consider myself as Senior in Django. What should I learn next.?
/r/django
https://redd.it/1ew7gsw
Reddit
From the django community on Reddit
Explore this post and more from the django community
Tuesday Daily Thread: Advanced questions
# Weekly Wednesday Thread: Advanced Questions 🐍
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
## How it Works:
1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.
## Guidelines:
* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.
## Recommended Resources:
* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.
## Example Questions:
1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the
/r/Python
https://redd.it/1ewh8fl
# Weekly Wednesday Thread: Advanced Questions 🐍
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
## How it Works:
1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.
## Guidelines:
* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.
## Recommended Resources:
* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.
## Example Questions:
1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the
/r/Python
https://redd.it/1ewh8fl
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
Troubleshooting Cloudflare Interception and API Request Failures in Python
I've encountered an issue when making POST requests to certain endpoints using Python's requests library. Cloudflare is intercepting these requests, resulting in a 403 Forbidden error. For endpoint A, I've successfully bypassed Cloudflare using the curl_cffi library. However, endpoint B fails even with curl_cffi, resulting in a connection timeout or SSL handshake error instead of the previous 403.
To clarify:
1. This isn't the typical Cloudflare Challenge Page scenario. The error occurs directly upon POST requests to the API endpoint.
2. All required headers and payload are correctly included in the requests.
3. The original request headers don't contain any Cloudflare-specific parameters; these only appear in the response headers.
I'm seeking advice on how to troubleshoot and resolve this issue, particularly for endpoint B. Any insights into potential workarounds or debugging strategies would be appreciated.
/r/Python
https://redd.it/1ewoldw
I've encountered an issue when making POST requests to certain endpoints using Python's requests library. Cloudflare is intercepting these requests, resulting in a 403 Forbidden error. For endpoint A, I've successfully bypassed Cloudflare using the curl_cffi library. However, endpoint B fails even with curl_cffi, resulting in a connection timeout or SSL handshake error instead of the previous 403.
To clarify:
1. This isn't the typical Cloudflare Challenge Page scenario. The error occurs directly upon POST requests to the API endpoint.
2. All required headers and payload are correctly included in the requests.
3. The original request headers don't contain any Cloudflare-specific parameters; these only appear in the response headers.
I'm seeking advice on how to troubleshoot and resolve this issue, particularly for endpoint B. Any insights into potential workarounds or debugging strategies would be appreciated.
/r/Python
https://redd.it/1ewoldw
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
[P] Illustrated book to learn about Transformers & LLMs
I have seen several instances of folks on this subreddit being interested in long-form explanations of the inner workings of Transformers & LLMs.
This is a gap my twin brother and I have been aiming at filling for the past 3 1/2 years. Last week, we published “[Super Study Guide: Transformers & Large Language Models](https://superstudy.guide/transformers-large-language-models/)”, a 250-page book with more than 600 illustrations aimed at visual learners who have a strong interest in getting into the field.
This book covers the following topics in depth:
* **Foundations**: primer on neural networks and important deep learning concepts for training and evaluation.
* **Embeddings**: tokenization algorithms, word embeddings (word2vec) and sentence embeddings (RNN, LSTM, GRU).
* **Transformers**: motivation behind its self-attention mechanism, detailed overview on the encoder-decoder architecture and related variations such as BERT, GPT and T5, along with tips and tricks on how to speed up computations.
* **Large language models**: main techniques to tune Transformer-based models, such as prompt engineering, (parameter efficient) finetuning and preference tuning.
* **Applications**: most common problems including sentiment extraction, machine translation, retrieval-augmented generation and many more.
(In case you are wondering: this content follows the same vibe as the Stanford illustrated study guides we had shared on this subreddit 5-6 years ago about
/r/MachineLearning
https://redd.it/1ew1hws
I have seen several instances of folks on this subreddit being interested in long-form explanations of the inner workings of Transformers & LLMs.
This is a gap my twin brother and I have been aiming at filling for the past 3 1/2 years. Last week, we published “[Super Study Guide: Transformers & Large Language Models](https://superstudy.guide/transformers-large-language-models/)”, a 250-page book with more than 600 illustrations aimed at visual learners who have a strong interest in getting into the field.
This book covers the following topics in depth:
* **Foundations**: primer on neural networks and important deep learning concepts for training and evaluation.
* **Embeddings**: tokenization algorithms, word embeddings (word2vec) and sentence embeddings (RNN, LSTM, GRU).
* **Transformers**: motivation behind its self-attention mechanism, detailed overview on the encoder-decoder architecture and related variations such as BERT, GPT and T5, along with tips and tricks on how to speed up computations.
* **Large language models**: main techniques to tune Transformer-based models, such as prompt engineering, (parameter efficient) finetuning and preference tuning.
* **Applications**: most common problems including sentiment extraction, machine translation, retrieval-augmented generation and many more.
(In case you are wondering: this content follows the same vibe as the Stanford illustrated study guides we had shared on this subreddit 5-6 years ago about
/r/MachineLearning
https://redd.it/1ew1hws
superstudy.guide
Super Study Guide: Transformers & Large Language Models
Illustrated study guide ideal for visual learners who want to learn about Transformers and large language models.
Python's Preprocessor - a deep dive into custom codecs
Here's a short blog post I wrote about Python's barely known yet insanely powerful preprocessing capabilities through the use of custom codecs: https://pydong.org/posts/PythonsPreprocessor/
You can find some examples in https://github.com/Tsche/magic\_codec - please feel free to star the repository if you like these shenanigans :)
/r/Python
https://redd.it/1ewqecv
Here's a short blog post I wrote about Python's barely known yet insanely powerful preprocessing capabilities through the use of custom codecs: https://pydong.org/posts/PythonsPreprocessor/
You can find some examples in https://github.com/Tsche/magic\_codec - please feel free to star the repository if you like these shenanigans :)
/r/Python
https://redd.it/1ewqecv
Pydong
Python’s Preprocessor
Every now and then you hear outrageous claims such as “Python has no preprocessor”.
Looking for a 3D library
Is there a package to transform a moving cam's output into a 3D model of the surroundings?
I have seen a video, a long time ago, of a guy coding something like this live, and plugging a video of his dashcam to model his neighbourhood. But I can't find it.
I want to make a model of my backyard.
/r/Python
https://redd.it/1ewveft
Is there a package to transform a moving cam's output into a 3D model of the surroundings?
I have seen a video, a long time ago, of a guy coding something like this live, and plugging a video of his dashcam to model his neighbourhood. But I can't find it.
I want to make a model of my backyard.
/r/Python
https://redd.it/1ewveft
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Django Rest Framework Vs Flask Vs Fast Api? which one for Api creation as a Django dev?
in my last post,i asked about Django rest framework and alot of people talked about how its bloated and stuff
you should learn something else
i dont have time to experiment so i want a single answer,which one is the best one to get a job as a Django dev?
/r/flask
https://redd.it/1ewu9md
in my last post,i asked about Django rest framework and alot of people talked about how its bloated and stuff
you should learn something else
i dont have time to experiment so i want a single answer,which one is the best one to get a job as a Django dev?
/r/flask
https://redd.it/1ewu9md
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
flask server
Hey guys! Started learning python a couple months back. Made a little chatbot as a project. it got some features like live weather updates, joke of the day and currency conversions.
i wanted to make this chatbot into an interactive website so my friends can interact with it as well. However besides a little HTML, my knowledge on web dev is poor. What should be my next steps to make it into a website?
I tried connecting my backend and front end using a flask server, but when i import my chatbot into my flask server, it starts behaving like the chatbot instead of a web server. Would really appreciate all the advice and ideas
Thanks!
/r/flask
https://redd.it/1ewwldc
Hey guys! Started learning python a couple months back. Made a little chatbot as a project. it got some features like live weather updates, joke of the day and currency conversions.
i wanted to make this chatbot into an interactive website so my friends can interact with it as well. However besides a little HTML, my knowledge on web dev is poor. What should be my next steps to make it into a website?
I tried connecting my backend and front end using a flask server, but when i import my chatbot into my flask server, it starts behaving like the chatbot instead of a web server. Would really appreciate all the advice and ideas
Thanks!
/r/flask
https://redd.it/1ewwldc
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Interview with Sean Law, creator of STUMPY
I interviewed Sean Law about STUMPY, a library for performant time series data mining. STUMPY efficiently computes something called the matrix profile, which is a vector that represents the distances between all subsequences within a time series and their nearest neighbors. It's been downloaded over 9 million times and is used for a variety of data mining tasks.
/r/Python
https://redd.it/1ex34ec
I interviewed Sean Law about STUMPY, a library for performant time series data mining. STUMPY efficiently computes something called the matrix profile, which is a vector that represents the distances between all subsequences within a time series and their nearest neighbors. It's been downloaded over 9 million times and is used for a variety of data mining tasks.
/r/Python
https://redd.it/1ex34ec
Once a Maintainer
Once a Maintainer: Sean Law
The creator of STUMPY, a performant time series data analysis library in Python