Veljko Skarich

software engineer @twitter also have been known to enjoy programming, the world wide web, foreign affairs, languages, history, political economy and good eats.


A visit home

some thoughts on my hometown of Torrance, pt. 1


The east coast has often had eruptions of rancor toward California in general, and Los Angeles in particular—on this visit to my hometown of Torrance, I shared that aversion more than ever before, but not for all of LA, just my little Torrance. Can we ever stop being reminded that Gertrude Stein famously…


Big bedroom in mission apartment. $1000.

We’ve heard a lot about the rising rents in San Francisco. Sad and terrifying stories of the elderly being put on the street. The exodus of creatives and long-time neighborhood personalities. Entire neighborhoods depopulated, decades of culture and social ties swept away. Social services and non-profits, shuttered by rising rents, leaving the…


Using Maps, flatMaps and for’s in Scala with Options

Here is a straightforward guide to when to use map, flatMap and the for comprehension in Scala, to handle options. In one sentence: for processing 3 or more nested options, use a for comprehension; for two options use a flatMap, for one option use a map.

For the three option case, this is what we would have to deal…


A visit home

some thoughts on my hometown of Torrance, pt. 1


The east coast has often had eruptions of rancor toward California in general, and Los Angeles in particular—on this visit to my hometown of Torrance, I shared that aversion more than ever before, but not for all of LA, just my little Torrance. Can we ever stop being reminded that Gertrude Stein famously…

Recommended by Veljko Skarich