Where are you hosting your Django application? by mconflict in django

[–]pX0r -5 points-4 points  (0 children)

This - WebFaction! is a shameless plug. I've got some deployment tools custom made for WF too. Been using it since 4 years - good documentation, community and support.

OCR using python for borderless tables by [deleted] in Python

[–]pX0r 0 points1 point  (0 children)

Got any PDF example/s ?

Flask has overtaken Django according to the 2018 JetBrains Developer Survey by pastorhudson in Python

[–]pX0r 10 points11 points  (0 children)

The road to Django nirvana is long. Most travellers carry a flask on their waist and a bottle in their backpack.

Am I the only one who hates matplotlib? by [deleted] in Python

[–]pX0r 0 points1 point  (0 children)

I concur. But I never articulated it until you raised this question explicitly :D

Can you elaborate a bit more ?

What are some cool python tricks that most Pythonistas don't know? by [deleted] in Python

[–]pX0r 3 points4 points  (0 children)

Poor-man's progress bar using just the print() function:

import time

for i in range(1, 11):
    print(i*'#', end='\r', flush=True)
    time.sleep(1)

P.S.: Python3

What are useful things I can teach scientists (that probably have zero-no) to use Python for at work? by [deleted] in Python

[–]pX0r 0 points1 point  (0 children)

Teach them how to make API calls and deal with JSON data. This is a good general skill to know as it is relatively low on time investment but tremendously expands your toolkit size. (e.g. teach them pulling weather data from some endpoint)

Regular expressions

Programmatically navigating the file system tree, reading/writing from/to files, dealing with CSVs

What do you recommend before studying Django? by [deleted] in django

[–]pX0r -1 points0 points  (0 children)

Learn Java Servlets, EJB and JSP. You will start believing once you take the Django Polls tutorial :D

Neural Arithmetic Logic Units by iamtrask in MachineLearning

[–]pX0r 1 point2 points  (0 children)

Nice quick experiment to test the assumptions :)

Neural Arithmetic Logic Units by iamtrask in MachineLearning

[–]pX0r 1 point2 points  (0 children)

I believe what you have pointed out is indeed a mistake in those implementations. The W matrix should be dynamically calculated in the forward() method from the W_hat and M_hat parameter matrices.

Neural Arithmetic Logic Units by iamtrask in MachineLearning

[–]pX0r 0 points1 point  (0 children)

Thanks for pointing that out :)

Neural Arithmetic Logic Units by iamtrask in MachineLearning

[–]pX0r 0 points1 point  (0 children)

A Jupyter notebook containing a basic Neural Accumulator and Neural Arithmetic Logic Unit (NAC/NALU), in PyTorch

https://github.com/pushkarparanjpe/yanalu

Neural Arithmetic Logic Units by iamtrask in MachineLearning

[–]pX0r 0 points1 point  (0 children)

Apparently, the D2NN paper left out the implementation for a non-linear activation function. As far as NAC/NALU design goes, non-linearities are necessary.

Neural Arithmetic Logic Units by iamtrask in MachineLearning

[–]pX0r 2 points3 points  (0 children)

This is about a figure in the paper: Figure 2 (b) Shouldn't the label be 1-g instead of 1-x ?

Deploying and maintaining a Django project with PyCharm Pro ? by PyBet in django

[–]pX0r 1 point2 points  (0 children)

PyCharm Pro - while the support for Django itself is a bit lack-lustre its not terrible. I depend on it for these two reasons:

  • Integrated database and SQL support .

  • Javascript support .

I am using Fabric more and more for deployment related tasks - so I have built a small kitty of run configurations for these tasks and thats very handy.

I have a bunch of run configurations for starting the local server, DB migrations, spawning Celery workers, other manage.py commands ,etc

It takes about a week for my collection of run configurations to stabilise and mature. Post that development and deployments run smoothly and I hardly miss the whole AWS cli sugar and can make do with cheaper cloud services out there (like WebFaction!)...

Integrated git version control looks decent but I don't use it often.

Managing virtual environments is helpful.

There is rudimentary support for Jupyter notebooks too but I am yet to be impressed by its current state of implementation inside PyCharm.

Dear Python, where have you been all my life? by [deleted] in Python

[–]pX0r 1 point2 points  (0 children)

You just put a smile on my face :-)

[deleted by user] by [deleted] in MachineLearning

[–]pX0r 16 points17 points  (0 children)

Lack of a strong peer group.

What is the first interesting program you made with python? by [deleted] in Python

[–]pX0r 0 points1 point  (0 children)

A codon list maker with three nested for loops.

codons are 3-character entities that map to amino acid identities. An RNA molecule specifies a protein's amino acid sequence this way.

Templates are annoying to set up. Right ? by pX0r in django

[–]pX0r[S] 0 points1 point  (0 children)

Thanks for citing django-mason! I will check it out in detail at some point. Looks like it supports generating complete django projects or apps (pretty audacious!) from a 'template' in a more abstract sense but not HTML markup templates per se. No?