junuMoon / everyDayPython

Gotta pump those numbers up. Those are rookie numbers in this racket. I myself, I jerk off at least twice a day. _ Matthew McConaughey in <The Wolf of Wall Street>

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Everyday Python

get a bit of python everyday


Scrapy Tutorial


  • 2021.03.17-2021.03.25

Dynamic Scrapy

  • 2021.03.26
  • how to scrape dynamic web page
  • CDN
  • Proxy

  • 2021.03.26-2021.04.05
  • TDD
    1. Write only enough of a unit test to fail.
    2. Write only enough production code to make the failing unit test pass.
  • BackEnd structure:
    • model
    • database
    • App(API)
    • templates(HTML)
    • static(CSS, JavaScript)
  • JavaScript Asynchoronus
    • Callback, Promise, Async function
  • furthther subject:
    • JavaScript tutorial
    • Node.JS
    • Deploy keras model with flask
    • python advanced
    • TDD
      • w/ python
      • w/ javascript
      • TDD is a hitchhiker's guide to the programming

  • 2021.04.04-
  • First Class Object
  • Closure
  • Decorator: Wow now I can decorate my decorators while I'm using my decorated functions
  • Iterator: object with a state so that where it's at during its iteration.
  • Concurrency: 병렬
  • Asynchronous: 비동기
  • further subject:
    • asynchronous scraping, scrapy
    • unittest, pytest

  • 2021.04.05-
  • to understand the core of DL models, need to have prerequisites knowledge:
    • Statistic
    • Calculs
    • Vector
  • so first, study light just to handle the model w/o deep understanding

  • 2021.04.04-
  • learn linux with war game
  • It interests me a lot

  • 2021.04.03-
  • It's whole different language compared to python!
    • very flowy, I think.

  • 2021.04.10-2021.04.22
  • DB migration: 스키마의 버전관리 방법.
  • Meta Class: 메타클래스는 99%의 사용자는 전혀 고려할 필요가 없는 흑마법입니다. 만약 당신이 이게 정말로 필요할지에 대한 의문을 갖는다면, 필요하지 않습니다. (이게 진짜로 필요한 사람은 이게 진짜로 필요하다고 알고 있으면서, 왜 필요한지에 대해 설명할 필요가 없는 사람들입니다.)
  • Inner Class: Meta 옵션이란 Inner class로 사용하여 상위 클래스에게 meta data를 제공하는것입니다.
  • Property Decorator: 클래스를 사용하는 측면에서는 일반 필드에 접근하는 것처럼 보이지만 내부적으로 getter와 setter 메서드가 호출이 됩니다.

  • 2021.04.24-2021.04.26
  • ORM: Object Relational Mapper
    • SQLAlchemy: sql문법을 전부 파이썬 객체로 맵핑하여 그냥 파이썬 객체의 인스턴스, 메소드를 통해서 구현할 수 있다면 훨씬 더 체계적이고 가독성이 좋을 것이다. 그러한 객체와 기능의 MAPPING을 바로 ORM이라고 한다.
  • route: A decorator that is used to register a view function for a given URL rule.
  • payload: refers to an integral part of each unit of data being transmitted. It is part of the unit data that carries the real message that an app or system needs for it to act.
  • constraint: 제약조건은 결점 없이 정확하고 유효한 데이터가 데이터베이스에 저장될 수 있도록 하기 위하여 데이터를 조작하는데 한계를 규정한 것이다
  • cascade constraint: Delete or update the row from the parent table and automatically delete or update the matching rows in the child table
  • Binary Search Tree:

Hash Table

  • hash function: hash(key) -> index: every time enter Paul to my hash function it always return 3
  • Hashingmeans using some function or algorithm to map object data to some representative integer value.
  • Hashing is efficient to find or store an item in a collection.

  • 2021.04.26-28

  • docker is awesome!

    • why? I dunno yet!
    • but awesome anyway!
  • docker container is upon OS and virtual machine is upon Infrastructure

    • 도커
  • Next step: Microservice using docker


  • 2021.04.28-
  • 마이크로서비스(microservice)는 애플리케이션을 느슨하게 결합된 서비스의 모임으로 구조화하는 서비스 지향 아키텍처(SOA) 스타일의 일종인 소프트웨어 개발 기법이다. 마이크로서비스 아키텍처에서 서비스들은 섬세(fine-grained)하고 프로토콜은 가벼운 편이다. 애플리케이션을 더 조그마한 여러 서비스로 분해할 때의 장점은 모듈성을 개선하고 애플리케이션의 이해, 개발, 테스트를 더 쉽게 해주고 애플리케이션 침식에 더 탄력적으로 만들어 준다.[1] 규모가 작은 자율적인 팀들이 팀별 서비스를 독립적으로 개발, 전개, 규모 확장을 할 수 있게 함으로써 병렬로 개발할 수 있게 한다.[2] 또, 지속적인 리팩터링을 통해 개개의 서비스 아키텍처가 하나로 병합될 수 있게 허용한다.[3] 마이크로서비스 기반 아키텍처는 지속적 배포와 전개(디플로이)를 가능케 한다.[1][[4]

Network programming

  • Following microservice tutorial, there was need to understand the basic of networking

About

Gotta pump those numbers up. Those are rookie numbers in this racket. I myself, I jerk off at least twice a day. _ Matthew McConaughey in <The Wolf of Wall Street>


Languages

Language:Python 97.2%Language:JavaScript 2.1%Language:CSS 0.2%Language:HTML 0.2%Language:TypeScript 0.2%Language:Shell 0.1%Language:Dockerfile 0.0%