Tuesday, February 19, 2013

Friday, January 11, 2013

Thunderbolt and MiniDisplay Mac Compatibility 101

Thanks to Michael Olivero for posting his research about mixing Thunderbolt and MiniDisplayPort devices. This answered a question I had about buying a new MacBook Air.

http://michael.olivero.com/post/2011/07/21/Thunderbold-and-MiniDisplay-Mac-Co...

Posted via email from miner49r

Thursday, January 3, 2013

Clojure conditional feature reader

I’ve been experimenting with tagged literals and data-readers to create what I’m calling a “conditional feature reader”. The basic element is the condf tag, which works sort of like cond but the tests are “feature requirements”. A feature requirement can be something like clj1.5 (meaning Clojure 1.5) or java1.6+ (meaning JDK 1.6 or greater). For example:

(println #feature/condf [(and jdk1.6+ clj1.5.*) "Ready for reducers" else "No reducers for you."])

I’ve only implemented it for regular Clojure 1.4 and 1.5 (on the JVM), but I’m hoping it might prove useful for other variants such as ClojureScript.

For more details, see:

https://github.com/miner/wilkins

Posted via email from fnclojure

Friday, December 14, 2012

Moving away from Noir

Anthony Grimes (Raynes) reports on the deprecation of Noir for Clojure web apps:

http://blog.raynes.me/blog/2012/12/13/moving-away-from-noir/

Chris and I discussed this last night, and we decided that it’s time to deprecate Noir and ask that people focus on Compojure instead. The good news is that you don’t have to give much of anything up if you move to Compojure! A while back when I started moving my own sites to Compojure, I took most of the useful libraries that were embedded in Noir and I split them out into a new library that you can use from Compojure! lib-noir is the legacy of Noir. The best thing that came out of it. It has all the useful stateful sessions, flashes, cookies, as well as the other useful libraries. In fact, the latest release of Noir depends on this library so if you’re using it, you’re already secretly using lib-noir!

For new websites, please use Compojure and lib-noir. This is pretty much just as batteries included as Noir itself ever was! You just have to learn how to write routes with Compojure. It’s easy and just as concise as it was in Noir. You don’t have to use ring-jetty-adapter and stuff, just use the lein-ring plugin to start your server.

Related links: https://github.com/weavejester/compojure https://github.com/noir-clojure/lib-noir https://github.com/weavejester/lein-ring

Posted via email from fnclojure

Saturday, October 27, 2012

ClojureScript and Node.js – an experience report

http://www.pauldee.org/blog/2012/clojurescript-and-node-js-an-experience-report/
> ClojureScript on Node.js is a (potentially) compelling story for writing scripting apps with Clojure.

Posted via email from fnclojure

Monday, October 22, 2012

Spyscope

A clever use of data literal tags for debugging:

https://github.com/dgrnbrg/spyscope

Spyscope A Clojure library designed to make it easy to debug single- and multi-threaded applications.

Usage Add [spyscope “0.1.0”] to your project.clj’s :dependencies.

Posted via email from fnclojure

Wednesday, October 10, 2012

Writing Datomic in Clojure

Rich Hickey introduces Datomic, including architectural and implementation details.

http://www.infoq.com/presentations/Datomic

Posted via email from fnclojure

Sunday, October 7, 2012

Zurb Foundation vs. Twitter Bootstrap

Twitter Bootstrap has the mindshare, but Zurb Foundation is another good choice.

http://designshack.net/articles/css/framework-fight-zurb-foundation-vs-twitte...

Zurb describes it as “an easy to use, powerful, and flexible framework for building prototypes and production code on any kind of device.”

Right from that description you can tell that Zurb is putting a lot of emphasis on the cross-device aspect of its layout grid. Interestingly enough, the word “responsive” doesn’t appear anywhere on the Foundation site (that I can find), but the benefits are definitely similar: design one project that works everywhere.

Posted via email from miner49r

Thursday, September 20, 2012

Rich Hickey talk on Reducers - A Library and Model for Collection Processing

Rich Hickey explains how to bake an Apple pie...

http://www.infoq.com/presentations/Clojure-Reducers

> Rich Hickey discuses Reducers, a library for dealing with collections that are faster than Clojure’s standard lazy ones and providing support for parallelism.

Posted via email from fnclojure

Sunday, September 16, 2012

ClojureScript: 4 Things That Might Worry You, but Shouldn't

http://jasonrudolph.com/blog/2012/09/11/clojurescript-4-things-that-might-wor...

If you’re on the fence about giving ClojureScript a shot, I hereby present: 4 things that might worry you, but shouldn’t.

The post discusses:

  • Debugging
  • API Stability
  • Quality
  • Performance Profiling and Tuning

Posted via email from miner49r