Random Wits

Life is too short for a diary

Random

$ random stuff
├── my bookshelf
    ├── resources
    └── quotes
    └── about me
say Hello

Twitter

 

Back to Top


Sat 11 Apr 2020

Demon Haunted World's review part 1

This is my Part 1 of the review of Carl Sagan's book, Demon-Haunted World. This is more of my commentary rather than a review of the book.

I have begun to realize how many posts on Facebook, Whatsapp, etc contains pseudoscience & misinformation. Few posts are easy to debunk. Magic water curing cancer is a no-brainer. However other posts are too meticulous to debunk. I thought it might be fruitful for me as a layman to learn critical & skeptical thinking from a famous astrophysicist, Carl Sagan. ..

Continue reading → Tags : pseudoscience carl sagan books review cfc religion


Fri 20 Mar 2020

Connecting to Oracle database form Scala using JDBC for large data

I was looking to write a scala script to fetch large data from Oracle database. I was earlier using the Alteryx software to fetch data (around 1 million rows) from oracle which took around 7 minutes. Licensed softwares like Alteryx or Informatica, etc are great, but I was looking for a free solution.

We need ojdbc6.jar to connect to the Oracle 12 c database. We will create a Scala script to fetch data from the oracle database & save it to the output file (CSV format)...

Continue reading → Tags : jdbc scala oracle database


Sun 08 Mar 2020

Sleeping At Night

It feels great to sleep at night. I have a small but a cozy room. It’s not lavish or splending. It doesn’t even hoard much furniture. However it’s as peaceful as it can get.

I wonder about those unfortunate people who couldn’t sleep at night. Some of them are stuck in war-torn countries. Around 150 million people are homeless in the world. Astonishing 1.6 billion people don’t have proper housing. That’s 20 percent of the entire human population...

Continue reading → Tags : sleep rambling human rights