Re: Clojure beyond Java 6 ?

2016-01-21 Thread Mars0i
Thanks Alex, Mike, Sean for clarification about Java 8 in relation to Clojure. I breath easier now. :-) -- 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 ar

Re: ANN replikativ 0.1.0 - strong eventual consistent P2P replication for clj and cljs

2016-01-21 Thread Teemu Kaukoranta
Thank you, this looks immensely interesting! I'm still having trouble understanding when exactly one should use replikativ; are you saying it will make it easier to build offline applications? There's two things that make this difficult to understand: its academic nature, and the fact that man

[ANN] Brute 0.4.0 - A lightweight Entity Component System library for writing games

2016-01-21 Thread Mark Mandel
Brute is a simple and lightweight Entity Component System library for writing games with Clojure and ClojureScript. This release is essentially just a move from CLJX to Reader Conditionals to implement support for both CLJ and CLJS. Full details, and how the conversation process went can be found

Re: Debugging idea for a constrained situation

2016-01-21 Thread Jonah Benton
If you're in a place where you're hunting for major architectural patterns to consider in what could amount to a rewrite, well, certainly there is no free lunch. But the pattern you mention- capturing external event history- is in the vein of Event Source systems http://martinfowler.com/eaaDev/Eve

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Sean Corfield
On 1/21/16, 12:57 PM, "Mark Derricutt" wrote: >I suspect it's pushing the type inferencer and lambda/method-handle code to >the edges of edgey edge cases "as far as standard java is concerned". Yes, true, although for the Java compiler itself to produce bytecode that fails the verifier is… co

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Sean Corfield
On 1/21/16, 11:55 AM, "Nicola Mometto" wrote: >Do you have a link where we can read about those issues? https://groups.google.com/d/msg/frege-programming-language/MQgmSduKb4M/yW9HvmBRAQAJ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Re: Heard about clojure today. is it one of the big tecnologies for the future? or is it becoming deprecated?

2016-01-21 Thread henry w
Miguel, it's one of the big technologies of the future, definitely! :-) On Wednesday, January 20, 2016 at 4:07:22 PM UTC, Miguel Domingos wrote: > > Hi, > > Just checked GIT Hub Pulse and it is very low. I just heard about this > technology today, so I don't know. > https://github.com/clojure/clo

Re: ANN replikativ 0.1.0 - strong eventual consistent P2P replication for clj and cljs

2016-01-21 Thread Christian Weilbach
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21.01.2016 06:22, Zubair Quraishi wrote: > This is great work! Can it be compared to something like Datomic > and Datascript? > It is mostly complementary with Datascript and it can be combined with Datomic as well. I have so far basically replicat

Re: [ClojureScript] Re: ANN replikativ 0.1.0 - strong eventual consistent P2P replication for clj and cljs

2016-01-21 Thread Christian Weilbach
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20.01.2016 17:30, Thomas wrote: > Looks very interesting and I suspect there were some pretty hard > problems to solve!!! Since I started to explicitly use the CRDT formalism, I don't have to reimplement the wheel and there are a few pretty cool ide

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Mark Derricutt
On 22 Jan 2016, at 8:50, Mars0i wrote: > The Frege project (a Haskell for the JVM) is running into problems with the > Java 8 compiler (producing invalid JVM bytecode or just  >   > Ugh.  Am I making a mistake by using Java 8?  "Invalid JVM bytecode", i.e. > it's syntactically incorrect and won'

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Alex Miller
On Thursday, January 21, 2016 at 1:50:02 PM UTC-6, Mars0i wrote: > > On Thursday, January 21, 2016 at 12:14:33 PM UTC-6, Sean Corfield wrote: >> >> The Frege project (a Haskell for the JVM) is running into problems with >> the Java 8 compiler (producing invalid JVM bytecode or just > > > Ugh.

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Nicola Mometto
Do you have a link where we can read about those issues? > On 21 Jan 2016, at 18:14, Sean Corfield wrote: > > Colin Fleming wrote on Wednesday, January 20, 2016 at 6:33 PM: >>> I feel like a broken record here, but I'd like to protest again at this >>> characterisation. No-one cares more than m

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Mars0i
On Thursday, January 21, 2016 at 12:14:33 PM UTC-6, Sean Corfield wrote: > > The Frege project (a Haskell for the JVM) is running into problems with > the Java 8 compiler (producing invalid JVM bytecode or just Ugh. Am I making a mistake by using Java 8? "Invalid JVM bytecode", i.e. it's sy

Debugging idea for a constrained situation

2016-01-21 Thread fahptv
While not strictly Clojure-related, I thought I'd share this idea with you here because (1) I came up with it while thinking about design from a Clojure / functional point of view and (2) I respect your opinion. It's very likely you'll have better ideas... *I'm in an highly constrained situatio

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Sean Corfield
Colin Fleming wrote on Wednesday, January 20, 2016 at 6:33 PM: I feel like a broken record here, but I'd like to protest again at this characterisation. No-one cares more than me about getting off Java 6, but I have no choice. Oracle refuse to fix serious Swing/AWT bugs in later versions of the

Re: Heard about clojure today. is it one of the big tecnologies for the future? or is it becoming deprecated?

2016-01-21 Thread Herwig Hochleitner
2016-01-20 17:04 GMT+01:00 Miguel Domingos : > Just checked GIT Hub Pulse and it is very low. I just heard about this > technology today, so I don't know. > https://github.com/clojure/clojure/pulse > The fact that clojure's language core has very little churn actually makes the language quite pl

Re: Get value from JSON

2016-01-21 Thread Alex Latorre
Thank you so much Marc!! It works perfect! :) El jueves, 21 de enero de 2016, 16:36:31 (UTC+1), Marc O'Morain escribió: > > The `get-in` function will help you: > > > user=> (def result {:results [{:series [{:name "solr.numPedidos5", > :columns ["time" "last"], :values [["1970-01-01T00:00:00Z" 0]

Get value from JSON

2016-01-21 Thread Alex Latorre
Hi all, I'm trying to get a value from a JSON. I query an influxdb database and I get the next reply: {:orig-content-encoding gzip, :trace-redirects [http:///query?pretty=true;db=riemann;q=select%20last(value)%20from%20%22solr.numPedidos5%22%20where%20idTag%20=%20%27ADE99003392%27], :requ

Re: Get value from JSON

2016-01-21 Thread Marc O'Morain
The `get-in` function will help you: user=> (def result {:results [{:series [{:name "solr.numPedidos5", :columns ["time" "last"], :values [["1970-01-01T00:00:00Z" 0]]}]}]}) #'user/result user=> (get-in result [:results 0 :series 0 :values 0 1]) 0 On 21 January 2016 at 15:29, Alex Latorre wrot