↑ Best viewed this side up ↑
Dmitry Leskov

Scala Stream Hygiene III: Scalaz EphemeralStream Fills Quite A Canyon

Scalaz, an open-source pure functional programming library for Scala, provides the EphemeralStream class that does not exhibit the memory leak issues inherent to the standard scala Stream. However, it carries its own set of problems: memory overheads, performance penalties, and application disk footprint increase.

Scala Stream Hygiene II: HotSpot Kicks In

Infinite Scala streams should be marked “not for production use”, even though you can get away with breaking most of the rules listed in Part I.

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.

KB2756872 Windows 8 Update Fails to Install? Remove Realtek Audio Drivers

If you have upgraded from Windows 7, you may need to also run delmigprov.exe accompanying the standalone version of that update.

It’s Been a Long Time Since I Had To Patch a Binary Executable…

…let alone the main executable of a popular open source development tool.

Outlook Macro to Nicely Format Skype Chat Excerpts

Skype IM Pretty Printer is a VBA Macro for Microsoft Outlook that helps you format Skype chat excerpts for readability before you email them to someone or store for archival purposes.

Running Online Python Tutor in a Local Linux VM

Online Python Tutor (OPT) enables first-year CS students to watch the nicely visualized execution of their Python programs step-by-step.

A fresh edX student very much liked OPT but had two problems with its online nature: sometimes the OPT Web site was not responding, sometimes she had no Internet connection. Fortunately, OPT is open sourced on GitHub, so I was able to set it up on her Windows notebook as follows:

Read the rest of this entry »

Running programs on Linux boot up

You ain’t need to learn no rc.local, runlevels, Upstart, or good old System V init scripts.

« Older Entries |