The case of the random File deletion
Play! Framework provides several
BodyParsers out of the box to parse common HTTP request bodies. One of them is for file uploads. Since Play can't reasonably know what you're doing with the body, they can't aggressively delete the file after the result is returned. Their solution is to clean up the file when the variable is . . .
Scala Days 2015 talks have posted. My favorites:
- Scala Records: Extensible records and type-indexed maps
- Toward a Safer Scala
- Reactive Slick for Database Programming
- Why Scala.js
- Type-safe off-heap memory for Scala
- Delimited dependently-typed monadic checked exceptions in Scala
- Scala Collections Performance
There's a few classes and functions I've collected over the past few years that I find incredibly useful with day-to-day Scala development.
Get the calling stack
Often, during development, it's useful to find out “who is calling this?” If this happens to be called many times or concurrently, it's difficult to use a debugger. . . .
I'm drawn to people who engage in direct dialogue about the fundamental concepts behind complex and polarizing issues. Recently I've been listening to podcast episodes about this — individuals who are a member of a “side”, and yet are drawn away from debate and instead deeply explore what the “other side” believes.
Here are a few that . . .
James Roper's talk for the Play Framework Meetup Group
Java 8 heralds a new era of reactive programming, with lambdas and promises taking the limelight as the bright new features of the language. To best take advantage of these features, Play . . .
One of the most influential books I've read is The Power of Habit, by Charles Duhigg. He explores how habits work, and how we build (and change) them.
A habit I built shortly after reading this book was reading every morning before I left for work, for at least 20 minutes. I'm a utilitarian reader — there's many other things . . .
Search like normal, find like never before.
After over a year of hard work, my colleagues and friends have been working on a product that — we hope! — will revolutionize searching, bookmarks, and discovery.
Briefly, it means you never have to organize your bookmarks again. Search Google, and relevant links show up on the top. Organize your links eTo make it work well, FortyTwo has . . .