Jan 14, 2019

Nebuchadrezzar II - William Blake

Transposed Convolution

Nice article explaining Transposed-Convolution operation:

Jan 12, 2019

Free GPU for computation :D

Jan 11, 2019

Jan 4, 2019

Software Apocalypse

“Computing is fundamentally invisible, When your tires are flat, you look at your tires, they are flat. When your software is broken, you look at your software, you see nothing.”

In traditional programming, your task is to take complex rules and translate them into code; most of your energy is spent doing the translating, rather than thinking about the rules themselves. 

Bret Victor:
  • “Creators need an immediate connection to what they’re creating.” 
  • I’m not sure that programming has to exist at all or at least software developers.” In his mind, a software developer’s proper role was to create tools that removed the need for software developers. Only then would people with the most urgent computational problems be able to grasp those problems directly, without the intermediate muck of code.
  • Nobody would build a car by hand, code is still, in many places, handicraft. When you’re crafting manually 10,000 lines of code, that’s okay. But you have systems that have 30 million lines of code, like an Airbus, or 100 million lines of code, like your Tesla or high-end cars — that’s becoming very, very complicated.”
  • "the beauty of having a computer turn your requirements into code, rather than a human, is that you can be sure — in fact you can mathematically prove — that the generated code actually satisfies those requirements"

Esterel Technology:
  • ansys-scade-suite: Instead of writing normal programming code, you created a model of the system’s behavior — in this case, a model focused on how individual events should be handled, how to prioritize events, which events depended on which others, and so on. The model becomes the detailed blueprint that the computer would use to do the actual programming.

Margaret Hamilton:
  • "some very low machine language to assembly language. The people at the lowest level were fighting to keep it. And the arguments were so similar: Well how do we know assembly language is going to do it right?”
Leslie Lamport:
  • TLA+ then exhaustively checks that your logic does, in fact, satisfy those constraints. If not, it will show you exactly how they could be violated.
  • Formal methods
Autonomous Car:
  • One suspects the incentives are changing. “I think the autonomous car might push them, In the world of the self-driving car, software can’t be an afterthought. It can’t be built like today’s airline-reservation systems or 911 systems or stock-trading systems. Code will be put in charge of hundreds of millions of lives on the road and it has to work. That is no small task.


Dec 14, 2018

Effective way of reading a book

  • Quit reading if the book doesn't feel right for you
    • don't worry about the sunk-cost
  • Read multiple books - possibly multiple genres - at a time, rather than sequentially
    • remember you did it in your high school
  • Don't put it on the wish-list, start right-away
    • don't expect any delayed gratification
  •  Non-sequential learning
    • skip to chapter that looks interesting -> finish it 
    • "If it was good, I could decide where to go from there. But if it wasn’t, I would know that it’s time to move on."
    • "That’s why I avoid the whole business and self-help category because you generally have one good idea and it’s buried in hundreds or thousands of pages and lots of anecdotes."
  • reference

Dec 10, 2018

Deep learning on time-series

  • RNN: "From my personal experience, recurrent nets are good only when we deal with rather short sequences (10–100 time steps) with multiple variables on each time step (can be multivariate time series or word embeddings)."
  • CNN: Simple 1D convolution filters (by replacing the 2D) on ResNet. "I have benchmarked them a lot of times and they’re mostly superior to RNNs."
  • Autoregressive Feedforward Network: models last N steps using dilated convolution.


  • GAN: "we can rely on deep learning to embed our data into the new space with autoencoders or we can use GANs (generative adversarial networks) as anomaly detectors with exploiting discriminator network as anomaly detector (check more details and code here)
  •  Hybrid: 

Dec 9, 2018

Medium good posts

Nov 24, 2018

Aristotle's take on friendship

"In poverty as well as in other misfortunes, people suppose that friends are their only refuge. And friendship is a help to the young, in saving them from error, just as it is also to the old, with a view to the care they require and their diminished capacity for action stemming from their weakness; it is a help also to those in their prime in performing noble actions, for ‘two going together’ are better able to think and to act."

  • Friendship of utility
    • "this accidental friendship is two parties are not in it for affection. Rather, they’re in it for the benefit each receives from the other. These relationships are temporary: whenever the benefit ends, so does the relationship. Aristotle observed that these relationships of utility were most common among older people."
  • Friendship of pleasure
    • "this accidental friendship is based in pleasure. This kind of relationship, he found, was more common among younger people."
  • Friendships of virtue
    •  "take time and trust to build. They depend on mutual growth."
    •  "is based on a mutual appreciation of the virtues the other person holds dear. In this kind of friendship, the people themselves and the qualities they represent provide the incentive for the two parties to be in each other’s lives. "
Reference: Life is too short for shallow friendships

Nov 20, 2018

Feynman Notebook Method - Cal Newport

[He] opened a fresh notebook. On the title page he wrote: NOTEBOOK OF THINGS I DON’T KNOW ABOUT. For the first but not last time he reorganized his knowledge. He worked for weeks at disassembling each branch of physics, oiling the parts, and putting them back together, looking all the while for the raw edges and inconsistencies. He tried to find the essential kernels of each subject.


Nov 7, 2018

Oct 17, 2018

Oct 14, 2018

A dangerous mind

I'm searching for answers cause something is not right.
I follow the signs, I'm close to the fire.

I fear that soon you'll reveal your dangerous mind.

It's in your eyes, what's on your mind.
I fear your smile and the promise inside.
It's in your eyes, what's on your mind.
I fear your presence, I'm frozen inside.

I'm searching for answers, not questioned before.
The curse of awareness, there's no peace of mind.
As your true colors show a dangerous sign.

- Within Temptation

Oct 13, 2018

The secret intellectual history of mathematics

"Mathematical ideas are some of the most transformative and beautiful in history. So why do they get so little attention?"

Reference: The-secret-intellectual-history-of-mathematics

Oct 11, 2018



Oct 8, 2018

Install latest cmake in ubuntu

Option 1:
Option 2:
Get the latest cmake from https://cmake.org/download 
Then do the following after unzipping the source
$sudo make install
It might not work  if your GCC is old (eg, gcc 4.7) because some functionalities in cmake requires newer gcc (eg, 4.8 or more recent)


install latest gcc on ubuntu

$sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update && \
sudo apt-get install gcc-snapshot -y && \
sudo apt-get update && \
sudo apt-get install gcc-6 g++-6 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && \
sudo apt-get install gcc-4.8 g++-4.8 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8;

When completed, you must change to the gcc you want to work with by default. Type in your terminal:
$sudo update-alternatives --config gcc
To verify if it worked. Just type in your terminal
gcc -v

See my blog post at https://www.application2000.com

Sep 14, 2018

William Masilis on God

"William’s greatest interest is space. In August, the 11-year-old will start studying Physics so he can later study Astrophysics that will eventually help him work at NASA. “My goal is to get my PhD before I turn 18,” he says."

He is aiming for something which took me twice longer :(

Jul 31, 2018

Quantum Vaccum

"...is not ‘nothing’; it is a structured and highly active entity."
- Lawrence Krauss