Thursday, November 14, 2019

Running dcm4che storescp tool

Dcm4che comes with a compact java implementation of the Store SCP.

You may easily download and run this tool by following:

$ wget -O

$ unzip

$ cd dcm4che-5.19.0/bin

$ ./storescp --accept-unknown --directory /opt/localdrive/dcm4che-dicom-root  --filepath {00100020}/{0020000D}/{0020000E}/{00080018}.dcm -b BMIPACS:4242

Saturday, November 2, 2019

Universities as mentoring organizations

A fraction of the session participants.
(Photo by akram9)
We had several exciting unconference sessions and talks at the Google Summer of Code Mentor Summit 2019. I proposed and coordinated the unconference session titled "Universities as mentoring organizations," the Sunday 20th of October 9:00 - 10:00 a.m., at the room "Studio-2" of Mariott Munich. We had around 25 active participants from multiple organizations, representing several universities from countries including the USA, Russia, Germany, and Brazil. We also had mentors from umbrella organizations such as CBioPortal, which are based mainly on universities and research labs. Later on the same day, I coordinated a session on "The great proposals" at "Studio-3" from 2:30 - 3:30 p.m.
The session notes are recorded in the GSoC notes. Find all the sessions with their notes linked here. In this post, I elaborate on the session "Universities as mentoring organizations" again for a wider audience. These notes are from the thoughts of the mentors from the communities involved in the discussion, and they will reflect the communities involved. Discussions are grouped under topics, rather than by the person who discussed it in detail.

Administrative Challenges from the Universities
The discussions started interactively with self-introductions from the participating mentors and their mentoring organizations. Tiago and Frederico represented their mentoring organization, which is a university in Brazil. They noted the challenges in convincing the university administration to join the GSoC and then accepting payments from Google. Their organization was the first Brazilian university to become a GSoC mentoring organization. The university administration was expecting documents from Google in Brazilian Portuguese to consider them official. The universities expected the supporting documents could come from one of Google's Brazil offices rather than from Mountain View to make the language requirement met. This expectation created some translation requirements, and these cause some additional burden on the GSoC organization administrators. We hope that such issues would be sorted out from the universities, potentially with some help from Google, so that there would be more participation from International (i.e., non-English-speaking) universities as mentoring organizations.

GSoC Students Help Ph.D. Research
There were several observations on how GSoC students help with the implementation of research ideas. Several Ph.D. implementation works remain closed due to implementations with significant technical debt. Support from GSoC helps make the code more readable and reusable, and thus support open science and open-source contributions from the research universities. Hence GSoC students help with the host universities' research open-source. Stephanie from UC Santa Cruz stressed how GSoC helped their Ph.D. and postdoc researchers. She mentioned how the undergrad GSoC students worked with their researchers, and this was a mutually benefitting task. No one felt mentoring as a burden. Instead, they saw it as a way to build their communities. She highlighted that promoting GSoC across the departments would be easy by stressing how the GSoC students help with implementation over the summer, paid by Google. There were observations on developing projects that are helpful to Ph.D. research work. For instance, there are projects that need to get done, but the mentor (Ph.D. student) doesn’t want to do it themselves. GSoC students can be more motivated to do such implementation work, even with little scientific or research impact.

Motivating students into GSoC
Philipp and Karlheinz represented the University of Munich. They highlighted that their Ph.D. students work as GSoC mentors. However, they also stressed that it is hard to motivate students from their university to join GSoC as students due to summer holidays overlapping with the GSoC timeframe. Students do go off on a well-deserved vacation rather than taking a summer internship. Furthermore, there were observations that there are several university open source projects that are not connected to or well-received by general open-source software communities. GSoC is indeed bridging this gap, making the code quality better. I (Pradeeban from EmoryBMI - Emory University, Department of Biomedical Informatics) mentioned how we motivate our students to join GSoC while discouraging them from joining our university/department as their mentoring organization. This is mainly because we want them to build new collaborations. Collaborations inside the university or department do not require a GSoC.

