🚀 Building a startup in 1 month with Django/Vue.js! (Daily Vlogs)
https://youtu.be/keG9vjTJGU0
/r/django
https://redd.it/laj5fb
https://youtu.be/keG9vjTJGU0
/r/django
https://redd.it/laj5fb
YouTube
Let's build a Social Network in 1 month (Day 1/28)
tech stack - nuxt.js(vue.js) / django / postgres
code: https://gitlab.com/isaacjoy/chitter.chat
time spent: 2 hours
code: https://gitlab.com/isaacjoy/chitter.chat
time spent: 2 hours
Introducing SHTK - A Python module that makes it easier to replace BASH scripts with Python
The Python Shell Toolkit (SHTK) reduces the effort necessary to rewrite BASH scripts in pure Python. The module strives to provide (almost) the terseness of BASH while allowing programmers to work with modern language amenities such as classes, namespaces, exceptions, argument parsers and package managers. Together these features provide an unmatched ability to integrate third party applications while maximizing potential for code-reuse.
If you have a moment, please check out the showcase examples on the Github page and let me know what you think of the goal, missing features, or use cases you image would benefit from such a tool. I built it for image and container building, for example with Raspberry Pi images or Docker containers.
Documentation, unit tests, linting and coverage reports included.
Links:
https://github.com/jroose/shtk
https://pypi.org/project/shtk/
https://shtk.readthedocs.io/en/latest/
/r/Python
https://redd.it/lah2qv
The Python Shell Toolkit (SHTK) reduces the effort necessary to rewrite BASH scripts in pure Python. The module strives to provide (almost) the terseness of BASH while allowing programmers to work with modern language amenities such as classes, namespaces, exceptions, argument parsers and package managers. Together these features provide an unmatched ability to integrate third party applications while maximizing potential for code-reuse.
If you have a moment, please check out the showcase examples on the Github page and let me know what you think of the goal, missing features, or use cases you image would benefit from such a tool. I built it for image and container building, for example with Raspberry Pi images or Docker containers.
Documentation, unit tests, linting and coverage reports included.
Links:
https://github.com/jroose/shtk
https://pypi.org/project/shtk/
https://shtk.readthedocs.io/en/latest/
/r/Python
https://redd.it/lah2qv
GitHub
GitHub - jroose/shtk: Python Shell Toolkit
Python Shell Toolkit. Contribute to jroose/shtk development by creating an account on GitHub.
How/where to store users' decrypted symmetric keys in session?
Hey all!
I'm working on a bit of a POC Flask app right now, and one thing I'm focusing on is ensuring that 100% of my user-submitted data is encrypted at rest. Currently it looks as follows:
1. Use user password to generate user key with KDF
2. Generate symmetric user key for all data encryption/decryption
3. Encrypt symmetric key with user key
4. Persist encrypted symmetric key to DB
I'm following these steps such that all user data doesn't have to be re-encrypted in the case of a password rotation.
So my question.. I've designed this all such that the entire process is dependent on the user's password, provided at runtime. Naturally, requiring a user to input their password to decrypt their symmetric key every single time I'd need to decrypt and return their data seems like overkill, so I'd like to utilize some type of session.
I've researched this a fair bit online already, and all my research points me towards implementing a server-side session for the user's sensitive data (the decrypted symmetric user key), but this confuses me a bit.. My overall initial intention was to keep no sensitive user data server-side. If the decrypted user keys were found alongside the encrypted user data, there's
/r/flask
https://redd.it/lagm07
Hey all!
I'm working on a bit of a POC Flask app right now, and one thing I'm focusing on is ensuring that 100% of my user-submitted data is encrypted at rest. Currently it looks as follows:
1. Use user password to generate user key with KDF
2. Generate symmetric user key for all data encryption/decryption
3. Encrypt symmetric key with user key
4. Persist encrypted symmetric key to DB
I'm following these steps such that all user data doesn't have to be re-encrypted in the case of a password rotation.
So my question.. I've designed this all such that the entire process is dependent on the user's password, provided at runtime. Naturally, requiring a user to input their password to decrypt their symmetric key every single time I'd need to decrypt and return their data seems like overkill, so I'd like to utilize some type of session.
I've researched this a fair bit online already, and all my research points me towards implementing a server-side session for the user's sensitive data (the decrypted symmetric user key), but this confuses me a bit.. My overall initial intention was to keep no sensitive user data server-side. If the decrypted user keys were found alongside the encrypted user data, there's
/r/flask
https://redd.it/lagm07
reddit
How/where to store users' decrypted symmetric keys in session?
Hey all! I'm working on a bit of a POC Flask app right now, and one thing I'm focusing on is ensuring that 100% of my user-submitted data is...
Question about embedding html audio tags in pandas table in jupyter notebook
https://imgur.com/a/EJEi8vj
I have managed to embed audio in a Pandas dataframe. I do this with a custom HTML5 snippet rather than using the built in IPython.display.Audio since that tends to not accurately display the duration of the wav. This is very useful for analysing WER or reviewing audio batches which you wish to sort by error.
Questions:
1. If I use the full path to the file e.g. /home/username/data/audio.wav it does not work since the path is assumed not to be complete (like a normal href) so it will append http://localhost:8888/ to the front. So this only works with relative paths, is there a way to prevent this?
2. Why does IPython.display.Audio not display the duration correctly? Is this a known issue? What is the difference between using this and native html <audio>, they look very similar.
3. I tried to include a more fancy audio component (had css/js) and it didn't work. It looks like Jupyter is stopping the notebook loading custom files (possibly for security)? Would the correct way to extend this be with a Jupyter extension?
Any help appreciated!
/r/IPython
https://redd.it/la6afm
https://imgur.com/a/EJEi8vj
I have managed to embed audio in a Pandas dataframe. I do this with a custom HTML5 snippet rather than using the built in IPython.display.Audio since that tends to not accurately display the duration of the wav. This is very useful for analysing WER or reviewing audio batches which you wish to sort by error.
Questions:
1. If I use the full path to the file e.g. /home/username/data/audio.wav it does not work since the path is assumed not to be complete (like a normal href) so it will append http://localhost:8888/ to the front. So this only works with relative paths, is there a way to prevent this?
2. Why does IPython.display.Audio not display the duration correctly? Is this a known issue? What is the difference between using this and native html <audio>, they look very similar.
3. I tried to include a more fancy audio component (had css/js) and it didn't work. It looks like Jupyter is stopping the notebook loading custom files (possibly for security)? Would the correct way to extend this be with a Jupyter extension?
Any help appreciated!
/r/IPython
https://redd.it/la6afm
Imgur
ipython -> pandas -> html audio
Post with 2 views. ipython -> pandas -> html audio
7 Ways to Make Money as a Django Developer
Hi :-)
I just published a new video where I talk about seven different ways to make money with Django.
Maybe you’ve been playing around with Django for a while, and now your want to take the next step and make money using it. You might just want a little side income or maybe you want a full time job as a developer.
Anyways, there are many different ways to make money using Django, and in this video I will talk about seven of them.
I would love to get some feedback on this :-)
The video can be found here:
https://www.youtube.com/watch?v=zf6zy\_EoeWs
/r/djangolearning
https://redd.it/laqxy1
Hi :-)
I just published a new video where I talk about seven different ways to make money with Django.
Maybe you’ve been playing around with Django for a while, and now your want to take the next step and make money using it. You might just want a little side income or maybe you want a full time job as a developer.
Anyways, there are many different ways to make money using Django, and in this video I will talk about seven of them.
I would love to get some feedback on this :-)
The video can be found here:
https://www.youtube.com/watch?v=zf6zy\_EoeWs
/r/djangolearning
https://redd.it/laqxy1
YouTube
7 Ways to Make Money as a Django Developer
The are many different ways to make money using Django. In this video, I will talk about 7 ways to make money that I have tried.
Timestamps:
0:00 - Introduction
0:23 - Get a full time job
1:11 - Start freelancing
2:05 - Build a SaaS
3:09 - Build an E-commerce…
Timestamps:
0:00 - Introduction
0:23 - Get a full time job
1:11 - Start freelancing
2:05 - Build a SaaS
3:09 - Build an E-commerce…
Django & React Tutorial For Beginners #3 : Configure CORS Headers And Django REST Framework
https://youtu.be/Co-bXuanfP0
/r/djangolearning
https://redd.it/la5a0x
https://youtu.be/Co-bXuanfP0
/r/djangolearning
https://redd.it/la5a0x
YouTube
Django & React Tutorial For Beginners #3 : Configure CORS Headers And Django REST Framework
@Okay Dexter
#fullstack #django #react #javascript #beginners #corspolicy #restapi
In this video we'll cover the installation & configuration of Django CORS headers & Django REST Framework.
Django REST Framework link : https://www.django-rest-framework.org/…
#fullstack #django #react #javascript #beginners #corspolicy #restapi
In this video we'll cover the installation & configuration of Django CORS headers & Django REST Framework.
Django REST Framework link : https://www.django-rest-framework.org/…
Tesla got nothing on Django! I made my own Django based dashboard for a Python Driving Simulator (CARLA) which reads CAN messages!
https://www.youtube.com/watch?v=j3_ExE04GFs
/r/django
https://redd.it/lapi8p
https://www.youtube.com/watch?v=j3_ExE04GFs
/r/django
https://redd.it/lapi8p
YouTube
How I created a Django Dashboard for CARLA's Virtual CAN Bus (Back-End) | Vehicle Development
Hey guys!
In this video, I will be creating the backend for the Django project from the last video!
This is not a tutorial, but more of a way to show how I approach the project. I am not a Django expert so I'm assuming you are watching this with some basic…
In this video, I will be creating the backend for the Django project from the last video!
This is not a tutorial, but more of a way to show how I approach the project. I am not a Django expert so I'm assuming you are watching this with some basic…
Should you be using Pathlib?
I've been working in Python for four years - recently I made the conscious choice to use
It's been a great experience - I wrote a short piece (friend link) comparing the two libraries on common workflows & tasks done with file paths.
/r/Python
https://redd.it/lapus9
I've been working in Python for four years - recently I made the conscious choice to use
pathlib rather than the more familiar os & os.path.It's been a great experience - I wrote a short piece (friend link) comparing the two libraries on common workflows & tasks done with file paths.
/r/Python
https://redd.it/lapus9
Medium
Should You Use Python pathlib or os?
A duel between two Python path libraries
models.DateTimeField() arguments to add an hour
I'm trying to make a reservation app and I'd like to make a single check in time that automatically creates a checkout time of an hour to hour and a half and I'm having trouble finding the right documentation for it I've tried timedelta but it's not working write either and i don't know what arguments to pass in DateTimeField documentation just shows auto\_now
class Reservations(models.Model):
user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
table = models.ForeignKey(Table, on_delete=models.CASCADE)
check_in = datetime()
bookedTime = 1
check_out = check_in + timedelta(hours = bookedTime)
I've also tried models.DateTimeField() but I'm at a loss when it comes to adding a integer to the hour
/r/django
https://redd.it/lawigl
I'm trying to make a reservation app and I'd like to make a single check in time that automatically creates a checkout time of an hour to hour and a half and I'm having trouble finding the right documentation for it I've tried timedelta but it's not working write either and i don't know what arguments to pass in DateTimeField documentation just shows auto\_now
class Reservations(models.Model):
user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
table = models.ForeignKey(Table, on_delete=models.CASCADE)
check_in = datetime()
bookedTime = 1
check_out = check_in + timedelta(hours = bookedTime)
I've also tried models.DateTimeField() but I'm at a loss when it comes to adding a integer to the hour
/r/django
https://redd.it/lawigl
reddit
models.DateTimeField() arguments to add an hour
I'm trying to make a reservation app and I'd like to make a single check in time that automatically creates a checkout time of an hour to hour and...
[D] Machine Learning - WAYR (What Are You Reading) - Week 105
This is a place to share machine learning research papers, journals, and articles that you're reading this week. If it relates to what you're researching, by all means elaborate and give us your insight, otherwise it could just be an interesting paper you've read.
Please try to provide some insight from your understanding and please don't post things which are present in wiki.
Preferably you should link the arxiv page (not the PDF, you can easily access the PDF from the summary page but not the other way around) or any other pertinent links.
Previous weeks :
|1-10|11-20|21-30|31-40|41-50|51-60|61-70|71-80|81-90|91-100|101-110|
|----|-----|-----|-----|-----|-----|-----|-----|-----|------|-------|
|[Week 1](https://www.reddit.com/4qyjiq)|[Week 11](https://www.reddit.com/57xw56)|[Week 21](https://www.reddit.com/60ildf)|[Week 31](https://www.reddit.com/6s0k1u)|[Week 41](https://www.reddit.com/7tn2ax)|[Week 51](https://reddit.com/9s9el5)|[Week 61](https://reddit.com/bfsx4z)|[Week 71](https://reddit.com/d7vno3)|[Week 81](https://reddit.com/f1f0iq)|[Week 91](https://reddit.com/hlt38o)|[Week 101](https://reddit.com/k81ywb)|||||||||
|[Week 2](https://www.reddit.com/4s2xqm)|[Week 12](https://www.reddit.com/5acb1t)|[Week 22](https://www.reddit.com/64jwde)|[Week 32](https://www.reddit.com/72ab5y)|[Week 42](https://www.reddit.com/7wvjfk)|[Week 52](https://reddit.com/a4opot)|[Week 62](https://reddit.com/bl29ov)|[Week 72](https://reddit.com/de8h48)|[Week 82](https://reddit.com/f8fs6z)|[Week 92](https://reddit.com/hu6zq9)|[Week 102](https://reddit.com/kh27nx)||
|[Week 3](https://www.reddit.com/4t7mqm)|[Week 13](https://www.reddit.com/5cwfb6)|[Week 23](https://www.reddit.com/674331)|[Week 33](https://www.reddit.com/75405d)|[Week 43](https://www.reddit.com/807ex4)|[Week 53](https://reddit.com/a8yaro)|[Week 63](https://reddit.com/bqlb3v)|[Week 73](https://reddit.com/dkox1s)|[Week 83](https://reddit.com/ffi41b)|[Week 93](https://reddit.com/iaz892)|[Week 103](https://reddit.com/kpsxtc)||
|[Week 4](https://www.reddit.com/4ub2kw)|[Week 14](https://www.reddit.com/5fc5mh)|[Week 24](https://www.reddit.com/68hhhb)|[Week 34](https://www.reddit.com/782js9)|[Week 44](https://reddit.com/8aluhs)|[Week 54](https://reddit.com/ad9ssz)|[Week 64](https://reddit.com/bw1jm7)|[Week 74](https://reddit.com/dr6nca)|[Week 84](https://reddit.com/fn62r1)|[Week 94](https://reddit.com/ijjcep)|[Week 104](https://reddit.com/kzevku)||
|[Week 5](https://www.reddit.com/4xomf7)|[Week 15](https://www.reddit.com/5hy4ur)|[Week 25](https://www.reddit.com/69teiz)|[Week 35](https://www.reddit.com/7b0av0)|[Week 45](https://reddit.com/8tnnez)|[Week 55](https://reddit.com/ai29gi)|[Week 65](https://reddit.com/c7itkk)|[Week 75](https://reddit.com/dxshkg)|[Week 85](https://reddit.com/fvk7j6)|[Week 95](https://reddit.com/is5hj9)||
|[Week 6](https://www.reddit.com/4zcyvk)|[Week 16](https://www.reddit.com/5kd6vd)|[Week 26](https://www.reddit.com/6d7nb1)|[Week 36](https://www.reddit.com/7e3fx6)|[Week 46](https://reddit.com/8x48oj)|[Week 56](https://reddit.com/ap8ctk)|[Week 66](https://reddit.com/cd7gko)|[Week 76](https://reddit.com/e4nmyk)|[Week 86](https://reddit.com/g4eavg)|[Week 96](https://reddit.com/j0xr24)||
|[Week 7](https://www.reddit.com/52t6mo)|[Week 17](https://www.reddit.com/5ob7dx)|[Week 27](https://www.reddit.com/6gngwc)|[Week 37](https://www.reddit.com/7hcc2c)|[Week 47](https://reddit.com/910jmh)|[Week 57](https://reddit.com/auci7c)|[Week 67](https://reddit.com/cj0kyc)|[Week 77](https://reddit.com/eb4lxk)|[Week 87](https://reddit.com/gcx3uf)|[Week 97](https://reddit.com/j9cbfs)||
|[Week 8](https://www.reddit.com/53heol)|[Week 18](https://www.reddit.com/5r14yd)|[Week 28](https://www.reddit.com/6jgdva)|[Week 38](https://www.reddit.com/7kgcqr)|[Week 48](https://reddit.com/94up0g)|[Week 58](https://reddit.com/azjoht)|[Week 68](https://reddit.com/cp1jex)|[Week 78](https://reddit.com/ehbfst)|[Week 88](https://reddit.com/glm6sv)|[Week 98](https://reddit.com/jhzz9v)||
|[Week 9](https://www.reddit.com/54kvsu)|[Week
This is a place to share machine learning research papers, journals, and articles that you're reading this week. If it relates to what you're researching, by all means elaborate and give us your insight, otherwise it could just be an interesting paper you've read.
Please try to provide some insight from your understanding and please don't post things which are present in wiki.
Preferably you should link the arxiv page (not the PDF, you can easily access the PDF from the summary page but not the other way around) or any other pertinent links.
Previous weeks :
|1-10|11-20|21-30|31-40|41-50|51-60|61-70|71-80|81-90|91-100|101-110|
|----|-----|-----|-----|-----|-----|-----|-----|-----|------|-------|
|[Week 1](https://www.reddit.com/4qyjiq)|[Week 11](https://www.reddit.com/57xw56)|[Week 21](https://www.reddit.com/60ildf)|[Week 31](https://www.reddit.com/6s0k1u)|[Week 41](https://www.reddit.com/7tn2ax)|[Week 51](https://reddit.com/9s9el5)|[Week 61](https://reddit.com/bfsx4z)|[Week 71](https://reddit.com/d7vno3)|[Week 81](https://reddit.com/f1f0iq)|[Week 91](https://reddit.com/hlt38o)|[Week 101](https://reddit.com/k81ywb)|||||||||
|[Week 2](https://www.reddit.com/4s2xqm)|[Week 12](https://www.reddit.com/5acb1t)|[Week 22](https://www.reddit.com/64jwde)|[Week 32](https://www.reddit.com/72ab5y)|[Week 42](https://www.reddit.com/7wvjfk)|[Week 52](https://reddit.com/a4opot)|[Week 62](https://reddit.com/bl29ov)|[Week 72](https://reddit.com/de8h48)|[Week 82](https://reddit.com/f8fs6z)|[Week 92](https://reddit.com/hu6zq9)|[Week 102](https://reddit.com/kh27nx)||
|[Week 3](https://www.reddit.com/4t7mqm)|[Week 13](https://www.reddit.com/5cwfb6)|[Week 23](https://www.reddit.com/674331)|[Week 33](https://www.reddit.com/75405d)|[Week 43](https://www.reddit.com/807ex4)|[Week 53](https://reddit.com/a8yaro)|[Week 63](https://reddit.com/bqlb3v)|[Week 73](https://reddit.com/dkox1s)|[Week 83](https://reddit.com/ffi41b)|[Week 93](https://reddit.com/iaz892)|[Week 103](https://reddit.com/kpsxtc)||
|[Week 4](https://www.reddit.com/4ub2kw)|[Week 14](https://www.reddit.com/5fc5mh)|[Week 24](https://www.reddit.com/68hhhb)|[Week 34](https://www.reddit.com/782js9)|[Week 44](https://reddit.com/8aluhs)|[Week 54](https://reddit.com/ad9ssz)|[Week 64](https://reddit.com/bw1jm7)|[Week 74](https://reddit.com/dr6nca)|[Week 84](https://reddit.com/fn62r1)|[Week 94](https://reddit.com/ijjcep)|[Week 104](https://reddit.com/kzevku)||
|[Week 5](https://www.reddit.com/4xomf7)|[Week 15](https://www.reddit.com/5hy4ur)|[Week 25](https://www.reddit.com/69teiz)|[Week 35](https://www.reddit.com/7b0av0)|[Week 45](https://reddit.com/8tnnez)|[Week 55](https://reddit.com/ai29gi)|[Week 65](https://reddit.com/c7itkk)|[Week 75](https://reddit.com/dxshkg)|[Week 85](https://reddit.com/fvk7j6)|[Week 95](https://reddit.com/is5hj9)||
|[Week 6](https://www.reddit.com/4zcyvk)|[Week 16](https://www.reddit.com/5kd6vd)|[Week 26](https://www.reddit.com/6d7nb1)|[Week 36](https://www.reddit.com/7e3fx6)|[Week 46](https://reddit.com/8x48oj)|[Week 56](https://reddit.com/ap8ctk)|[Week 66](https://reddit.com/cd7gko)|[Week 76](https://reddit.com/e4nmyk)|[Week 86](https://reddit.com/g4eavg)|[Week 96](https://reddit.com/j0xr24)||
|[Week 7](https://www.reddit.com/52t6mo)|[Week 17](https://www.reddit.com/5ob7dx)|[Week 27](https://www.reddit.com/6gngwc)|[Week 37](https://www.reddit.com/7hcc2c)|[Week 47](https://reddit.com/910jmh)|[Week 57](https://reddit.com/auci7c)|[Week 67](https://reddit.com/cj0kyc)|[Week 77](https://reddit.com/eb4lxk)|[Week 87](https://reddit.com/gcx3uf)|[Week 97](https://reddit.com/j9cbfs)||
|[Week 8](https://www.reddit.com/53heol)|[Week 18](https://www.reddit.com/5r14yd)|[Week 28](https://www.reddit.com/6jgdva)|[Week 38](https://www.reddit.com/7kgcqr)|[Week 48](https://reddit.com/94up0g)|[Week 58](https://reddit.com/azjoht)|[Week 68](https://reddit.com/cp1jex)|[Week 78](https://reddit.com/ehbfst)|[Week 88](https://reddit.com/glm6sv)|[Week 98](https://reddit.com/jhzz9v)||
|[Week 9](https://www.reddit.com/54kvsu)|[Week
19](https://www.reddit.com/5tt9cz)|[Week 29](https://www.reddit.com/6m9l1v)|[Week 39](https://www.reddit.com/7nayri)|[Week 49](https://reddit.com/98n2rt)|[Week 59](https://reddit.com/b50r5y)|[Week 69](https://reddit.com/cvde5a)|[Week 79](https://reddit.com/entcxy)|[Week 89](https://reddit.com/gu5t0d)|[Week 99](https://reddit.com/jqjgo2)||
|[Week 10](https://www.reddit.com/56s2oa)|[Week 20](https://www.reddit.com/5wh2wb)|[Week 30](https://www.reddit.com/6p3ha7)|[Week 40](https://www.reddit.com/7qel9p)|[Week 50](https://reddit.com/9cf158)|[Week 60](https://reddit.com/bakew0)|[Week 70](https://reddit.com/d1g1k9)|[Week 80](https://reddit.com/euctyw)|[Week 90](https://reddit.com/hddf7j)|[Week 100](https://reddit.com/jz3evt)||
Most upvoted papers
/r/MachineLearning
https://redd.it/l9lvgs
|[Week 10](https://www.reddit.com/56s2oa)|[Week 20](https://www.reddit.com/5wh2wb)|[Week 30](https://www.reddit.com/6p3ha7)|[Week 40](https://www.reddit.com/7qel9p)|[Week 50](https://reddit.com/9cf158)|[Week 60](https://reddit.com/bakew0)|[Week 70](https://reddit.com/d1g1k9)|[Week 80](https://reddit.com/euctyw)|[Week 90](https://reddit.com/hddf7j)|[Week 100](https://reddit.com/jz3evt)||
Most upvoted papers
/r/MachineLearning
https://redd.it/l9lvgs
reddit
[Discussion] Machine Learning - WAYR (What Are You Reading) - Week 19
This is a place to share machine learning research papers, journals, and articles that you're reading this week. If it relates to what you're...
I made a game in 1 minute in Python
Yes, seriously. Yes, from scratch. But yes, not unprepared.
Video | Source code (skip to 0:59 to skip the intro/context)
Yes, it is quite simple, but provided such a short amount of time, the game turns out to be surprisingly fun. And it also takes much more time to complete the game than to create it:) It’s probably not very educational, but it’s interesting to know that it can be done. Any feedback on the video and ideas regarding the game are appreciated. I am also curious if anyone knows the optimal strategy for this game. There are actually two (possibly different) optimal strategy questions here:
1. Strategy for minimum average number of turns
2. Strategy for minimum worst-case number of turns
/r/Python
https://redd.it/lb1p1u
Yes, seriously. Yes, from scratch. But yes, not unprepared.
Video | Source code (skip to 0:59 to skip the intro/context)
Yes, it is quite simple, but provided such a short amount of time, the game turns out to be surprisingly fun. And it also takes much more time to complete the game than to create it:) It’s probably not very educational, but it’s interesting to know that it can be done. Any feedback on the video and ideas regarding the game are appreciated. I am also curious if anyone knows the optimal strategy for this game. There are actually two (possibly different) optimal strategy questions here:
1. Strategy for minimum average number of turns
2. Strategy for minimum worst-case number of turns
/r/Python
https://redd.it/lb1p1u
YouTube
I made a game in 1 minute (no clickbait)
Is it possible to make a simple yet complete game from scratch in just 1 minute? Yes!
Watch how I made a game in 21 seconds next: https://youtu.be/r3a9obNqno4
Here is the code of the game:
https://gist.github.com/nns2009/5fa80687ca6c3cab0c1ccc28d3e898ad…
Watch how I made a game in 21 seconds next: https://youtu.be/r3a9obNqno4
Here is the code of the game:
https://gist.github.com/nns2009/5fa80687ca6c3cab0c1ccc28d3e898ad…
I've written a guide on how to use Win32 APIs to monitor USB drives on Windows and performing automated tasks with Python
https://abdus.dev/posts/python-monitor-usb/
/r/Python
https://redd.it/lb2gj6
https://abdus.dev/posts/python-monitor-usb/
/r/Python
https://redd.it/lb2gj6
abdus.dev
Detecting USB drive insertion & removal on Windows using Python - abdus.dev
Monitor new drives on Windows and perform tasks
[AF] How to have multiple object input with ability to add / delete rows?
I'm sorry if this has been asked before (I did some searching on this subreddit and googling already), but I am running into some issues with trying to use flask. Most of my background is in backend development, and the front end experience that I do have is exclusively in SalesForce (both VisualForce and Lightning), so it doesn't exactly help me much in this situation. That being said, since SalesForce isn't exactly like most other web development, I am not sure how much of my issues are about my lack of regular web development knowledge vs. just not knowing flask, so any help would be appreciated!
I am currently trying to build a Web Application that will do the following:
1. User uses a unique URL with a unique ID that is previously generated.
2. Using the Unique URL, we grab some information about the user to display (email, project, etc.).
3. We also create an instance of an object that the user will enter information on. This object can just be called process_step, and is used to track steps of a process that the user has taken thus far.
4. Render the template with one instance on the page for the user to enter
/r/flask
https://redd.it/lb0813
I'm sorry if this has been asked before (I did some searching on this subreddit and googling already), but I am running into some issues with trying to use flask. Most of my background is in backend development, and the front end experience that I do have is exclusively in SalesForce (both VisualForce and Lightning), so it doesn't exactly help me much in this situation. That being said, since SalesForce isn't exactly like most other web development, I am not sure how much of my issues are about my lack of regular web development knowledge vs. just not knowing flask, so any help would be appreciated!
I am currently trying to build a Web Application that will do the following:
1. User uses a unique URL with a unique ID that is previously generated.
2. Using the Unique URL, we grab some information about the user to display (email, project, etc.).
3. We also create an instance of an object that the user will enter information on. This object can just be called process_step, and is used to track steps of a process that the user has taken thus far.
4. Render the template with one instance on the page for the user to enter
/r/flask
https://redd.it/lb0813
reddit
[AF] How to have multiple object input with ability to add /...
I'm sorry if this has been asked before (I did some searching on this subreddit and googling already), but I am running into some issues with...
Full Course - Financial Data Analysis with Python - Part 1 of 8 - Technical Analysis with DataFrames - Use DataFrames to load historical stock price data, Similarities with DataFrames and Excel, Learn about loc and iloc on DataFrames
https://youtu.be/m8ahf_c9hEc
/r/Python
https://redd.it/lb08fj
https://youtu.be/m8ahf_c9hEc
/r/Python
https://redd.it/lb08fj
YouTube
Financial Data Analysis with Python | 2h Full Course | Part 1/8 | Technical Analysis with DataFrames
A full 2-hour Python course to get you started with Financial Analysis.
Get a 21 hours Python for Finance course 👉 https://lpwr-academy.com/p/python-for-finance-financial-analysis-for-investing
Python for Finance course
✔️ Learn Python for Finance with…
Get a 21 hours Python for Finance course 👉 https://lpwr-academy.com/p/python-for-finance-financial-analysis-for-investing
Python for Finance course
✔️ Learn Python for Finance with…
🚀 Building a Startup with Django + Javascript in 1 month! (Daily Standups)
https://www.youtube.com/watch?v=nfeMoN6fyKo&feature=youtu.be&ab_channel=IsaacJoy
/r/django
https://redd.it/lbb09a
https://www.youtube.com/watch?v=nfeMoN6fyKo&feature=youtu.be&ab_channel=IsaacJoy
/r/django
https://redd.it/lbb09a
YouTube
Let's build a Social Network in 1 month (Day 2/28)
tech stack - nuxt.js(vue.js) / django / postgres
code: https://gitlab.com/isaacjoy/chitter.chat
time spent: 3 hours
code: https://gitlab.com/isaacjoy/chitter.chat
time spent: 3 hours
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/lbaf2s
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/lbaf2s
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
How to store a blog post ?
So I've seen many tutorials about blogs but they always make a model called blog which has an author field a title filed...etc , but what if i have a big blog that has multiple images nested in the text of the blog for example, how the model should look like?
and how to preserve the order of the images when i use them in the frontend?
/r/djangolearning
https://redd.it/lb8kib
So I've seen many tutorials about blogs but they always make a model called blog which has an author field a title filed...etc , but what if i have a big blog that has multiple images nested in the text of the blog for example, how the model should look like?
and how to preserve the order of the images when i use them in the frontend?
/r/djangolearning
https://redd.it/lb8kib
reddit
How to store a blog post ?
So I've seen many tutorials about blogs but they always make a model called blog which has an author field a title filed...etc , but what if i...
Make your own streaming video sharing app
https://medium.com/dev-genius/how-to-make-your-own-streaming-video-sharing-app-using-python-93bb57bcf584
/r/Python
https://redd.it/lbjami
https://medium.com/dev-genius/how-to-make-your-own-streaming-video-sharing-app-using-python-93bb57bcf584
/r/Python
https://redd.it/lbjami
Code Review
Hello fellow Djangoers! I'm posting a GitHub Gist in hopes that you will review it! I'm always really curious how people go about organizing Django apps. For instance in the add_promotion method I originally had the get object in the method itself, but then I decided to move it out. How would you go about organizing this? Please help!
https://gist.github.com/glosta/a4b6ce2291b2faf4708f3473a93ff317
/r/django
https://redd.it/lb73h6
Hello fellow Djangoers! I'm posting a GitHub Gist in hopes that you will review it! I'm always really curious how people go about organizing Django apps. For instance in the add_promotion method I originally had the get object in the method itself, but then I decided to move it out. How would you go about organizing this? Please help!
https://gist.github.com/glosta/a4b6ce2291b2faf4708f3473a93ff317
/r/django
https://redd.it/lb73h6
Gist
Add Promotion
Add Promotion. GitHub Gist: instantly share code, notes, and snippets.