04 Mar 2018

ಠ_ಠ!!! Freelancer


Python:

Distutils (packaging framework since Python3)

  • Official guide
  • build tool for maintainer
  • installation tool for end users
  • package metadata for search engines
  • integrates with PyPI (Python Package Index)

    setup.py should be as standard (boring) as possible

    Put Codes to PyPI: tutorial

  • Create private an account on PyPI
  • And follow the tutorial
  • Perhaps this would be helpful resolving distutils repo url migration problem
  • But Errors like “HTTPError: 400 Client Error: Invalid file extension” would follow by using twine upload dist/* – we have to say goodbeye to dist/SOMENAME.exe which is for Windows’ user’s graphical user-friendly installation
  • Check https://pypi.org/project/YOURAWESOMEPROJECT/ This is how I did it
      # Create ~/.pypirc with
      [distutils]
      index-servers = pypi
        
      [pypi]
      repository: https://upload.pypi.org/legacy/
      username: YOURUSERNAME
      password: YOURPASSWORD
        
      # Python 2.7 in use
      $ python setup.py sdist upload
    
      # Annnd you may want to remove ~/.pypirc cauz it's plaintext
    

JavaScript:

Chrome extensions

Vim:

ignore E501 in flake8

  • let g:syntastic_python_flake8_args=’–ignore=E501’

    Go last write

  • :earlier 1f

ML:

An article full of insights and pratical experience

  • Quote – “It is important to know when error is caused by bad things in the data rather than caused by improperly fitting to the data”

    Damn son! This is so awesome!

Murmur:

OK, thers’s a thing called Software release lifecycle

You dont know when you simply dont – you’re not gonna aware of yourself as an paramecium whenever you are.

Songs: