Saturday 5 February 2022

Deutschlernen Tracker

Dictionary

Grammar

  • YourDailyGerman
  • Accusative prepositions:  für, ohne, durch, um, gegen
  • Dative prepositions: aus, nach, von, bei, zu, mit, ab, seit, außer
  • Two-way prepositions: use the accusative case when there is a position change from point A to point B; use the dative the rest of the time.
    • Ich bin im Kino.
    • Ich gehe ins Kino.
  • The adverb always comes after the verb.
  • Prepositions with Locations: in (inside, as in classroom), an (near, as in beach), auf (on a surface or at a public building such as bank), bei (specific places, as in Zentralmensa) 
    • an der Universität
  • Adjective endings, http://www.nthuleen.com/teach/grammar/adjektivendungenexpl.html
  • Articles
  • Conjunctions
    • Wenn das Wetter gut ist, dann wandern viele Leute nach Heiligenberg. 
    • Weil das Wetter gut ist, wandern viele Leute nach Heiligenberg. 
    • Viele Leute wandern nach Heiligenberg, obwohl das Wetter schlecht ist.

Vocabulary

  • Ankidroid
  • Clozemaster app

Listening 

  • nachrichtenleicht.de
  • SlowGerman (Annik Rubens Podcast)
    • Was wären wir ohne Internet? SG #238
    • Das Schloss Neuschwanstein – SG #237
    • Arm und reich in Deutschland – SG #223
    • Die Hobbys der Deutschen – SG #218
    • Die Uhrzeit – SG #210
    • SG #192: Online-Shopping
    • SG #147: Die Bahn in Deutschland
    • SG #011: Denglisch
    • SG #009: Bus und Bahn 
    • SG #160: Die Volkshochschule

Writing

Reading

Video Series
  • Nicos Weg 
    • Nicos Weg A1
    • Nicos Weg A2
  • Extr@ (German)
    • EXTRA auf Deutsch - Folge 01 | Sams Ankunft
    • EXTRA auf Deutsch - Folge 02 |
    • EXTRA auf Deutsch - Folge 03 | Sam hat ein Date
    • EXTRA auf Deutsch - Folge 04 | Sam sucht einen Job
    • EXTRA auf Deutsch - Folge 05 | Ein Star ist geboren
    • EXTRA auf Deutsch - Folge 06 |
    • EXTRA auf Deutsch - Folge 07 | Der Zwilling
    • EXTRA auf Deutsch - Folge 08 | Die Kusine der Vermieterin
  • Pluspunkt
  • Kendra's Language School

Friday 4 February 2022

Modern DS Software Development

Team Structure

  • Developers
    • Planning: Agile (SCRUM, Kanban)
    • Coding: version control system (svn, git), integrated development environments (Eclipse, PyCharm)
    • Building: makefile, Maven (pom.xml)
    • Testing: Selenium, HP QTP
  • DevOps: Jenkins
  • Operations
    • Deploy: Docker
    • Operate
    • Monitor: Nagios

Web Development

  • browser: Firefox, Chrome, Safari
  • PL: what to do (Java, JavaScript, Python, Ruby, PHP)
  • HTML: what to show
  • CSS: how to show
  • database: how data is stored (MySQL, Oracle, MongoDB)
  • data format: how data is exchanged (JSON, XML)
  • framework: platform or content-management system (Struts/Java, Meteor/JavaScript, Django/Python, Rails/Ruby, WordPress/PHP, Drupal/PHP)
  • front-end: browser, HTML, CSS, PL
  • back-end: server, database
  • client: user of a web application
  • server: where application is stored
  • protocol: how machines communicate (HTTP)
  • cloud computing services
    • compute power, database storage, DBMS, AI services;
    • SaaS (Google Apps); PaaS (Amazon retail, Flipkart retail); IaaS (Google Drive, Amazon Web Services, Microsoft Azure);Network-as-a-Service or NaaS (Asianet ISP); Data-as-a-Service or DaaS

ELK Stack: ElasticSearch (full-text search engine, run ML); Logstash; Kibana (data analysis and visualization)

Databases

  • Relational (SQL) databases
    • have to have a schema
    • poor horizontal scaling (possibly due to tight coupling between tables)
    • e.g. SQL Server, MySQL
  • NoSQL
    • enables better horizontal scaling (adding new servers, partitions)
    • no need to have a schema (good for constantly evolving data)
    • flexible
    • key-value storage (JSON)
    • e.g. MongoDB, Cassandra
