News for hackers. Stuff that matters.
Re:Building an iOS weather app with Angular and ClojureScript by fluffmyboner on Thursday June 27, 2013 @02:07PM (#5953753)
I don't need another weather app, but it's well-made and I like to support a job well-done.

edit// works great on iOS 7 beta 2 ;)

Re:Building an iOS weather app with Angular and ClojureScript by sbecker on Thursday June 27, 2013 @02:41PM (#5953966)
Great app. I've been helping beta test and it's obvious a lot of effort went into making it look polished and feel responsive. An amazing feat of programming and design magic. Angular, ClojureScript, HTML5 and CSS3 working in concert. Congrats lynaghk and ryan!
Re:Building an iOS weather app with Angular and ClojureScript by ynniv on Thursday June 27, 2013 @03:18PM (#5954182)
You might guess that it is well done from the screenshots, but it is even more polished than I expected. If you we're unsure about native vs PhoneGap, try this out. The one thing that doesn't feel quite right is changing the time of day.
Re:Building an iOS weather app with Angular and ClojureScript by wunki on Thursday June 27, 2013 @02:39PM (#5953951)
Great work. Could you elaborate why you didn't pick the route of using one of the mentioned libraries, Clang or Acute?
Re:Building an iOS weather app with Angular and ClojureScript by lynaghk on Thursday June 27, 2013 @02:49PM (#5954011)
Neither of them were released when we started development. Also, I tend to think that it's better to explicitly manipulate JavaScript data structures through ClojureScript than try to build some potentially leaky abstractions on top of them.

Since ClojureScript's protocols are so flexible, it doesn't take a lot of work to teach ClojureScript about JavaScript---whereas the other direction is much more difficult to get right.

Re:Building an iOS weather app with Angular and ClojureScript by ashbrahma on Thursday June 27, 2013 @02:17PM (#5953818)
They claim 15 data sources but I wasn't able to figure it out. Anyone know what the sources might be?
Re:Building an iOS weather app with Angular and ClojureScript by lynaghk on Thursday June 27, 2013 @02:27PM (#5953881)
One of the app authors here; The Weathertron uses the backend API provided by the forecast.io guys (who also do the DarkSky app).
Re:Building an iOS weather app with Angular and ClojureScript by malandrew on Thursday June 27, 2013 @03:01PM (#5954079)
I also recommend using mitmproxy to get the YQL query from the Yahoo weather app. Lots of good info in that query.
Re:Building an iOS weather app with Angular and ClojureScript by immigrantsheep on Thursday June 27, 2013 @02:16PM (#5953814)
Looks fantastic! Did you use PhoneGap?
Re:Building an iOS weather app with Angular and ClojureScript by lynaghk on Thursday June 27, 2013 @02:35PM (#5953925)
Yep; the app is packaged up for distribution via PhoneGap, and we're also using its geolocation shims.
Re:Building an iOS weather app with Angular and ClojureScript by methehack on Thursday June 27, 2013 @01:49PM (#5953643)
downloaded it -- worked great on my iphone 5. Impressive!
Re:Building an iOS weather app with Angular and ClojureScript by mrbbk on Thursday June 27, 2013 @01:05PM (#5953358)
Beautiful, improbable, awesome.