blog.richdougherty.com
Rich Dougherty’s blog: Continuations plugin for Scala 2.8 beta
http://blog.richdougherty.com/2010/01/continuations-plugin-for-scala-28-beta.html
Rich Dougherty’s blog. Friday, January 22, 2010. Continuations plugin for Scala 2.8 beta. The first Scala 2.8 beta is due to be released soon. Unfortunately the continuations code won't be merged in time for the beta. In the meantime if you want to try out the continuations features then you'll need to build the continuations compiler plugin and support library yourself. In preparation for the beta release I thought I'd post some updated instructions for building the continuations plugin. Then build it a...
blog.richdougherty.com
Rich Dougherty’s blog: Error handling with Scala’s Try
http://blog.richdougherty.com/2012/06/error-handling-with-scalas-try.html
Rich Dougherty’s blog. Sunday, June 17, 2012. Error handling with Scala’s Try. Scala 2.10 will introduce a new class called. For representing the results of computations that might fail. Neatly encodes the concept of success and failure with a subclass for each concept:. Objects hold values and. Is a nice little utility class. It isn’t terribly exciting, but it certainly comes in handy. Its simplicity reduces confusion, and error handling is an area where confusion is common. Ndash; Use in a. The latest ...
blog.richdougherty.com
Rich Dougherty’s blog: January 2010
http://blog.richdougherty.com/2010_01_01_archive.html
Rich Dougherty’s blog. Thursday, January 28, 2010. Scala 2.8.0 beta 1 released. The first Scala 2.8 beta has been released. It has a lot of new features. I'm particularly looking forward to using the improved collections, type specialization, default arguments, and of course continuations! The continuations plugin hasn't been merged into the default distribution yet. If you'd like to use continuations with the beta then you'll need to build it yourself. First download the Scala 2.8 beta. Cat example....
techinterplay.com
Fix Toshiba battery issue for Linux | techinterplay
http://techinterplay.com/fix-toshiba-battery-issue-linux.html
Fix Toshiba battery issue for Linux. June 3, 2011. Fix Toshiba battery issue for Linux. 1370268] ACPI: Battery Slot [BAT1] (battery absent). Its been a year since I made my last post and have been thinking about what I could write to start posting again. I have finally found a perfect one. Yepieeee, Its about vexing Toshiba battery conflict with the kernel. I have got my battery issue fixed after a long wait. First of all let me thank Steve. Here was the scenario. Laptop Made : Toshiba L650 X5310. And re...
codecommit.com
Monads Are Not Metaphors - Code Commit
http://www.codecommit.com/blog/ruby/monads-are-not-metaphors
Monads Are Not Metaphors. This article is also available in Japanese. I am about to break a promise. Almost three years ago, I promised myself that I would. I’m not going to add to this menagerie of confusing analogies. The fact is that none of these parallels are entirely accurate. None of them convey the whole picture, and some of them are blatantly misleading in important respects. You will. Rather than the concrete. Take a look at the following Ruby snippet:. Puts bar bar. size. Just as a quick Ruby ...
blog.richdougherty.com
Rich Dougherty’s blog: Scala 2.8.0 beta 1 released
http://blog.richdougherty.com/2010/01/scala-280-beta-1-released.html
Rich Dougherty’s blog. Thursday, January 28, 2010. Scala 2.8.0 beta 1 released. The first Scala 2.8 beta has been released. It has a lot of new features. I'm particularly looking forward to using the improved collections, type specialization, default arguments, and of course continuations! The continuations plugin hasn't been merged into the default distribution yet. If you'd like to use continuations with the beta then you'll need to build it yourself. First download the Scala 2.8 beta. Cat example....
blog.richdougherty.com
Rich Dougherty’s blog: February 2009
http://blog.richdougherty.com/2009_02_01_archive.html
Rich Dougherty’s blog. Tuesday, February 24, 2009. Delimited continuations in Scala. In a recent thread. It was announced that Tiark Rompf is writing a Scala compiler plugin for working with delimited continuations. The plugin is still in development, but it is scheduled to be included in Scala 2.8. The plugin transforms the parts of the program contained within a call to reset. Into continuation-passing form. Within the transformed part of the program, continuations can be accessed by calling shift.
blog.richdougherty.com
Rich Dougherty’s blog: Delimited continuations in Scala
http://blog.richdougherty.com/2009/02/delimited-continuations-in-scala_24.html
Rich Dougherty’s blog. Tuesday, February 24, 2009. Delimited continuations in Scala. In a recent thread. It was announced that Tiark Rompf is writing a Scala compiler plugin for working with delimited continuations. The plugin is still in development, but it is scheduled to be included in Scala 2.8. The plugin transforms the parts of the program contained within a call to reset. Into continuation-passing form. Within the transformed part of the program, continuations can be accessed by calling shift.
blog.richdougherty.com
Rich Dougherty’s blog: April 2009
http://blog.richdougherty.com/2009_04_01_archive.html
Rich Dougherty’s blog. Sunday, April 5, 2009. Tail calls, @tailrec and trampolines. Recursion is an essential part of functional programming. But if each call allocates a stack frame, then too much recursion will overflow the stack. Most functional programming languages solve this problem by eliminating stack frames through a process called tail-call optimisation. Unfortunately for Scala programmers, the JVM doesn't perform this optimisation. Because of these limitations, you need to be careful when usin...
SOCIAL ENGAGEMENT