Dmitry Leskov

My Online Self


Scala Stream Hygiene I: Avoiding Memory Leaks

The standard Scala Stream class is essentially a lazy List with memoization. However, memoization is undesirable when defining infinite data structures. It is possible to avoid memoization of streams by following a set of five rules, described in this first post in a 3-part series.

Updated AddFLACs to Extract Track Metadata From Pathnames

Match your FLAC files pathnames against a regular expression, then refer to capture groups when specifying iTunes field values.

Retrieving a Web Site for Offline View Using Wget

is not so straightforward in today's age of CDNs, widgets, and font embedded services.


Cat in the Cloud: Apache Tomcat in Amazon EC2. Part I, Part II, Part III.

Protect Your Java Code - Through Obfuscators And Beyond.

Convert Java to EXE - Why, When, When Not and How.

LinkedIn Profile

StackExchange Accounts

Projects on GitHub