Docker
  • facilitate faster application delivery and deployment; ensure portability by separating application from infrastructure; enables a microservice-based architecture
  • wrap OS, dependencies, configuration, directories and files (and not data) into a single lightweight application
  • follows a client-server architecture; relies on Linux virtualization, cgroups, namespaces
  • use Dockerfile to build a Docker image
    • FROM (choose base image), MAINTAINER (for documentation purpose), RUN (execute commands during image building), CMD (execute commands by the running image), ADD (files to image), ENV (define environment variables), VOLUME, WORKDIR (change working directory), USER
  • save images on (public/private) registry, e.g. Docker Hub
  • run images as a Docker container
  • use volumes for persistent data
  • Docker commands
    > docker pull, push
    > docker create, run, start, kill, rm, stop, commit
    > docker images, rmi, ps, logs

Kubernetes

  • container orchestration platform
  • automatically deploy, manage and scale containerized applications
  • k8s cluster services
  • application configuration (app1.yaml file)

Principles of Rhetorics

Gricean Maxims

The Gricean maxims is a set of four principles for effective communication. When the maxims are followed correctly, the speaker is able to communicate effectively to the listener.

  • According to the Maxim of Quantity, share only the right amount of information that is suitable for the conversation.
  • According to the Maxim of Quality, share only information that is true and supported by sufficient evidence.
  • According to the Maxim of Relevance, share only information that is relevant to the conversation; that is, do not divert from the topic.
  • According to the Maxim of Manner, be clear, unambiguous and orderly while engaging in a conversation.
Bias
  • Algorithmic bias -
  • Inductive bias (or learning bias) - assumptions used by a learning algorithm to make prediction on unseen data e.g. maximum margin in SVMs, test of generalization power using test data, Occam’s razor
  • Cognitive bias
    • Confirmation bias - the tendency to favour information that agrees with previously held beliefs
    • Gender bias, racial bias - the tendency to believe that a certain gender (typically women) and certain races (typically black) are intellectually and physically weak
    • Systemic bias - discrimination inherent in the system e.g. Apartheid
    • Selection bias - the bias introduced by the selection of individuals; bias introduced due to incomplete data e.g. in surveys
    • Stereotyping - the tendency to attribute a certain characteristic to an entire group based on lack of evidence e.g. All Muslims are terrorists. All white people are racists.
    • Survivorship bias - tendency to focus on individuals that survived and overlooking the ones that failed to make it due to their lack of visibility; e.g. WW2 bombers (the others that were shot down), All IITians bag 1Cr packages (the others don’t even make the headlines).
    • Information bias - the tendency to seek information when it does not affect action

Fallacies

These tactics are commonly employed in debates and political speeches to distract the masses or to avoid discussing the topic at hand.

  • Red herring - tool for distraction
    • Straw (weak) man - argument based on a weaker or misrepresented version of the opponent’s position
    • Ad hominem - attack the arguer (1) appeal to motive, (2) appeal to authority, (3) appeal to hypocrisy (whataboutism)
  • cum hoc ergo propter hoc - correlation does not imply causation
  • No true Scotsman - change the generalization by excluding the counterexample
  • Cherry-picking - pointing at individual cases from a population to support one’s argument while ignoring evidence from the population to the contrary
  • Appeal to consequences - argument primarily based on consequences of the argument e.g. caste-based politics (Hindu khatre mein hain!)
  • Appeal to tradition - argument primarily based on premises that are long held to be true e.g. conservatives
  • Appeal to emotion - argument primarily based on manipulation of emotions rather than using valid, logical reasoning e.g. speech by politicians

Ethics and Philosophy

  • Trolley problem: who should I save; how to make this decision; e.g. autonomous driving
  • Tragedy of the Commons: individual goals vs. collective goal; e.g. female infanticide;
  • Prisoner's dilemma: cooperation vs. competition; trust issues;
  • Volunteer's dilemma: should I sacrifice a little to benefit others; e.g. പൂച്ചക്കാര് മണികെട്ടും; 
  • Bystander effect: someone else will do it; e.g. mass emails vs. personal emails; sense of responsibility is tied to presence of bystanders; 
  • Allegory of the cave
  • Principle of double effect: e.g. Is it lawful to kill a person in self-defense?, ധർമ്മസങ്കടം