Profile

Cover photo
Lachlan O'Dea
Lives in Melbourne, Australia
97 followers|6,776 views
AboutPostsPhotosVideos+1'sReviews

Stream

Lachlan O'Dea

Articles, Podcasts, Talks  - 
3
Lachlan O'Dea's profile photoGordon Tyler's profile photoSteve Vickers's profile photoBoyd Smith's profile photo
4 comments
 
Nice application of lenses to a type not normally thought of as being a container!

Checking out your gist, the lens-related types are very reminiscent of Scalaz's definitions.  Looking at the paper you kindly referenced (thanks!), it makes sense as the author of "Asymmetric Lenses in Scala" is Tony Morris (the originator of scalaz, IIRC).

Here's Scalaz 7's fully generalized LensFamily type:

https://github.com/scalaz/scalaz/blob/scalaz-seven/core/src/main/scala/scalaz/Lens.scala

with Lens defined as:

type Lens[A, B] = LensFamily[A, A, B, B]
(source: https://github.com/scalaz/scalaz/blob/scalaz-seven/core/src/main/scala/scalaz/package.scala#L215)

Now, off to reading that paper! :-)
Add a comment...

Lachlan O'Dea

Shared publicly  - 
1
Myles Jordan's profile photo
 
Good article. Another considered article:
http://www.samharris.org/blog/item/the-riddle-of-the-gun
Add a comment...

Lachlan O'Dea

Shared publicly  - 
 
 
#BAFact: On this date in 2004, the Earth was hit by the biggest blast of cosmic radiation in recorded history.

Eight years ago today - Dec. 27, 2004 - the Earth was slammed by the biggest explosion of energy coming from deep space in recorded history. It is almost impossible to exaggerate the size and scale of this event: It literally had a physical effect here on Earth, even though the origin was a mind-crushing 50,000 light years away!

http://www.slate.com/blogs/bad_astronomy/2012/12/27/cosmic_blast_magnetar_explosion_rocked_earth_on_december_27_2004.html
1
Myles Jordan's profile photo
 
The amount of energy released, at 500 quadrillion kilometers away (based on 1/r^2) beggars belief...
Add a comment...

Lachlan O'Dea

Shared publicly  - 
 
Did you know that being the son of the monarch makes you a medical expert? It's true! (Apparently)
1
Add a comment...

Lachlan O'Dea

Shared publicly  - 
 
 
Isn't this a great sight? Our lovely planet, completely intact, taken a few hours ago as a new day began: Dec. 22, 2012. Courtesy of NOAA's GOES 15 satellite over the Pacific Ocean.
1
Add a comment...

Lachlan O'Dea

Shared publicly  - 
 
 
This just in: Santa has opened his Village for the world to see in preparation for his annual world tour at http://google.com/santatracker

The Village tour includes: Reindeer games, free calls from Santa, & some elf surprises. One elf overhead Santa: "Ho ho ho, who wouldn't go?"
1
Add a comment...
In his circles
153 people
Have him in circles
97 people
Andrew Naish's profile photo
Rahul Goma Phulore's profile photo
Josh Suereth's profile photo
Dougal Edmondson's profile photo
Channing Walton's profile photo
Ken Mortimer's profile photo
Oleg Petrovsky's profile photo

Lachlan O'Dea

Tutorials  - 
 
My experience deploying a Play app on an Ubuntu server.
6
4
Add a comment...

Lachlan O'Dea

Shared publicly  - 
1
Ken Scambler's profile photoLachlan O'Dea's profile photo
2 comments
 
I have yet to read it! But this guy piqued my interest.
Add a comment...

Lachlan O'Dea

Shared publicly  - 
 
As mentioned, no blocked thread.

I also have a theory that I haven't tested yet, which is that async may work better with HTTP pipelining. Last time I tried pipelining with the traditional blocking servlet API (in Tomcat), the pipelining produced no real benefit: the app code still wouldn't see the other requests until the first was completed.
 
Hello,

I try to understand the global concept of Async on Play!
When someone go on "http://example.com/my/url", server open a socket for him.
When I do a large process with Async/Promise, the client waiting the answer.
So the socket is still used, the socket ressource is taken and this socket cannot be used for an other user.

Could you explain me how the Async works ?
1
Add a comment...

Lachlan O'Dea

Shared publicly  - 
 
Crazy, but awesome crazy.
 
Why Apple needs a really expensive iPhone.

Some pundits are predicting, and others are advocating, that Apple launch an iPhone that's much cheaper than the current iPhone in order to keep up with Android phone sales.

This is crazy talk.

Apple doesn't need a cheaper iPhone. They need a more expensive one -- much more expensive. Here's why. 

