Wednesday, May 18, 2011

Clojure and Emacs

Technomancy simplifies running Clojure in Emacs...

"in which radical simplification ensues - Technomancy"
http://technomancy.us/149

  • Install clojure-mode via Marmalade or from git.
  • lein plugin install swank-clojure 1.3.1
  • Invoke M-x clojure-jack-in from a project
  • Posted via email from miner49r

    Monday, May 16, 2011

    Tuesday, May 3, 2011

    JLG on iOS licensing certificate!

    Jean-Louis Gassée (former Apple VP) covers some history of Mac versus PC fight which some people want to apply to the iOS/Android competition of today. In the old days, we used to say that the SJ Mercury thought "beleaguered" was part of Apple's corporate name.

    http://www.mondaynote.com/2011/05/01/carnival-barker-edition-show-me-your-ios...

    > Apple is doing it wrong, Apple is living on borrowed time! Apple will Fail Again! This idea, this meme, isn’t new. For more than 30 years we’ve heard a number of versions of the “Apple is doomed” requiem.

    Posted via email from miner49r

    Best In Class: Building a Social Media site [in Clojure]

    http://www.bestinclass.dk/index.clj/2011/01/building-a-social-media-site.html

    Following my now dated "Reddit Clone" tutorial, I've made a revised version which demonstrates how easy it is to build interactive websites using  Moustache, Enlive and ClojureQL. 

    Posted via email from miner49r

    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