Monday, April 25, 2011

swank-cdt: Using Slime with the Clojure Debugging Toolkit

http://georgejahad.com/clojure/swank-cdt.html

> Swank-cdt is a port of swank-clojure to use the CDT, as a debugger backend. The CDT is a Clojure command line debugger which allows you to debug through the Java Debug Interface.
>> With swank-cdt, you can step, set breakpoints, catch exceptions, and eval clojure expressions, in the context of the current stack frame, from within the sldb buffer.

Posted via email from miner49r

Man Unveils Interactive Toothpick Sculpture of San Francisco That Took 35 Years to Create « Thought Catalog

http://thoughtcatalog.com/2011/man-unveils-interactive-toothpick-sculpture-of-san-francisco-that-took-35-years-to-create/

Artist Scott Weaver recently unveiled “Rolling Through the Bay,” a toothpick Rube Goldberg machine of the Bay Area.

Direct link to video:

Posted via email from miner49r

Friday, April 22, 2011

Exploring Yahoo S4 with Clojure | opus artificem probat

http://antoniogarrote.wordpress.com/2011/01/03/exploring-yahoo-s4-with-clojure/

Unfortunately, when using Clojure types, the resulting Java classes will not integrate easily into the S4 model since they don’t implement the standard bean interface and, as a result, could not be easily configured in a Spring configuration file. Furthermore, the standard serialization mechanism used in S4 at the moment, the Kryo serialization library, cannot serialize most of Clojure generated classes and default types, since it is unable to deserialize fields marked as final and because it requires argument-less constructors that clojure core types, like Keyword do not implement. In fact it makes even impossible to generate a serializable bean using the gen-class macro since this macro places the state into a final field.

Clj-s4 solves this issue introducing a new macro def-s4-message similar todeferecord that generates a mutable java bean for the provided field descriptions.


Update on Kyro: the serialization of final fields has been fixed according to the bug report.

Posted via email from miner49r

Thursday, April 14, 2011

Is HTML5 Ready for Prime Time vs. Native?

http://interfacethis.com/2011/is-html5-ready-for-prime-time-vs-native/

> In my last post I compared frameworks for building app-like mobile experiences with Web technologies: Sencha Touch, jQuery Mobile,jQTouch, and Titanium Mobile. For my own app, Pints, I went with Sencha Touch. But in truth there isn’t a clear winner: for a simpler, more page-based app I’d probably go with jQuery Mobile. (David Kaneda wrote a nice comparison of jQTouch and Sencha Touch — both of which he created. Much of what he says about jQTouch applies equally to jQuery Mobile.)

Posted via email from miner49r

Friday, April 8, 2011

Dropbox + git

http://pivotallabs.com/users/ken/blog/articles/1637-dropbox-git-designer-luv

Our solution is to clone the project's git repository into a folder inside a shared Dropbox folder.

Posted via email from miner49r

Monday, April 4, 2011

Enable certificate checking on Mac OS X

http://securityskeptic.typepad.com/the-security-skeptic/2011/04/mac-users-listen-up-enable-certificate-checking.html

My colleague Craig Watkins at Transcend, Inc. points out that not everyone has revocation enabled and provided a detailed explanation of how Mac OS users can enable this defense [...]

  To do this on Mac OS 10.6:

- Open Applications -> Utilities -> Keychain Access


- Under Keychain Access menu, select Preferences...
- Select the Certificates tab
- Set "Online Certificate Status Protocol (OCSP)" to 
  "Best Attempt"

- Set "Certificate Revocation List (CRL)" to "Best Attempt"
- Set "Priority" to "OCSP"

Posted via email from miner49r

Tuesday, March 22, 2011

How html5-boilerplate helped drastically improving our website performance

http://blog.androidsnippets.com/2011/how-html5-boilerplate-helped-drastically-improving-our-website-performance

And this is where html5-boilerplate really starts to shine. One of it’s best although often overlooked features is the automated build system (with ant and build.xml), which automatically compresses and concatenates stylesheets, javascript files and images, producing a heavily optimized version of the website and all resources.

We just needed minimal adaptations to make it play nicely with AppEngine, in order to provide a base template all the others can extend, and a full integration of the build process (you can find our adaptation as on github).

Posted via email from miner49r

Parallelism is not concurrency

https://existentialtype.wordpress.com/2011/03/17/parallelism-is-not-concurrency/

The effectiveness of the language-based model of parallelism lies entirely in its ability to expose the dependency structure of the computation by not introducing any dependencies that are not forced on us by the nature of the computation itself.  And the key to this is functional programming, which manifests itself here in the transformational approach to computation: sorting is conceived of as a mathematical function that transforms a given sequence into another sequence.  It does not destroy the given sequence any more than adding two numbers destroys those numbers!  Since Quicksort is a mathematical function, we need not worry that execution of qs xsl 

interferes with (depends on) 
qs xsg; we can readily run them in parallel without fear of untoward consequences.  The payoff is that there are many fewer dependencies among the subcomputations, and hence many more opportunities for parallelism that can be exploited, in accord with Brent’s Principle, when scheduling the work onto a parallel fabric.

The upshot of all this is that functional programming is of paramount importance for parallelism.

Posted via email from miner49r

Monday, March 14, 2011

No, really, pi is wrong: The Tau Manifesto by Michael Hartl | Tau Day, 2010

http://tauday.com/

This manifesto is dedicated to one of the most important numbers in mathematics, perhaps the most important: the circle constant relating the circumference of a circle to its linear dimension. For millennia, the circle has been considered the most perfect of shapes, and the circle constant captures the geometry of the circle in a single number. Of course, the traditional choice of circle constant is π—but, as mathematician Bob Palais notes in his delightful article “π Is Wrong!”,1 π is wrong.

Posted via email from miner49r

Sunday, March 13, 2011