When mathematics lover meets Computer…

People often ask, why learn mathematics? Where do I apply it? Well this is how mathematics influences you everyday, every minute whenever you click and upload a pic. This post is going to be targeted for those who love mathematics and are mesmerised by its beauty. Today I implemented very simple version of something known as … Continue reading When mathematics lover meets Computer…

Progress Pie Solution in Scala

Disclaimer: I am sharing the solution only after the contest has ended. Let's look at the problem first - Problem Link I am also adding a screen shot of the problem. This problem was given to me for practice by my mentor here at DC Engines on January 9th, 2017. I solved the problem that day … Continue reading Progress Pie Solution in Scala

Complicated xml tags Jsoup

suppose you want to scrape <dc:creator> tag or <media:content>, how do you do it? I am a Scala coder, I am using jsoup in scala. suppose you have an xml file like this (reference from http://www.theguardian.com/politics/rss)- <item> <title> Remain campaigners step up efforts to secure ethnic minority votes </title> <link> https://www.theguardian.com/politics/2016/jun/01/remain-campaigners-eu-referendum-step-up-efforts-to-secure-ethnic-minority-votes </link> <description> <p>Leave camp … Continue reading Complicated xml tags Jsoup