http://www.cultofmac.com/207383/why-apple-needs-a-really-expensive-iphone/
1
Add a comment...

Lachlan O'Dea

Shared publicly  - 
 
So the government finally admits it won't get a surplus, which was already faked by shuffling spending.

The real mistake was promising the surplus in the first place.

Actually, the real mistake was spending like a drunken sailor, so that they were so desperate to shore up their economic credentials that they had to make this silly promise.
1
Add a comment...
People
In his circles
153 people
Have him in circles
97 people
Andrew Naish's profile photo
Rahul Goma Phulore's profile photo
Josh Suereth's profile photo
Dougal Edmondson's profile photo
Channing Walton's profile photo
Ken Mortimer's profile photo
Oleg Petrovsky's profile photo
Work
Occupation
Software Developer
Basic Information
Gender
Male
Relationship
Married
Story
Tagline
Embrace doubt
Introduction
Likes:
  • Scala
  • Apple
  • Unix
  • Blizzard
Dislikes:
  • Long walks on the beach
  • Moral relativism
de omnibus dubitandum
Bragging rights
I have two beautiful daughters.
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Melbourne, Australia
Lachlan O'Dea's +1's are the things they like, agree with, or want to recommend.
Introducing our smart contact lens project
googleblog.blogspot.com

You've probably heard that diabetes is a huge and growing problem—affecting one in every 19 people on the planet. But you may not be familia

Maven Repository: Search/Browse/Explore
mvnrepository.com

Popular Tags. ajax analysis annotations ant apache api archetype aspect asynchronously beans binding bpm build buildsystem bytecode cache cm

Play 2.2.0 is released! - Google Groups
groups.google.com

Google Groups. Play 2.2.0 is released! James Roper, Sep 19, 2013 9:49 PM. Posted in group: play-framework. The Play team is proud to announc

Cake pattern in depth
www.cakesolutions.net

This post is designed to serve as a “Cake pattern for dummies” walkthrough, primarily aimed at devs new(ish) to Scala - but with at least so

Git Tutorials and Training
www.atlassian.com

Learn the basics of Git through this comprehensive Git training. Branching, pull requests, merging and more are covered in the Atlassian Git

Yesod Web Framework for Haskell
www.yesodweb.com

Yesod is a Haskell web framework for productive development of type-safe, RESTful, high performance web applications.

JavaScript Isn't Scheme –
journal.stuffwithstuff.com

Crockford has a way about him. Part of this is because his background is legimately impressive. He has and continues to do many great things

The Resource Monad
www.haskellforall.com

Edit: tomejaguar points out on /r/haskell that there is a Monad instance for this type. The original version of this post said that Resource

The Verge
plus.google.com

The Verge brings you the best in technology news with in-depth reporting, the latest scoops, original features, and editorials from the smartest team in tech writing.

Play Framework
plus.google.com

The High Velocity Web Framework For Java and Scala

Wowhead: It's dangerous to go alone! Take this.
www.wowhead.com

A World of Warcraft (WoW) database site with items, quests, forums, news, profiles, quest-tracking, a talent calculator, and more.

Google +1 Button
www.google.com

Recommendations when you want them. Learn more about the +1 button. The +1 button is shorthand for "this is pretty cool" or "

Panic - Shockingly Good Mac Software.
panic.com

Panic makes Macintosh software that rocks. Our programs include Audion, Transmit, Desktastic, CandyBar, Unison, Stattoo, and more cool thing

ReactiveMongo - - Google Groups
groups.google.com

ReactiveMongo - http://reactivemongo.org. Welcome to the official mailing list of ReactiveMongo, the non-blocking, reactive Scala driver for

Retribution Paladin Quick-Start Guide For WoW Patch 5.2 - Stats, talents...
www.mmomeltingpot.com

WoW Patch 5.2 has hit, and it's got a long and scary list of changes for everyone including Retri Paladins as we head into the Throne of Thu

etorreborre/specs2 @ GitHub
etorreborre.github.com

Presentation. specs2 is a library for writing executable software specifications. With specs2 you can write software specifications for one

Brilliantly smart-ass responses to completely well-meaning signs.
www.happyplace.com

Most of these signs were designed to help people — to get where they're going, to find a pet, to avoid grievous bodily harm — and yet some w

HTG Explains: What is a Zombie Process on Linux?
www.howtogeek.com

If you’re a Linux user, you may have seen zombie processes shambling around your processes list. You can’t kill a zombie process because it’

Custom Launcher for IntelliJ IDEA in Ubuntu Unity | nuf said
nufailm.blogspot.com.au

But in Unity it is not so easy. For IDEA, first you have to specify the location of Java by inserting the following line in the idea.sh file

Public - 11 months ago
reviewed 11 months ago
2 reviews
Map
Map
Map