GSoC in professional life
The impact of GSoC is long-lasting. Some of us found our postdoc advisors and employers through GSoC. So GSoC works as a recruiting platform for mentors as well. Furthermore, it fosters international collaborations between universities. We had research papers as outcomes of the GSoC. Nikita from a Russian university stressed the importance of GSoC and similar programs in the students' careers. Sebastian Diaz from Harvard highlighted the misalignment of university projects and open source.  While challenging, programs such as GSoC help fill this gap. Tobias highlights that their target students mostly include Ph.D. students, as they are more suited to work on the proposed projects, involving significant research component. GSoC also helps them get more funding for full-time developers, as it is considered a full-time job for the students.

Best Students Join the Universities
Aadi, a high school student from India, observed how the best students like to work with the universities that function as GSoC mentoring organizations, as this helps them with their future graduate studies and research. The observation is that the mentors from such organizations are professors and experienced researchers from the universities. This is also a mutually beneficial relationship - universities as mentoring organizations get to have the best students. Indeed, a win-win. I joined OMII-UK as a student in 2010 and Emory BMI in 2014 and 2015 (2016 onward as a mentor and then joined 2018 as an employee, and 2019 a postdoc). My interest for OMII-UK was driven by the fact that the EPCC research team from Edinburgh University was part of OMII-UK, where I worked with them on their OGSA-DAI platform for GSoC 2010.

Why not enough open-source from universities?
Arav Singhal, a student from Rice University, stressed he prefers more open-source development in his university. We agreed that a large number of research teams keep their source closed until their paper is published. Even after that, when the code is made public, most of the time, the code is not reusable, as it is usually developed as a prototype with little attention to code readability and engineering best practices. GSoC helps fix this by building up coding skill sets in the students.

Small open source presence in a country
Deniz is from Turkey. He was a GCI student in ScoReLab (an open-source community originated from the University of Colombo, Sri Lanka). He highlighted how Turkey has a small open-source presence. The lack of local open-source communities makes motivating students to join GSoC harder. The challenge starts with introducing open-source and then GSoC, among the potential students. It is essential to create larger local open source communities to build a diverse expanding FOSS contribution.

Universities/Entities collaborating as a single mentoring organization
Werner highlighted the collaboration between multiple universities as a mentoring organization. He observes that sometimes, organizations do not make it explicit enough that the organization is a research department or a collaboration of such entities. Ino from cBioPortal highlighted how hospitals and research institutes collaborate under cBioPortal for the GSoC. He also noted the positive outcomes, including peer-reviewed publications. Mentioning GSoC in CV - both as a student and a mentor - is rewarding. There were suggestions on including open source software development in university curriculums.

Starting a new GSoC organization
Akram, a researcher from the University of Tennessee (Dept. of Bioinformatics), helped his department apply and get selected as a mentoring organization as a new (i.e., first-time) GSoC organization when he moved to the current university as a postdoc from another university. He observes that the GSoC has indeed resulted in peer-reviewed journal publications. He stressed the importance of open source for university. There seems to be a common observation that receiving funding from Google (or any similar company) becomes harder due to the university regulations. We discussed how to start as a mentoring organization. We need to have precise project ideas. Of course, having established open source projects would be a big plus. However, there are also concerns about having mentors and retaining them. How to grow our mentoring community beyond the walls of the department/university? GSoC students-turning-mentors can be a solution. We also need to be clear on the bioinformatics side on what can be open source, as we deal with sensitive health data.

Recruiting Mentors
One challenge to address is how to leverage more departments/mentors from the university. Some of us view it as building the community. This requires a significant effort from the organization administrator, to convince the fellow faculty, postdocs, researchers, and staff to be GSoC mentors. Sometimes, it is faster just to do the development ourselves, rather than mentoring a student to do it. However, such mentoring can be a rewarding experience for early career researchers. We all agreed that GSoC was a productive use of our time and not overhead. We also need a "mentor pool." Projects should have back-up mentors and an active co-mentors. This helps with avoiding mentor burn-out, ensuring successful completion of GSoC.

