Re: ANN: clojure-objc
Thanks again Gal. Are you going to throw the new bits up to clojuars or maven.org? Could not find artifact galdolber:clojure-objc:jar:1.5.1.1 in central (http://repo1.maven.org/maven2/) Could not find artifact galdolber:clojure-objc:jar:1.5.1.1 in clojars (https://clojars.org/repo/) On Sunday, January 26, 2014 9:47:46 PM UTC-5, Gal Dolber wrote: > > I reimplemented the interop and its fully functional now. > Just download the last binary from > https://github.com/galdolber/clojure-objc > > > On Sun, Jan 26, 2014 at 6:17 PM, Gal Dolber > > wrote: > >> That's a bug in the objc interop, the type detection is incomplete. >> >> >> https://github.com/galdolber/clojure-objc/blob/master/src/jvm/clojure/lang/Selector.java?source=c#L87 >> >> The error you get is happening on arm64(iphone 5s or simulator 64bits), >> it should work on i386, armv7 and armv7s. >> >> >> On Sun, Jan 26, 2014 at 3:18 PM, PublicFarley >> >> > wrote: >> >>> I got an error as posted in my 1:01 PM post below. I've uploaded my >>> source in case it helps. Basically it's your github sample code. >>> >>> >>> On Sunday, January 26, 2014 8:15:17 AM UTC-5, Gal Dolber wrote: >>> >>>> I added a better sample with a UINavigationController and a small uikit >>>> framework(very very alpha). >>>> >>>> https://github.com/galdolber/clojure-objc-sample/blob/ >>>> master/src/clojure_objc_sample/core.clj >>>> >>>> Feedback and improvements on the uikit framework are very much welcome. >>>> >>>> >>>> On Sat, Jan 25, 2014 at 10:08 PM, PublicFarley wrote: >>>> >>>>> Thanks for the quick reply Gal. Excellent advise. I never thought to >>>>> do it that way. Need to stretch my thinking a bit... LOL. >>>>> >>>>> Yes your compilation technology could enable a lot of creative >>>>> thinking around frameworks and libraries for iOS UI construction in >>>>> Clojure. Much like the excitement and development in the RubyMotion >>>>> community. I need to put my hard hat on and experiment more. >>>>> >>>>> Again thanks for the fabulous contribution. >>>>> >>>>> Kind Regards, >>>>> publicfarley >>>>> >>>>> -- >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Clojure" group. >>>>> To post to this group, send email to clo...@googlegroups.com >>>>> >>>>> Note that posts from new members are moderated - please be patient >>>>> with your first post. >>>>> To unsubscribe from this group, send email to >>>>> clojure+u...@googlegroups.com >>>>> >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/clojure?hl=en >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Clojure" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to clojure+u...@googlegroups.com. >>>>> >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>> >>>> -- >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to clo...@googlegroups.com >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+u...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/clojure?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to clojure+u...@googlegroups.com . >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: ANN: clojure-objc
I got an error as posted in my 1:01 PM post below. I've uploaded my source in case it helps. Basically it's your github sample code. On Sunday, January 26, 2014 8:15:17 AM UTC-5, Gal Dolber wrote: > > I added a better sample with a UINavigationController and a small uikit > framework(very very alpha). > > > https://github.com/galdolber/clojure-objc-sample/blob/master/src/clojure_objc_sample/core.clj > > Feedback and improvements on the uikit framework are very much welcome. > > > On Sat, Jan 25, 2014 at 10:08 PM, PublicFarley > > > wrote: > >> Thanks for the quick reply Gal. Excellent advise. I never thought to do >> it that way. Need to stretch my thinking a bit... LOL. >> >> Yes your compilation technology could enable a lot of creative thinking >> around frameworks and libraries for iOS UI construction in Clojure. Much >> like the excitement and development in the RubyMotion community. I need to >> put my hard hat on and experiment more. >> >> Again thanks for the fabulous contribution. >> >> Kind Regards, >> publicfarley >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. core.clj Description: Binary data uikit.clj Description: Binary data
Re: ANN: clojure-objc
Hi Gal. Just tried your code and got the following... Any ideas on what may be failing? *Clojure_objc_sampleuikit__init* *2014-01-26 12:47:20.733 hithere[1646:70b] *** Terminating app due to uncaught exception 'Type not found', reason: '{CGRect={CGPoint=dd}{CGSize=dd}}'* First throw call stack:* *(* * 0 CoreFoundation 0x000103ac6795 __exceptionPreprocess + 165* * 1 libobjc.A.dylib 0x000103829991 objc_exception_throw + 43* * 2 hithere 0x0001003ce441 -[ClojureLangSelector invokeObjcWithId:withNSString:withClojureLangISeq:] + 5649* * 3 hithere 0x0001003cce1d -[ClojureLangSelector doInvokeWithId:withId:] + 365* * 4 hithere 0x000100d59a68 -[ClojureLangRestFn invokeWithId:] + 488* * 5 hithere 0x000100e3990c +[Hitherecore__init load__] + * * 6 hithere 0x000100e42131 +[Hitherecore__init initialize] + 241* * 7 libobjc.A.dylib 0x00010382a299 _class_initialize + 645* * 8 libobjc.A.dylib 0x0001038314de lookUpImpOrForward + 174* * 9 libobjc.A.dylib 0x00010383d04c objc_msgSend + 204* * 10 Foundation 0x0001033fcc07 _NSDescriptionWithLocaleFunc + 41* * 11 CoreFoundation 0x000103a4b3e4 __CFStringAppendFormatCore + 7252* * 12 CoreFoundation 0x000103a89b03 _CFStringCreateWithFormatAndArgumentsAux + 115* * 13 CoreFoundation 0x000103ae9dab _CFLogvEx + 123* * 14 Foundation 0x00010342cdc6 NSLogv + 79* * 15 Foundation 0x00010342cd5a NSLog + 148* * 16 hithere 0x00010036b228 +[ClojureLangRT loadiOSWithNSString:] + 488* * 17 hithere 0x00010036b2a9 +[ClojureLangRT load__WithNSString:withBoolean:] + 105* * 18 hithere 0x00010036b036 +[ClojureLangRT load__WithNSString:] + 70* * 19 hithere 0x0001196c -[AHTAppDelegate application:didFinishLaunchingWithOptions:] + 188* * 20 UIKit 0x00010248695c -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 264* * 21 UIKit 0x000102487014 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1269* * 22 UIKit 0x00010248abe8 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 660* * 23 UIKit 0x00010249baab -[UIApplication handleEvent:withNewEvent:] + 3092* * 24 UIKit 0x00010249bf1e -[UIApplication sendEvent:] + 79* * 25 UIKit 0x00010248c2be _UIApplicationHandleEvent + 618* * 26 GraphicsServices0x000105bb7bb6 _PurpleEventCallback + 762* * 27 GraphicsServices0x000105bb767d PurpleEventCallback + 35* * 28 CoreFoundation 0x000103a48819 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41* * 29 CoreFoundation 0x000103a485ee __CFRunLoopDoSource1 + 478* * 30 CoreFoundation 0x000103a71ab3 __CFRunLoopRun + 1939* * 31 CoreFoundation 0x000103a70f33 CFRunLoopRunSpecific + 467* * 32 UIKit 0x00010248a4bd -[UIApplication _run] + 609* * 33 UIKit 0x00010248c043 UIApplicationMain + 1010* * 34 hithere 0x00011cc3 main + 115* * 35 libdyld.dylib 0x0001040db5fd start + 1* *)* *libc++abi.dylib: terminating with uncaught exception of type NSException* On Sunday, January 26, 2014 10:31:05 AM UTC-5, PublicFarley wrote: > > Awesome. Thanks Gal. > > Can't wait to check it out. > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: ANN: clojure-objc
Awesome. Thanks Gal. Can't wait to check it out. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: ANN: clojure-objc
Thanks for the quick reply Gal. Excellent advise. I never thought to do it that way. Need to stretch my thinking a bit... LOL. Yes your compilation technology could enable a lot of creative thinking around frameworks and libraries for iOS UI construction in Clojure. Much like the excitement and development in the RubyMotion community. I need to put my hard hat on and experiment more. Again thanks for the fabulous contribution. Kind Regards, publicfarley -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: ANN: clojure-objc
I'm utterly shocked by the lack of posts and questions about this very cool variation of the Clojure compiler. Think people Develop iOS apps in Clojure! Awesome and fun. I suggest that the author and his team try to see if you can present at ClojureWest. Need to get the word out. Anyway, quick question to the OP. Can you post an example where you subclass UIViewController and throw up a simple UIView with say a button and delegate method that gets called on button click. Would love to see where and how you do your 'release' calls as well. I think a simple example like above would give people some understanding on how to really start digging in to clojure-objc. - PublicFarley On Friday, January 24, 2014 1:37:01 AM UTC-5, Gal Dolber wrote: > > clojure-objc is a clojure compiler that generates java(instead of > bytecode) and uses j2objc(https://code.google.com/p/j2objc/) to translate > it to objc. > > Goals > * Write iOS and MacOS apps in clojure > * Future proof: new features on clojure should be easy to add > * Distribute clojure-objc libs using maven > * Pure clojure libs should 'just work' (if they only use the jre emulated > classes) > * ObjC dynamic interop > * Run tests in the jvm (with no ObjC interop) > > For more information: > https://github.com/galdolber/clojure-objc > > Lein plugin: > https://github.com/galdolber/lein-objcbuild > > Sample project: > https://github.com/galdolber/clojure-objc-sample > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Does Pedestal have a future in the long run
I hope that this time around the Pedestal talk will be recorded. The lack of any nice recorded video talks discussing Pedestal has been an additional barrier to entry. - Farley -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [ANN] Counterclockwise - Clojure plugin for Eclipse
Awesome work Laurent! Just awesome. @Casper Take a look at this for making leinigen projects easily importable into Eclipse: https://github.com/kumarshantanu/lein-idefiles -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Robo VM
Niklas, RoboVM looks incredibly cool. I'm definitely going to fool around with it to see if I can get some Clojure code up and running on iOS. This could become RubyMotion for JVM language devs! Have you looked at RubyMotion? Is your approach conceptually similar? How do you handle GC? Via an ARC like mechanism or do you bundle a garbage collector? Again, great work. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Clojure on top of ObjC?
"...but once that's done we should have a real Clojure repl running on the iPhone." Wow. This is awesome news Nathan. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Are you looking for a document database engine implementation in Clojure? Check this out.
Maybe I'm missing something. Where's the download link? On Monday, August 13, 2012 6:40:40 AM UTC-4, Howard Guo wrote: > > This is a pet project I have been working on the past few months: a > network enabled, very compact implementation of a document database engine. > > Features: > > >- Store, manage and retrieve documents in native Clojure data >structures using CON (Clojure Object Notation) >- Durable data - Your data is safe in event of write-failure/unclean >shutdown >- Networked - Safely handle concurrent database connections >- Nice performance - Handle 3,000+ writes / 6,000+ lookups per second >with confidence >- Handle complex query - Use stack based syntax to easily build >powerful and complex queries >- Compact - Implemented in just under 700 lines of Clojure code > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Are you looking for a document database engine implementation in Clojure? Check this out.
Looks cool. Nice to see a totally Clojure centric take at a Document Database. I'll definitely check it out. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: ANN: Mongoika, a new Clojure MongoDB library
Looks very nicely designed. Thanks for contributing. Have you taken a look at other libraries such as CongoMongo (https://github.com/aboekhoff/congomongo/)? How does Mongoika compare? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: A clojure encounter
On Friday, July 20, 2012 5:58:15 AM UTC-4, Jeff Rose wrote: > Yesterday I was sitting on the tube in London, going home from work. > A guy sat down next to me and started reading Clojure in Action. It > was a good night. > > -Jeff Very cool. Thanks for sharing! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: post your feedback on the conj
Yup. Count me in as another Clojurian thirsty for videos from the conference. I'm definitely willing to fork over a couple of bucks for the pleasure as well. - Farley On Nov 30, 10:22 pm, Brent Millare wrote: > +1, I surprised a video from the conference hasn't been posted yet. > Are there legal restrictions involved? > > On Nov 30, 3:42 pm, László Török wrote: > > > > > +1, there is an other popular conference called QCon and I many of us > > appreciate the videos released on infoq.com. :) > > > 2010/11/30 cej38 > > > > I would also like to watch the videos of the presentations. Even if I > > > had to pay for them. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Domain Modelling
Stuart pretty much nails it. This is the strategy that I have taken in my own Clojure apps. Having said that it would be nice to see an extensive, with comprehensive examples, "Domain Modelling with Clojure" write up. On Jan 25, 12:30 pm, Stuart Sierra wrote: > On Jan 24, 4:29 am, Barry Dahlberg wrote: > > > It is obvious (to me) how to go about this in C#... a class for > > Product, properties for Name, Price etc. Where should I go for advice > > on how to model these ideas in Clojure? > > It's basically the same thing. Use namespaces instead of classes and > functions instead of methods. > > You can use the same techniques -- encapsulation, abstract data types, > polymorphism -- that you would use in object-oriented programming. > > Though only available on github right now, datatypes and protocols > will provide a very flexible, efficient data modeling scheme. > > -SS -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en