Notes

What I find interesting

Podcasts

TED: TED's novelty is not a secret. Watch it; you will indeed find an exciting idea.

Talks At Google: Each time, they invite a great person to share their ideas about unconventional topics. They are pretty brave — not shying away from calling people who are critical about Google's activities. You may like to start with Yuval Noah Harari's episode.

Make Me Smart: Topics I love — Economics and Technology — mashed together.

Planet Money: This is an easy listen with unique insights with practical economics lessons and examples.

Linear Digressions: All about machine learning and statistics.

Comics

Calvin and Hobbes: Calvin's view of the world represents an exciting, marvellous vision of the world around him. Hobbes is the perfect companion. Their journey is like two adults taking a world tour in children's body.

Tips and Tricks

Linux Ubuntu

I kept on installing and uninstalling Ubuntu, until I shifted to Mac. This list will help me keep my mind clear of small tricks involving Terminal, if I move again.

1. Use tls for battery preservation.

2. Use gdebi for Debian based installs.

3. Install Dropbox, R, RStudio, TeXLive and Spotify. You'll need them.


LaTeX

  • Bibliography and References: Understand that in most academic writings they are different and Latex considers references as default. To add them, add following lines:

\bibliographystyle{apalike}

\bibliography{bibfile}

at the end of file, just before \end{document}. Don't forget to add \usepackage{natbib} in the preamble. Note that bibfile.bib contains all bibliographies. If you can't get the BibTeX citations right, use Google Scholar.

  • Citations Generator: Use this tool online to generate citations: https://truben.no/latex/bibtex/.

  • Some handy commands: \hfill, \vfill, \hskip, \vskip, \hspace, \vspace. Just Google to know their usage. They're needed for extra spaces here and there in Latex documents.

  • Margins: The easiest way is to add \usepackage[margin=0.5in]{geometry} in the preamble.

  • New Commands: Outline format is \newcommand{newname}{definition}. See this and this for more details.

  • Style File: Basically, they're instructions that can be used to redefine the preexisting values in the document. See my Github for two examples that I've created - one for homework assignments and other for IIM Indore's official presentation.

  • Inserting Images: Use \usepackage{graphicx,graphics} in preamble. Then, here you go.

\begin{figure}

\centering

\includegraphics[width=5in]{example.png}

\caption{An example of fitting \texttt{GP} model in 1-d function with seven data points.}

\label{fig:example}

\end{figure}

  • Inserting tables: Use Table Generator online. Create the schema and then fill in the content.

  • Horizontal Line: \hrulefill for all non-tabular environments.

  • argmin and argmax: Use this in preamble:

\DeclareMathOperator*{\argmax}{argmax}

\DeclareMathOperator*{\argmin}{argmin}

And then, $\underset{x} \argmax f(x)$ or $\underset{x} \argmax f(x)$. This might not be very right according to this thread, but okay – it serves the purpose. If you find something better, tell me.

  • To place pictures exactly in a slide, use tikz package. Exact coordinates by cm:

\begin{tikzpicture}[remember picture,overlay]

%% (x coord, y coord) -> (0 cm, 6.5 cm)

\node[anchor=south west,inner sep=0pt] at ($(current page.south west)+(0cm,6.5cm)$) {

{picture.png}

};

\end{tikzpicture}

The best part is that it also works for exact text placements.

  • Sum (Sigma): $\sum_{i = 1}^{n} x_n$

  • Integral: $\int_a^b f(x) \di x$

  • Other math symbols: Overleaf and Oeis wiki.

  • Templates: Overleaf Gallery is the best. Otherwise, you can find some repositories on Google. If you are searching for reports or presentations, or are an IIM Indore student looking for presentations, check my templates here.

  • Tab: The simple tab (horizontal space) can be worked with \quad.

  • Outer quotes: Latex doesn't understand " as outer quotes. By default, you have to use ``. Here is a way out.

\usepackage [autostyle, english = american]{csquotes}

\MakeOuterQuote{"}

  • Drawing any symbol: It is difficult to find the appropriate symbol every time, so use Detexify to identify what you need.

Quotes that are inspiring

There isn't one quote that I love. Euphemisms and quotes keep me lasting. As Zig Ziglar said, "People often say that motivation doesn't last. Well, neither does bathing - that's why we recommend it daily."

I also made a website using R-Shiny that scraps a random Wikiquote and puts it in a nice background. Check it out!

I have a lot of quotes that I like, or I make them up. I would like to have a collection but keep procrastinating. Starting today, I'll add new quotes, as "the best time to plant a tree was twenty years ago, the second-best time is now."

In no particular order, here are they:


If you want to build a ship, don’t drum up people together to collect wood and don’t assign them tasks and work, but rather teach them to long for the endless immensity of the sea.(Antoine de Saint-Exupéry, The Little Prince)

Pick battles big enough to matter, small enough to win. Jonathan Kozol

The most pitiful among men is he who turns his dreams into silver and gold. —Kahlil Gibran

Don't be too ambitious. Do the most important thing you can think of doing every year and then your career will take care of itself. —Henry Kissinger

Nobody will ever win the battle of the sexes. There is too much fraternising with the enemy. —Henry Kissinger

If all you have is an opinion, then I value the expert over you.

It is double pleasure to deceive the deceiver.

Talents can be overrated.

These relationships aren't real. They are just means to an end.

You can't unfuck what has been fucked.

100% honesty is not the most diplomatic and the safest option with emotional beings.

One miracle at a time, okay sweetie?

Can you differentiate a preferred stock from livestock?

Act as if.

I don't see your face in the mirror every morning.

Three rules of wall street: never play by rules, never tell the truth and never pay by cash.

Rumours are premature facts.

I'm standing in a shitstorm and nobody has got an umbrella.

You got to live in the world you're in. Not the world you wish you were in.

How can you learn from your mistakes, if you can't remember them? (Westworld, S1E1)

Consciousness isn't the journey upwards. It's the journey inwards. It's not a pyramid, it's a maze. (Westworld, S1E1)

You don't choose the things you believe in. They choose you.

None of us are the same as we were a moment ago and we shouldn't try to be.

You're always gonna disappoint somebody. So, fuck it.

The past is just a story we tell ourselves.

Sometimes I feel that I have already felt everything that I'm ever gonna feel.

It's saddening to see we glorify the words people leave behind, yet turn a deaf ear when they scream the same from rooftops.

No one can build their happiness on another's pain.

I loved her, and sometimes she loved me too.

Paradoxically, people like to see their problem solved with some magic while refusing to believe in magic.

There is no goodness in being good.

For a heart, life is simple. It beats as long as it can; and then it stops.

Trust is a perfect shit to ruin.

Falling in love with you was the easiest thing I had ever done.

Don't be the little guy who thinks he knows how to spell banana but doesn't know when to stop.

I'm on my journey to know everything of something and something of everything. Jack of all trades and master of some.

I think logically and write codes for the computers to do the same.

Cleopatra to Antony, "Go, fight that uprising. Be a military leader! Be a Caesar". "I'm no Caesar". - Shakespeare (Antony and Cleopatra)

Life is like a game of Jenga. No matter how well you craft it, eventually, it's going to fall. You might try a ton of strategies and tactics but nothing can prevent it. Not like a jigsaw puzzle that if you try hard and long enough, you will make it.

Enter with a bang and close the door on your way back!

You don't get points for living in pain. - Krishna Das (Pain, Dalai Lama and Hanuman, Spotify Workshop)

...lost in the forests... - Rig Veda