GSoC as a funding mechanism
Some view GSoC projects as a way to fund implementation activities that other funding entities won’t financially support. For instance, development is often seen as not novel. Therefore, complete implementation and maintenance efforts do not receive sufficient funding from the funding agents. However, such maintenance and incremental developments are crucial for the usability of the project. GSoC helps improve the usability and maintenance of the code.

Did we miss anything? Also, did I fail to include any crucial aspects discussed in the session? Please share your thoughts on this topic as comments.

Friday, November 1, 2019

A few things that made my 2010s interesting..

Cruise to Sthlm from Helsinki, the return trip
We are reaching the end of the 2010s. Easily my most favorite decade in my 3 decades of life. I have the habit of summarizing a year when the year comes to an end, in an annual post, since 2012. This time, I decided to do it for the decade. This post summarizes 30 things that made my 2010s enjoyable.

I graduated with a first-class in Computer Science and Engineering.

Witnessing snowfalls in Paris on my first trip abroad. It was also my best conference experience so far, in terms of social activities.

WSO2 was like a family in those days.

Biyadhoo Island, Maldives
4. Leading the Local GSoC promotion
I did some evangelization around GSoC and open source, touring 7 Sri Lankan universities.

My first solo foreign trip. I also had the DXB -> LAX flight, which is one of the longest non-stop direct flights.

It required me to travel to New Delhi, twice.

Erasmus Mundus single-handedly changed my life.

Bairro Alto, Lisboa, by night
8. Feeling young in Lisboa
We had a group of friends, and we had terrific memories -- especially the first semester. "Portugal" also became the one-word summary of my 2010s.

It was a romantic and remarkable new year celebration.

It was snow everywhere and the first time spending days and nights in a ski resort.

Stockholm was my second city outside Sri Lanka. It was dark in winter. Still, it left many pleasant memories.

Woods of Farsta Strand, Stockholm
12. A Christmas vacation in 3 Nordic countries
Including a cruise to Helsinki from Stockholm, and a flight to Copenhagen from Stockholm and a train to Malmo.

13. London in Winter
It was a pleasant experience presenting the full paper of my MSc thesis. It also marked the successful completion of my MSc.

14. Biennial visits to Shenzhen, China
I enjoyed my visit to Shenzhen every other year, starting from 2014 (2014, 2016, and 2018). 

15. EMJD-DC Ph.D. program
I started my Erasmus Mundus Ph.D. program from Lisboa. This made me stay in Portugal for a total of 6 years (2012 - 2018) - much longer than I ever imagined.
Early dinner in Puerto Penasco, Mexico

16. Crossing to Mexico by land
During the SDS 2015 conference in Phoenix, I started the habit of visiting nearby countries when possible.

17. Spending a summer month exploring the Balcans
It was a short-term scientific mission (STSM) research visit to Croatia. I ended up traveling to nearby countries, Italy, Slovenia, and Serbia during the weekends.

18. Calm and warm Maldives beach
Enjoying a sunny island of Maldives.

19. The Caribbean sea of Nassau
It was fun in the Bahamas, although one day was raining and ruined part of our trip.

Calm waters of Nassau
20. The beautiful Rhodes island in the autumn
I was there in Greece to present my papers. However, the island was too tempting not to explore. The conference was in the Greek touristic island, and it was fun.

21. Chasing snow in Liechtenstein

Determined to witness snow for the Christmas/New year vacation, we traveled all the way from Zurich to Malbun in Liechtenstein, eventually reaching the snow-capped mountains.

22. Daily walks along the beautiful Louvain-la-Neve lake
The Belgian village was self-sufficient with everything we needed.
The Belgian village of Louvain-la-Neuve

