Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
How difficult is it and how long does it take to become a remote Django developer?

I’ve been studying Django on and off for the past year or so. I’m hoping to become a django fullstack developer as soon as possible. For those who were able to become a remote developer, can you shed some light on your experience and the route you took? Is it difficult to become a remote developer and how long did it take you to become that?

Also, what stack are you on? Is it easier to become a django backend and do JavaScript angular/react etc front end instead of doing just Django for both?


I’d like to travel and work at the same time so any tips or advices would be appreciated.

/r/django
https://redd.it/apae3w
[D] Are we expected to solve hard programming challenges to work in ML/DL industry?

Lots of tech companies hire people based on programming challenges. People [quit their job](https://medium.freecodecamp.org/why-i-studied-full-time-for-8-months-for-a-google-interview-cc662ce9bb13) to dedicate months preparing for an interview. [Cracking the Code Interview](https://www.amazon.com/Cracking-Coding-Interview-Programming-Questions/dp/0984782850) is the #1 best-selling book in programming and software development. Even if a person has a strong experience in developing real-world software, they [may fail an interview](https://twitter.com/mxcl/status/608682016205344768) because of a CS/coding question.

I understand that there is a correlation between people that can solve these challenges and people that can do real-world software engineering, but I believe that this correlation is not as strong as companies believe. People may just overfit to these challenges and get a job without getting their hands dirty in real software development.

Enough of my rant.

I work as a ML/CV software engineer in the same company for five years. I did not have a single interview in the meantime. I'm considering applying to another job and I'm worried about the coding challenge interviews. I can produce well-written and maintainable code. I can understand, discuss, and implement recent advances in computer vision. But give me a simple data-structure interview challenge and I will struggle to solve it without looking at some references.

Am I expect to solve hard programming challenges during interviews for

/r/MachineLearning
https://redd.it/ap4knu
[P] Introducing Silas: a fast, accurate and dependable binary classifier

Hi fellow data enthusiasts,

​

For a few months now, we've been working on a new binary classifier based on ensemble decision trees with a strong emphasis on dependability. Today, we are proud to present to you our new classification tool -- Silas, now available on Windows, Mac and Linux for free!

​

Fast and accurate, Silas provides you with the ability to formally verify properties of its predictive models as well as the ability to enforce them during learning.

​

We invite all data enthusiasts with structured datasets to try it out! We greatly appreciate all your feedback!

​

[Download](https://www.depintel.com/silas_download.html)

[Documentation](https://www.depintel.com/documentation/_build/html/index.html)

[Get started](https://www.depintel.com/documentation/_build/html/tutorials/basic.html)

/r/MachineLearning
https://redd.it/apau7n
How can I remove the 'static/' from URLs of static files?

I have my images and icon files in a folder called `static`. This is for internal organization.

Publicly, the URLs for these files are like this:

example.com/static/icon/favicon.ico

But I want them to be like this:

example.com/icon/favicon.ico

How can I achieve this?

/r/django
https://redd.it/apd802
7 years of Programming, starts from this book

Hello Redditors,

7 years ago, I was a college student. My college doesn't teach me advance programming, but only basic of all programming language ( I learn from QBASIC, Visual Basic, Java, Cobol, C, C++, and more).

I love C/C++ back then, but I found some barrier while learning it. The barrier is: Different compiler and preprocessor while using different OS.

So I decided to learn one language that running in all platform. The first choice is Perl. I love because I can simplify and "code golfing" while code. But Perl is not my answer, because after 1 week writing the code, I forgot why I wrote in that way. I create many vapor code using Perl.

So, I need other solution for it. And my choice is Python.

​

My college doesn't teach me Python, so I decided to **pirate** [this book](https://www.amazon.com/Learning-Python-5th-Mark-Lutz/dp/1449355730). For 1 month and 2 weeks, I learn that e-book.

I also create some script for my private hobby (scrapping from online manga, automation file clean up), and much more.
After about 6 month practice with Python, I try to apply programming job using the knowledge I know.

For about 2 years works after that, I finish my college also pay all my college

/r/Python
https://redd.it/apehzq
Thoughts on using Django as a backend for a React/React Native location based app?

**Background**

I am more proficient in Django, and have begun looking into React in the past week. It looks like an exciting way to create a rich UI/UX + the ability to easily port to a native mobile experience with React Native. The tradeoff appears to be the added complexity that React brings to front end development (at least initially - I'd love some thoughts on this).

​

**My app**

* Will have a web interface
* However 95% of the usage will be from native mobile apps that would make requests back to the server
* 99% of my data will be geo spatial in nature - points & routes - so I was thinking of leveraging GeoDjango
* The app will be using location data intensively (pinging user location like every 5 minutes for hours).

​

**My question**

Does it make sense to use Django + Postgres for the backend/db to ultimately a mainly react/mobile experience? Or should I look more towards a full JS option? I have no idea what JS server framework I'd use, I am just raising the question to make sure I'm not missing a better solution to my problem.

​

Thanks in advance for your thoughts -

/r/django
https://redd.it/apgky8
Here we go

/r/Python
https://redd.it/apndyq
Using Alembic to migrate money stored in Dollars as Floats to Money stored in Cents as BigInt?

I think the title says it all, but I really don't want to mess with this stuff without some sort of verdict.

I need to transfer some pricing data, currently stored as Floats, into BigInts using alembic.

I know HOW to do the migration, in the sense that I know how to change the floats to bigints - but what about the users who have their data stored as Floats currently - what's going to happen?

Is it possible to use alembic to transform those floats by some simple Python script (say like, int(old_value*100)) in my Alembic upgrade?

Thanks!

/r/flask
https://redd.it/apnjvs
Image won't render with copy-pasted code unless I go to Edit > Insert Image

Hello everyone, I was trying to render an image by copying the code

![1.png](attachment:1.png)

and pasting it to my cell however nothing happens. It's only when I manually do Edit > Insert Image that it works... Is there a way to make images load through code?

Also can I make it like `![](attachment:1.png)` instead?

Thanks!

/r/IPython
https://redd.it/appegh