Clojure data science community update - Aug. 2022 - Kira McLean

2022-08-02 Thread Daniel Slutsky
This Scicloj community update by Kira McLean is clarifying the intent of some current community efforts around Clojure & Data. https://www.youtube.com/watch?v=63-KGa3Flac Among other things, it is telling how Scicloj is gradually opening up to address not only Clojurians, not

Re: Digest for clojure@googlegroups.com - 1 update in 1 topic

2022-03-24 Thread 'Harvie Griffith Jr.' via Clojure
legroups.com Google Groups > Topic digest > View all topics > Clojure 1.11 is now available! - 1 Update > Clojure 1.11 is now available! > Mark Engelberg : Mar 22 10:30PM -0700 > > Exciting! Thanks for the new release. > > Where can I find more informatio

[ANN] Dutch Clojure Day 2017 Update, and Final Call for RFP

2017-01-23 Thread Vijay Kiran
Hello Everyone, The team behind Dutch Clojure Day is hard at work and I'd like to share some quick updates : - We have a nice venue confirmed in the centre of Amsterdam - http://tq.co - We have some great sponsors for our event this time: • http://www.adgoji.com - *Platinum* • https://juxt.pro/

Re: Clojure infrastructure update

2016-11-19 Thread Alex Miller
Yes, would very much like to have these under https. -- 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

Re: Clojure infrastructure update

2016-11-19 Thread John Jacobsen
Great news, Alex. One question not on your list: are there any plans to put JIRA behind HTTPS? I went to change my password recently and noticed my username/password would be sent in the clear. > > Thanks for all the work you do for the community. John J. -- You received this message becau

Clojure infrastructure update

2016-11-18 Thread Alex Miller
I have been working with our hosting provider (thanks Contegix!) to upgrade the hosts underneath *dev.clojure.org * (JIRA and confluence) and *build.clojure.org * (Hudson). The new hosts are much more recent versions of the OS and seem to be faster.

Re: How to update state in a webapp

2016-05-29 Thread babysnakes
s handlers via middleware closure. This works >> great when the state is static. Now I have to write a small service where >> the state should be updated (I have to periodically pull new >> configurations). The first place I can think of to put this state is in a >> glo

Re: How to update state in a webapp

2016-05-29 Thread Brian Platz
osure. This works > great when the state is static. Now I have to write a small service where > the state should be updated (I have to periodically pull new > configurations). The first place I can think of to put this state is in a > global atom, but I was wondering if there's a

How to update state in a webapp

2016-05-28 Thread babysnakes
atom, but I was wondering if there's a pattern that allows me to dynamically update global state without using global atom. Thanks in advance Haim -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to

Re: Possible to override assoc-in or update-in?

2016-04-20 Thread JvJ
That was actually the example I used to implement this. As it turns out, assoc-in, update-in, etc. work on anything that supports assoc. On Wednesday, 20 April 2016 13:39:40 UTC-7, Andy Fingerhut wrote: > > I don't know if assoc-in etc. work on the clojure.data.priority-map data &

Re: Possible to override assoc-in or update-in?

2016-04-20 Thread Andy Fingerhut
>>>>>> cross-map. It's similar to a two-way map, but they're not the same >>>>>> thing. >>>>>> >>>>>> For instance, a common operation would be something like "give me all >>>>>> values of this map

Re: Possible to override assoc-in or update-in?

2016-04-20 Thread JvJ
>>> values of this map that contain the key :a." >>>>> >>>>> In order to do this efficiently, I'm maintaining a second map that >>>>> maps keys in the values of the main map to keys of the main map whose >>>>> values conta

Re: Possible to override assoc-in or update-in?