23. A train ride from Oslo to the sunny Karlstad
The Swedish town instantly became one of my favorites.

24. When a huge fan of Romanian music finally arrives in Romania
Romania was stylish and much better than what I anticipated. And I love Romanian music.

25. Exploring Saudi life
KAUST was like a country on its own. We enjoyed the canteen food and frequent visits to the cinema.
Atlanta getting ready for Christmas

26. Getting into random buses in Jeju
Yet, we eventually reached the destination!

27.  Thiruvannamalai
This temple is special for me as I always wanted to visit it from my young age. We had a chance to visit Chennai and temples around.

28. Exciting moments in Atlanta
It was a special feeling, becoming a father.
The Red Sea, KAUST, Thuwal, KSA

29. Successfully defending my Ph.D. thesis with a distinction
I had to defend it twice since it is a double degree - first in Portugal and then in Belgium! Now, I am finally done with all my higher studies.

30. The Mentor Summit and the Baltic Adventures
It was quite a packed crazy trip, spanning 5 countries, out of which 3 countries were the Baltic nations that I have never been to before.

I find it exciting how events look different from a longer perspective such as a decade. This is the first time I looked back at a decade. This was also the first decade I was independent on my own, as before I was always with my parents. I hope the 2020s will be more interesting than the 2010s. I am looking forward to the 4th decade of my life!

கரை வந்த பிறகே பிடிக்குது கடலை

When I finally defended my thesis in Lisboa in July this year, I decided to revisit most of Lisboa that I enjoyed during the past 7 years. I even managed to spend 3 nights in Porto, a city that I loved, but I visited only once before - in 2013 summer. I was of the opinion that this departure would make me slowly move away from Lisboa. I knew that I cannot forget Portugal completely, the country that I love the most. However, what I did not know was that I will actually grow more fond of Portugal after my final goodbye. I even started to freshen up my Portuguese knowledge since I always like to learn something and now I am not a student anymore after my Ph.D. defense. Of course, the cultural shock of moving away from Portugal - where almost everyone was nice and kind. After there for 7 years, I had well-aligned myself culturally to Portuguese culture, and arriving in the USA was indeed a cultural shock.

This brings me to the first life of the song "The Life of Ram" from the Tamil movie "96". கரை வந்த பிறகே பிடிக்குது கடலை. நரை வந்த பிறகே புரியுது உலகை. - I started to like the sea only after I reached the shore. I understood the world only after my hair turned gray (a loose direct translation).

7 years ago, I randomly ended up in Portugal, a country that I did not have much clue about (except they conquered the coastal towns of Sri Lanka in 1505, until 1658. Read, Portuguese Ceylon). Now I focus on Portugal. I am confident I will return to the country that I love so much, at some point in my life. Until then, I don't forget you, Portugal, and please don't forget me either. :) Ciao e beijinhos.

Sunday, October 27, 2019

Finally, the Baltic Nations

Riga Food Market
When I lived in Stockholm, I always wanted to visit the neighbor countries such as the Scandinavian nations and Baltic nations. There were cruises between Stockholm and these nations. Even a cruise to Saint Petersburg in Russia is possible without a visa given that we return to our origin by cruise within 72 hours and we remain in Saint Petersburg for our entire stay.

However, I visited only Helsinki by cruise during those days. Somehow I missed the Baltic countries until I left Europe in 2018. This time, I had a chance to fly to Riga, Latvia, during my recent trip to Munich for the GSoC mentor summit. Not only that, we managed to make day trips to Estonia and Lithuania as well. This was also my first time to visit former USSR countries. Baltic countries have nicely transitioned from USSR to EU. Sometimes in the architecture and environment I was still able to feel USSR style. I loved Riga and its Black Balsam. Now I have finally managed to visit all the Baltic nations. They are worth the visit. Make sure to keep them in your bucket list!