2016-04-18 Thread Timothy Baldridge
tain that key. >>>> >>>> If that sounds confusing, consider this: >>>> main-map: >>>> {:foo {:a 1 :b 2} :bar {:a 2 :c 4} :baz {:b 3 :c 5}} >>>> >>>> Corresponding cross-indices: >>>> {:a #{:foo :bar} :b #{:foo :baz}

Re: Possible to override assoc-in or update-in?

2016-04-18 Thread JvJ
that key. >>> >>> If that sounds confusing, consider this: >>> main-map: >>> {:foo {:a 1 :b 2} :bar {:a 2 :c 4} :baz {:b 3 :c 5}} >>> >>> Corresponding cross-indices: >>> {:a #{:foo :bar} :b #{:foo :baz} :c #{:bar :baz}} >>> >>

Re: Possible to override assoc-in or update-in?

2016-04-18 Thread Timothy Baldridge
s >> contain that key. >> >> If that sounds confusing, consider this: >> main-map: >> {:foo {:a 1 :b 2} :bar {:a 2 :c 4} :baz {:b 3 :c 5}} >> >> Corresponding cross-indices: >> {:a #{:foo :bar} :b #{:foo :baz} :c #{:bar :baz}} >> >> As you can

Re: Possible to override assoc-in or update-in?

2016-04-18 Thread Timothy Baldridge
gt; {:foo {:a 1 :b 2} :bar {:a 2 :c 4} :baz {:b 3 :c 5}} > > Corresponding cross-indices: > {:a #{:foo :bar} :b #{:foo :baz} :c #{:bar :baz}} > > As you can see, each key maintains references to those entries where it is > found. > > When a nested update occurs that add

Possible to override assoc-in or update-in?

2016-04-18 Thread JvJ
ain that key. If that sounds confusing, consider this: main-map: {:foo {:a 1 :b 2} :bar {:a 2 :c 4} :baz {:b 3 :c 5}} Corresponding cross-indices: {:a #{:foo :bar} :b #{:foo :baz} :c #{:bar :baz}} As you can see, each key maintains references to those entries where it is found. When a nested update

[DOCS] clojure.org Feb update

2016-02-22 Thread Alex Miller
I've been meaning to do an update on clojure.org, now that it's been a little over a month since we switched over to the new site. I'm very happy with everything I've seen on the operational side - the Clojure web site has had much less down time than the old host, is se

data.xml update

2015-09-22 Thread Herwig Hochleitner
Hello Everybody, it took me about a year and multiple failed rewrites, to admit, that keeping a compatibility mode for the current prefix-emitting hack in clojure.data.xml, is just to much of a hassle and complexity nightmare for it to be worth it. So now, non-namespaced names are represented as p

Re: Single-atom update ordering guarantees

2015-06-09 Thread Fluid Dynamics
On Tuesday, June 9, 2015 at 4:24:16 PM UTC-4, Michael Gardner wrote: > > Thanks. That does appear to provide the guarantee I was looking for. > > > On Jun 9, 2015, at 12:14 PM, Andy Fingerhut > wrote: > > > > swap! is implemented using Java's AtomicReference class and its > compareAndSet metho

Re: Single-atom update ordering guarantees

2015-06-09 Thread Michael Gardner
Thanks. That does appear to provide the guarantee I was looking for. > On Jun 9, 2015, at 12:14 PM, Andy Fingerhut wrote: > > swap! is implemented using Java's AtomicReference class and its compareAndSet > method. I haven't dug into the Java source code implementing that class, but > you can

Re: Single-atom update ordering guarantees

2015-06-09 Thread Andy Fingerhut
swap! is implemented using Java's AtomicReference class and its compareAndSet method. I haven't dug into the Java source code implementing that class, but you can read the Java documentation for all Atomic* Java classes here: https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/p

Re: Single-atom update ordering guarantees

2015-06-09 Thread Michael Gardner
I'm talking about a scenario where a single thread does inc, followed shortly by dec. Obviously from that thread's perspective, the value will never be zero, but what about as seen by other threads? My understanding of Java's memory model is that instructions within a single thread *can* get re

Re: Single-atom update ordering guarantees

2015-06-09 Thread Andy Fingerhut
I am not sure why Atamert says "No". If the (swap! a inc) and (swap! a dec) are executed in different threads, and they can occur in either order because there is no synchronization between those threads that prevents one of the two possible orders from occurring, then another thread *could* see a

Re: Single-atom update ordering guarantees

2015-06-09 Thread Atamert Ölçgen
On Tue, Jun 9, 2015 at 7:30 PM, Michael Gardner wrote: > This might be blindingly obvious to some, but I can't find any discussion > about it. Let's say I have code like the following: > > (def a (atom 1)) > ... > (swap! a inc) > (swap! a dec) > > Is there any possibility of another thread seeing

Single-atom update ordering guarantees

2015-06-09 Thread Michael Gardner
This might be blindingly obvious to some, but I can't find any discussion about it. Let's say I have code like the following: (def a (atom 1)) ... (swap! a inc) (swap! a dec) Is there any possibility of another thread seeing a=0? If not, what provides this guarantee? -- You received this mess

Re: Update multiple values in vector at once

2015-04-03 Thread Leon Grapenthin
(defn upd-vec [input-vector ids new-values] (apply assoc input-vector (interleave ids new-values))) (upd-vec [0 0 0 0 0] [1 3] [1.44 1.45]) ;=> [0 1.44 0 1.45 0] On Monday, March 30, 2015 at 8:05:44 PM UTC+2, Alexandr wrote: > > Hello everybody, > > How can I update value

Re: Update multiple values in vector at once

2015-03-30 Thread Alexandr
; On 30 March 2015 at 20:05, Alexandr > > wrote: > >> Hello everybody, >> >> How can I update values in the vector given vector of id-s and new values? >> >> For example >> >> (defn upd-vec [input-vector ids new-values] >> >> ) &g

Re: Update multiple values in vector at once

2015-03-30 Thread Michał Marczyk
(defn upd-vec [input-vector ids new-values] (reduce-kv #(assoc %1 %3 (new-values %2)) input-vector ids)) (upd-vec [0 0 0 0 0] [1 3] [1.44 1.45]) ;= [0 1.44 0 1.45 0] On 30 March 2015 at 20:05, Alexandr wrote: > Hello everybody, > > How can I update values in the vector given vecto

Update multiple values in vector at once

2015-03-30 Thread Alexandr
Hello everybody, How can I update values in the vector given vector of id-s and new values? For example (defn upd-vec [input-vector ids new-values] ) (upd-vec [0 0 0 0 0] [1 3] [1.44 1.45]) Output: [0 1.44 0 1.45 0] (1st and 3rd elements are replaced) -- You received this message

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-03-13 Thread Karsten Schmidt
Hi Kovas, so far the mesh types (GMesh & BasicMesh) were mainly used for 3d printing rather than viz purposes and have not yet support for vertex or face attributes. It is something I still need to port over from the previous version of the lib. I held off on that so far to first let the WebGL conv

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-03-12 Thread kovas boguta
On Thu, Mar 12, 2015 at 8:18 PM, kovas boguta wrote: > > I want to associate a color to each face of a cuboid, tesselate the > cuboid, and end up with an array of vertices and an array of matching > colors. > To clarify, I want to turn the cuboid into a mesh, and then do the tessellation of the

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-03-12 Thread kovas boguta
Hi Karsten, Technical usage question. I want to associate a color to each face of a cuboid, tesselate the cuboid, and end up with an array of vertices and an array of matching colors. My problem is associating the colors of the cuboid faces to their tessellated versions. AFAICT tessellation simp

Re: Could use a better error message here (using a list in update-in)

2015-03-11 Thread John Gabriele
errormsg" > http://dev.clojure.org/display/community/Creating+Tickets > > –S > > > On Tuesday, March 10, 2015 at 3:13:36 PM UTC, John Gabriele wrote: >> >> In Clojure v1.6.0. This one confused me when I'd accidentally passed a >> list in to `update-in` instead of

Re: Could use a better error message here (using a list in update-in)

2015-03-10 Thread Stuart Sierra
Please file a ticket in JIRA and tag it with "errormsg" http://dev.clojure.org/display/community/Creating+Tickets –S On Tuesday, March 10, 2015 at 3:13:36 PM UTC, John Gabriele wrote: > > In Clojure v1.6.0. This one confused me when I'd accidentally passed a > list in t

Could use a better error message here (using a list in update-in)

2015-03-10 Thread John Gabriele
In Clojure v1.6.0. This one confused me when I'd accidentally passed a list in to `update-in` instead of a vector: ~~~ some-app.core=> (update-in [:a :b :c] [1] name) [:a "b" :c] some-app.core=> (update-in '(:a :b :c) [1] name) NullPointerException clojur

[ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread Daniel
This is incredible work. 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 uns

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread Karsten Schmidt
This draft anim was created for The ODI and shows 2 years (summer 2011-2013) worth of London knife crime (based on open data ambulance & A&E reports): http://media.thi.ng/2013/odi/20131029-heatmap-draft-1280x960.mp4 On 26 February 2015 at 00:42, Dylan Butman wrote: > I totally thought that map w

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread Dylan Butman
I totally thought that map was a photo of 3d printed shapes, but it makes sense that you're using luxrender now. Is there a video of the animation online somewhere? On Wed Feb 25 2015 at 6:13:25 PM Karsten Schmidt wrote: > That's a good point, Bruce! To be honest, I don't know anymore, but it >

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread Karsten Schmidt
Computational design = using computational approaches to design problems, for anything from analysis, implementation to representation... CSG is indeed only for meshes since it's based on BSP partitioning and because of that also has a few edge cases (due to float precision) where it breaks down a

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread Jason Felice
So... what is "computational design"? I've been using OpenSCAD to make models for 3D printing, and I keep wishing for a Clojure syntax and real functions and things. Is this it? (It doesn't seem to have constructive solid geometry for things which aren't meshes.) -Jason On Wed, Feb 25, 2015 at

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread Karsten Schmidt
That's a good point, Bruce! To be honest, I don't know anymore, but it makes complete sense to change it. Consider it done! :) As for your mapping question, yes, of course! I've done a few of them. E.g. the first pic on the website [1] was a project for The ODI in 2013 and is a map of different co

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread Bruce Durling
Karsten, Is there a reason why you went with a README.md and then an index.org rather than a plain README.org? (love all the rest of it and loved your use of it at The Barbican. I need to get my head around it all. I'm wondering if I can use it for some of the geographic and other charting things

Re: [ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread Dylan Butman
Hey Karsten, Really glad to see you've been continuing the awesome work here! I used toxiclibs extensively when I first starting programming in processing and it was hugely influential for me! I've been drifting away from computational design since then but I'm hoping to get some serious time t

Re: [ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread adriaan . sticker
Just took a look at your website, Very nice project. In my opinion a prime example that clojure is suitable for large projects. I don't know if anyone ever thought about it. But I guess the geom library would be a good option as a backend for a plotting library (ggplot style). (eg in incanter,

[ANN] thi.ng collection update (CLJ/CLJS)

2015-02-24 Thread Karsten Schmidt
Hi guys, thi.ng is a collection of over a dozen largely x-platform Clojure & Clojurescript libs for computational/generative design & data visualization tasks. I just wanted to give a little heads up that this project has recently seen a number of releases and, as a whole, by now is generally qui

project.clj dependencies auto-update

2015-01-19 Thread Nikita Beloglazov
TL;DR if you have clojure project on github you can setup Hatnik <http://hatnik.com/> to update dependencies by pull request once new versions are available Hatnik is a project we started at ClojureCup. It allows you to subscribe to any libraries and perform certain actions once new ve

Re: Better update function

2014-12-22 Thread Juvenn Woo
Dear Steve, I’m new in clojure as well, but if we try to break up your one function into two, we’d have the following: (defn update1 "Given a two-level nested vector of maps, two keys for each map, and an update function. Apply the function in the inner map, and returns nested stru

Better update function

2014-12-21 Thread Steve Ashton
I'm trying to figure out if there is a better / more concise / more generic way to write an update function. The data I have is a vector of maps containing vectors of maps. For example: [{:values [{:y 1 :x 4}{:y 2 :x 7}]}{:values [{:y 5 :x 8}]}] The goal is to update all the :y values o

Re: [ANN] BigBang v0.1.1 - compose stuartsierra.component/system-update(s) in start invocation time

2014-12-12 Thread JUAN ANTONIO Ruz
and about ..."something that's hard to do with just Component, and easy to do with BigBang" in my last example https://github.com/milesian/bigbang-example/blob/master/src/bigbang_example/core.clj#L60-L64 I could use 3 different library update-system actions in a specific

Re: [ANN] BigBang v0.1.1 - compose stuartsierra.component/system-update(s) in start invocation time

2014-12-12 Thread JUAN ANTONIO Ruz
Hi James! You're right I wrote a lot about the relation between "component definition", "update-system fn" and "system customization" but very little about BigBang... Basically with the minimal code provided <https://github.com/milesian/BigBang/blob/m

Re: [ANN] BigBang v0.1.1 - compose stuartsierra.component/system-update(s) in start invocation time

2014-12-11 Thread James Reeves
I've read through the README, but I still don't feel like I understand what problem this library is trying to solve. Could you perhaps provide an example of something that's hard to do with just Component, and easy to do with BigBang? - James On 11 December 2014 at 17:31, JUAN ANTONIO Ruz wrote

[ANN] BigBang v0.1.1 - compose stuartsierra.component/system-update(s) in start invocation time

2014-12-11 Thread JUAN ANTONIO Ruz
Hi folks, I wanted to share here BigBang, my library proposal in customization the way stuartsierra/component system starts. I'll copy here "*Why did I write this library*?" After trying to get working Aspect Oriented Programming and Reverse Dependency Injection in stuartuartsierra/component

[UPDATE] Spring/Clojure integration / changing Clojure references via JMX attributes

2014-11-10 Thread henrik42
Hello again, just in case anybody is following this - I added stuff that lets you publish your mutable references (atom, ref, var) as JMX attributes so that you may use jconsole to change things at runtime. https://github.com/henrik42/spring-break#changing-mutable-state-references-via-jmx-attr

[UPDATE] Spring/Clojure integration / Clojure functions via JMX

2014-10-18 Thread henrik42
Hi folks, I added code that lets you call your clojure functions via JMX operations. https://github.com/henrik42/spring-break#jmxmbeans Cheers Henrik -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google

Re: 101 on simple and flexible graph query/update?

2014-07-11 Thread Bertrand Dechoux
ng > things like hickory-parse/data.zip selector concepts. > > For the Ontology work we use datomic as the persist mechanism. > > > > On Thursday, July 10, 2014 4:26:33 AM UTC-4, Bertrand Dechoux wrote: >> >> Hi, >> >> I have various general questions about

Re: 101 on simple and flexible graph query/update?

2014-07-10 Thread Frank Castellucci
rm simple and > flexible graph query/update. > > If we start by a structure being nested maps then I know about > get-in/update-in/assoc-in. The common point about these functions is that > they all take a path to where the data is in the superstructure and that > this path

Re: 101 on simple and flexible graph query/update?

2014-07-10 Thread François Rey
Also of interest is datomic datalog on regular clojure data structures and records: https://gist.github.com/stuarthalloway/2645453 https://gist.github.com/stuarthalloway/3068749 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, s

Re: 101 on simple and flexible graph query/update?

2014-07-10 Thread Bertrand Dechoux
or implementing query/update based on a more flexible path definition. But by themselves, they are a bit low level. They indeed are beautiful and useful abstractions but I think another abstraction, even higher, could be built. *@Daniel Neal:* I will look into it. I am new to lenses as I said. I d

Re: 101 on simple and flexible graph query/update?

2014-07-10 Thread Daniel Neal
> Is there a way to do something similar with a more general definition of a path? The lens library Fresnel (https://github.com/ckirkendall/fresnel) might be worth a look - it abstracts get-in/assoc-in into lenses which can store/retrieve state from complex structures (and can be composed).

Re: 101 on simple and flexible graph query/update?

2014-07-10 Thread François Rey
On 10/07/14 10:26, Bertrand Dechoux wrote: For both question 1) and 2), a more appropriate data structure might be the answer like a graph/semantic-like store (Datomic or something else). The questions are about intermediary solutions which would be less heavier. I would suggest you look into

Re: 101 on simple and flexible graph query/update?

2014-07-10 Thread Thomas Heller
out how one can perform simple and > flexible graph query/update. > > If we start by a structure being nested maps then I know about > get-in/update-in/assoc-in. The common point about these functions is that > they all take a path to where the data is in the superstructure and that &

101 on simple and flexible graph query/update?

2014-07-10 Thread Bertrand Dechoux
Hi, I have various general questions about how one can perform simple and flexible graph query/update. If we start by a structure being nested maps then I know about get-in/update-in/assoc-in. The common point about these functions is that they all take a path to where the data is in the

Re: Clojure: Clojure.contrib.sql: How do I update ALL the rows of a database table?

2014-06-26 Thread Sean Corfield
On Jun 26, 2014, at 4:03 PM, Raoul Duke wrote: > e.g. things that turn up in google: > http://dev.clojure.org/display/doc/Clojure+Contrib+Libraries Which says: "If you currently depend on the "Monolithic Contrib", you are encouraged to look at the new modular contrib projects to see if your dep

Re: Clojure: Clojure.contrib.sql: How do I update ALL the rows of a database table?

2014-06-26 Thread Raoul Duke
er, should the various pages be updated to say that they are all super deprecated now? e.g. things that turn up in google: http://dev.clojure.org/display/doc/Clojure+Contrib+Libraries On Thu, Jun 26, 2014 at 3:58 PM, Sean Corfield wrote: > Clojure Contrib libraries are all deprecated and very out

Re: Clojure: Clojure.contrib.sql: How do I update ALL the rows of a database table?

2014-06-26 Thread Sean Corfield
Clojure Contrib libraries are all deprecated and very out of date. For clojure.contrib.sql, you'll want to use clojure.java.jdbc instead. Complete (community-maintained) documentation can be found here: http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html Reference documentation can be

Clojure: Clojure.contrib.sql: How do I update ALL the rows of a database table?

2014-06-25 Thread June
*clojuredocs.org/clojure_contrib/clojure.contrib.sql/…* <http://clojuredocs.org/clojure_contrib/clojure.contrib.sql/update-values#example_953> How do I set the where clause to 1=1? -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: Clojure Contributor Agreement process update

2014-06-11 Thread Ustun Ozgur
On Tuesday, June 10, 2014 11:35:34 PM UTC+3, Sergey Didenko wrote: > > Sorry if that was already answered, > > Is there a possibility to get rid of this legalwall? > > Interestingly, node.js has just done that today: http://www.joyent.com/blog/broadening-node-js-contributions Ustun > -- Y

Re: Clojure Contributor Agreement process update

2014-06-11 Thread Sergey Didenko
I look at it from the psychological point of view. There is a similar design decision in a website world - mandatory login vs relaxed login. For years a lot of webmasters were quite inert to even look at possibility to relax login requirement for core site activities. However in the online shoppi

Re: Clojure Contributor Agreement process update

2014-06-10 Thread Atamert Ölçgen
Excuse my ignorance. But from what I've read, it all seems fair game. Essentially contributors are assigning the same rights they have to project's creator, no? What exactly feels wrong to you? On Tue, Jun 10, 2014 at 8:35 PM, Sergey Didenko wrote: > Sorry if that was already answered, > > Is t

Re: Clojure Contributor Agreement process update

2014-06-10 Thread Luc Prefontaine
What about the real world constraints ? As far as I know, everyone needs air, water, heat, and a minimal food ration to survive. The day I cut your air away, I bet you'll be suddenly be very concerned about the 'the physical world' and that you will relinquish the 'digital age' way back in

Re: Clojure Contributor Agreement process update

2014-06-10 Thread Timothy Baldridge
Welcome to the "real world", where programmer ideals are often overridden by the concerns of lawyers. That's what it comes down to, you have to do it this way in the US (and other places) or risk legal issues. https://www.clahub.com/pages/why_cla Timothy On Tue, Jun 10, 2014 at 2:35 PM, Sergey

Re: Clojure Contributor Agreement process update

2014-06-10 Thread Sergey Didenko
Sorry if that was already answered, Is there a possibility to get rid of this legalwall? I realize that there are good intents behind the existing practice, but it feels a bit wrong for an open source artifact in the digital age of instant sharing. > Starting today, we have updated the Clojure

Re: Clojure Contributor Agreement process update

2014-06-10 Thread Michael O'Keefe
Thank you for all you do. This is wonderful! -Michael O'Keefe On Tuesday, June 10, 2014 6:49:52 AM UTC-6, Tim Visher wrote: > > (boom) > > On Mon, Jun 9, 2014 at 1:23 PM, Alex Miller > wrote: > > Starting today, we have updated the Clojure Contributor Agreement > process. > > The prior proce

Re: Clojure Contributor Agreement process update

2014-06-10 Thread Tim Visher
(boom) On Mon, Jun 9, 2014 at 1:23 PM, Alex Miller wrote: > Starting today, we have updated the Clojure Contributor Agreement process. > The prior process which involved signing and mailing a form has been > replaced with an online e-signing process. > > Existing contributors that have signed the

Re: Clojure Contributor Agreement process update

2014-06-09 Thread Andrey Antukh
Very nice! \o/ 2014-06-09 20:57 GMT+02:00 Plínio Balduino : > \o/ > > On Mon, Jun 9, 2014 at 3:34 PM, Michael Klishin > wrote: > > 2014-06-09 21:23 GMT+04:00 Alex Miller : > > > >> Starting today, we have updated the Clojure Contributor Agreement > process. > >> The prior process which involved

Re: Clojure Contributor Agreement process update

2014-06-09 Thread Plínio Balduino
\o/ On Mon, Jun 9, 2014 at 3:34 PM, Michael Klishin wrote: > 2014-06-09 21:23 GMT+04:00 Alex Miller : > >> Starting today, we have updated the Clojure Contributor Agreement process. >> The prior process which involved signing and mailing a form has been >> replaced with an online e-signing proces

Re: Clojure Contributor Agreement process update

2014-06-09 Thread Michael Klishin
2014-06-09 21:23 GMT+04:00 Alex Miller : > Starting today, we have updated the Clojure Contributor Agreement process. > The prior process which involved signing and mailing a form has been > replaced with an online e-signing process. \o/ -- MK http://github.com/michaelklishin http://twitter.co

Clojure Contributor Agreement process update

2014-06-09 Thread Alex Miller
Starting today, we have updated the Clojure Contributor Agreement process. The prior process which involved signing and mailing a form has been replaced with an online e-signing process. Existing contributors that have signed the Contributor Agreement are unaffected - those agreements are still in

Re: Strange update-in Behavior

2014-05-29 Thread Stuart Fehr
his is considered a "bug" or if it is simply expected > behavior, so I thought I would ask the list for clarification. > > I have this test which passes and shows the strange behavior that I am > encountering: > > (deftest update-in-and-remove > ;; The leaf value becomes an

Re: Strange update-in Behavior

2014-05-29 Thread Ben Wolfson
it is expected behavior, because update-in calls the supplied function with the value it finds in the map as the first argument, so your first call ends up being (remove [1 2 3] #{2}) Since ([1 2 3] 2) = 3 and is truthy, the result is (). In your second case you're using (partial remov

Strange update-in Behavior

2014-05-29 Thread Stuart Fehr
I am not sure if this is considered a "bug" or if it is simply expected behavior, so I thought I would ask the list for clarification. I have this test which passes and shows the strange behavior that I am encountering: (deftest update-in-and-remove ;; The leaf value becomes and

Re: Update

2014-04-29 Thread Andrew Chambers
For the llvm based approach you can look at vmkit. On Wednesday, April 30, 2014 3:39:21 AM UTC+12, Divyansh Prakash wrote: > > Check out my previous reply. The parrot vm provides gc and everything, But > still the author defines lambda primitives in c, and then builds over it. -- You received t

Re: Update

2014-04-29 Thread Divyansh Prakash
Check out my previous reply. The parrot vm provides gc and everything, But still the author defines lambda primitives in c, and then builds over it. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegr

Re: Update

2014-04-29 Thread Gary Trakhman
The hard part with other runtimes will be details around things like garbage collection for the implementation of persistent data structures. Clojurescript is a better example of how this is done since most of the impls are implemented in the language itself, different from clojure-proper. Grante

Re: Update

2014-04-29 Thread Divyansh Prakash
Why not emit bytecode directly from the language? Couldn't this potentially lead to tons of specialized optimizing macros? -- 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 f

Re: Update

2014-04-29 Thread Divyansh Prakash
I looked into a port of Clojure to Parrot, and it basically does the same thing . -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clo

Re: Update

2014-04-29 Thread Divyansh Prakash
Thank you for the explanation. What if I target a non-OO-centric VM (like Parrot or LLVM)? I've noticed that most Lisp implementations define lambda calculus primitives, and then use those as the core. I wonder what would be if we had bytecode primitives, and defined everything else on top of th

Re: Update

2014-04-29 Thread David Powell
The JVM is very class-oriented. It is basically designed for Java, and corresponds pretty much to the things you can do in Java. Code belongs to methods which belong to classes, and calls are made using java method calling conventions. Data has to be stored in primitives, arrays, or objects; and

Re: Update

2014-04-29 Thread Andrew Chambers
Well, why write it in primitives when there is a perfectly good compiler from java to primitives? I dont quite understand why you think there would be benefit from manually writing everything with java bytecode. The JVM works with classes, thats how its designed, Clojure itself is just a java l

Re: Update

2014-04-29 Thread Divyansh Prakash
Why are Clojure features defined in terms of Java classes, instead of as bytecode primitives? For eg: Cons is a class containing two objects: first and rest. Is this only to achieve Java interoperability, or is there more to it? -- You received this message because you are subscribed to the Goog

Re: Update

2014-04-28 Thread Divyansh Prakash
> > Thanks! > Exactly what I was looking for. -- 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

Re: Update

2014-04-28 Thread Gary Trakhman
Seen: https://github.com/clojure/tools.emitter.jvm ? Here's the actual ASM emit: https://github.com/clojure/tools.emitter.jvm/blob/master/src/main/clojure/clojure/tools/emitter/jvm/transform.clj On Mon, Apr 28, 2014 at 5:43 PM, Divyansh Prakash < divyanshprakas...@gmail.com> wrote: > ---IDEA---

Re: Update

2014-04-28 Thread Divyansh Prakash
Jasmin would be a much better choice, btw, because it could be used as a dependency in Clojure. -- 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 moderat

Update

2014-04-28 Thread Divyansh Prakash
---IDEA--- I was wondering if we could have a bytecode DSL that would map directly to JVM assembler, using either Jasmin or Krakatau . Then we could define primitives using these bytecode instructions. For eg: (defroutine

Re: How do I update a record in a vector, matching certain criteria?

2014-04-09 Thread Ivan Schuetz
Hi, thanks a lot! I ended putting the question in StackOverflow, yesterday, and also got this answer. It would have took a while until I came up with this. But now I understand. For my concrete case I needed to update the record with all fields passed in a map. So I did: (commute items

Re: How do I update a record in a vector, matching certain criteria?

2014-04-08 Thread Leif
As I said I already looked in the docs, and know these basic examples, but > I don't know how to do: > > *"How can I say in a vector of records e.g. "set name of element to "foo" > where id is equal 1"?"* > > > The remove by Id works, I poste

Re: How do I update a record in a vector, matching certain criteria?

2014-04-08 Thread Gary Trakhman
> >> My response had the assumption that this is an example of an X-Y problem >> :-). >> >> If you want to literally do what you said, then you can't use update-in >> because the value at that point is a seq. >> >> If you have to continue in this way, fo

Re: How do I update a record in a vector, matching certain criteria?

2014-04-08 Thread Gary Trakhman
id, then you can't use update-in > because the value at that point is a seq. > > If you have to continue in this way, for some reason, what you probably > want is map-indexed, which provides the index of the element as one of the > parameters to the mapping function. > > You

Re: How do I update a record in a vector, matching certain criteria?

2014-04-08 Thread Gary Trakhman
My response had the assumption that this is an example of an X-Y problem :-). If you want to literally do what you said, then you can't use update-in because the value at that point is a seq. If you have to continue in this way, for some reason, what you probably want is map-indexed,

  1   2   3   4   5   >