[ANN] aws-api 0.8.681 is now available!

2023-06-16 Thread David Chelimsky
aws-api 0.8.681 is now available! There have been a few other releases 
since our last announcement.

0.8.681 / 2023-06-16 
   
   - add :cognitect.aws.http/status and, when AWS provides an error code, 
   :cognitect.aws.error/code, to error response maps

0.8.673
 
/ 2023-05-23 
   
   - bug fix: add type-hint to resolve performance warning #239 
   

0.8.670
 
/ 2023-05-22 
   
   - WARNING: introduced performance warning; fixed in 0.8.673.
   - BREAKING CHANGE: Changes the behavior of GetObject such that a 304 
   results in an anomaly. 
  - This was reported in #240 
  , and after 
  further review we decided to keep the new behavior in order to align with 
  AWS semantics. 
 - 
 https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
 - 
 https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
  - upgrade cognitect http-client to 1.0.125 and set follow-redirects 
   false 
  - Fixes #15 
   
README: https://github.com/cognitect-labs/aws-api/
API: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/84d9d3e9-323f-4e29-af7d-0d0bef016ee0n%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.666

2023-04-27 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.666 is now available!

0.8.666 / 2023-04-27 

   - 301 gets cognitect.anomalies/incorrect instead of 
   cognitect.anomalies/fault #237 
   

0.8.664
 
/ 2023-04-26 
   
   - Safely return byte arrays from ByteBuffers, honoring the position and 
   remaining attributes, copying the underlying byte array when necessary. 
   #238 
   - Upgrade to com.cognitect/http-client "1.0.123", which includes status 
   and headers in anomalies.
  - Fixes #171 
  - Improves #15 
   
Obs: the anomaly fix provides users the opportunity to detect 301s and 
programmatically recover when the "x-amz-bucket-region" header is present.

README: https://github.com/cognitect-labs/aws-api/
API: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/3eb440a5-4a7c-48d0-9bca-4246d38e5180n%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.652

2023-02-28 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.652 is now available!

0.8.652 / 2023-02-28 
   
   - ensure that we only read InputStream request bodies once #231 
    
  - h/t @jetmind
   - convey :document types in response payloads #232 
   


README: https://github.com/cognitect-labs/aws-api/
API: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/c1991c2b-736c-444a-99c6-60926b41fce4n%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.635

2022-12-28 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.635 is now available!

0.8.635 / 2022-12-28 
   
   - fix URI parsing bug in ec2-metadata-utils (h/t @stevebuik)
  - this makes the client work in aws lambda with snapstart
  - add function to instrument test double client after initialization

README: https://github.com/cognitect-labs/aws-api/

API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/139e129c-a232-45ed-9551-a359c4dc94dan%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.630

2022-12-05 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.630 is now available!

Here are the updates since the last release we announced:

0.8.630 / 2022-12-05 
   
   - log the credentials provider that succeeded #217 
   
   - add keyword access to :api on the test double client #224 
   

0.8.620
 
/ 2022-12-01 
   
   - ensure that serialize-uri can handle longs #145 
    
  - h/t @ghost
   - add keyword access to :api on client

0.8.615
 
/ 2022-11-28 
   
   - fix URI encoding for signing #193 
    
  - h/t @kgann
   
0.8.612
 
/ 2022-10-27 
   
   - upgrade to org.clojure/core.async "1.6.673"
   - NOTE: this release requires clojure >= 1.10

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/cae0b120-bcb9-42ce-9682-9dc04cf32e81n%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.603

2022-10-14 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.603 is now available!

0.8.603 / 2022-10-11 
   
   - parse XML error messages from AWS even when we ask for JSON #174 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/edb55f46-4449-40ab-bbdc-71599fb43818n%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.596

2022-09-16 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.596 is now available!

0.8.596 / 2022-09-16 
   
   - upgrade to org.clojure/data.xml 0.2.0-alpha8. Fixes parsing issue #205 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/4cc661e9-2b40-4f85-85f5-99b0dde42149n%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.589

2022-09-12 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.589 is now available!

CHANGES (includes changes from releases since 0.8.515 - it's been a while!)

0.8.589 / 2022-09-12 

   - add api/invoke-async and deprecate api.async/invoke
   - add test double client with custom handler support #186 
   

0.8.587
 
/ 2022-08-30 
   
   - add keyword access to :service (with :metadata) and :http-client

0.8.584
 
/ 2022-08-29 
   
   - add keyword access to :region, :endoint, and :credentials on an aws 
   client

0.8.575
 
/ 2022-07-25 
   
   - upgrade to cognitect/http-client-1.0.115 to upgrade jetty #215 
   
   - remove unused arg to http-client constructor #203 
   
   - log "Unable to fetch credentials" at debug level instead of info #196 
   

0.8.568
 
/ 2022-07-08 
   
   - fix bug to ensure :endpoint is included in datafied client

0.8.561
 
/ 2022-05-27 
   
   - consider cognitect.anomalies/interrupted from the http-client retriable
   - check AWS_SHARED_CREDENTIALS_FILE as well as 
   AWS_CREDENTIAL_PROFILES_FILE #188 
   
   - send accept header for json APIs #206 
   

0.8.536
 
/ 2021-12-08 
   
   - upgrade to core.async-1.5.644
   - upgrade to http-client-1.0.110

0.8.532
 
/ 2021-12-07 
   
   - upgrade to core.async-1.5.640
   - status 429 to :cognitect.anomalies/busy #197 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/546a843c-4e91-490c-915a-d187974434c8n%40googlegroups.com.


Re: [ANN] Cognitect Labs' aws-api 0.8.505

2021-02-23 Thread David Chelimsky
To clarify, the jetty upgrade addresses these security vulnerabilities:

   - CVE-2019-17638 <https://nvd.nist.gov/vuln/detail/CVE-2019-17638> - 
   CRITICAL
   - CVE-2020-27216 <https://nvd.nist.gov/vuln/detail/CVE-2020-27216> - HIGH
   - CVE-2020-27218 <https://nvd.nist.gov/vuln/detail/CVE-2020-27218> - 
   MEDIUM


On Tuesday, February 23, 2021 at 9:40:27 PM UTC-6 David Chelimsky wrote:

> Cognitect Labs' aws-api 0.8.505 is now available!
>
> CHANGES
>
>- upgrade to cognitect/http-client-0.1.106 
>   - transitive upgrade to 
>   org.eclipse.jetty/jetty-client-9.4.36.v20210114 #173 
>   <https://github.com/cognitect-labs/aws-api/issues/173>
>
>
> README: https://github.com/cognitect-labs/aws-api/
> API Docs: https://cognitect-labs.github.io/aws-api/
> Changelog: 
> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
> Upgrade Notes: 
> https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
> Latest Releases of api, endpoints, and all services: 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/c2765e59-71a3-4f16-927c-7338d7dfabdan%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.505

2021-02-23 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.505 is now available!

CHANGES

   - upgrade to cognitect/http-client-0.1.106 
  - transitive upgrade to 
  org.eclipse.jetty/jetty-client-9.4.36.v20210114 #173 
  
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/ef08b0b4-a7a8-4dfe-b034-bd060ef2f4fen%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.474

2020-08-17 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.474 is now available!

CHANGES

   - fix bug decoding GetBucketPolicy response #148 
   


README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/ccdc17ce-1fd1-4f77-b54c-74a3ee9920a2o%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.437

2020-02-14 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.437 is now available!

CHANGES

   - fix issue with invoke hanging when no region or creds are found #124 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/3bc59ec7-fb62-481f-9d81-d868805cffca%40googlegroups.com.


Re: [ANN] Cognitect Labs' aws-api 0.8.430

2020-02-14 Thread David Chelimsky
That should be com.cognitect/http-client 
(https://search.maven.org/search?q=g:com.cognitect%20AND%20a:http-client)

It is a dependency of aws-api, which it uses to submit http requests.

On Wednesday, February 12, 2020 at 6:52:31 AM UTC-6, Tim Visher wrote:
>
> What's cognitect.http-client?
>
> On Tue, Feb 11, 2020 at 10:09 AM David Chelimsky  > wrote:
>
>> Cognitect Labs' aws-api 0.8.430 is now available!
>>
>> NOTE: we changed the behavior of cognitect.aws.client.api/client in 
>> order to support automatic resource management. Although this should be 
>> a drop-in upgrade for most of you, anything you've been doing to manually 
>> manage resources is probably unnecessary now. Please see Upgrade Notes 
>> <https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md> for 
>> more information about upgrading to this version, and feel free to reach 
>> out here, on Clojurians' Slack (in the #aws channel), or in github issues 
>> <https://github.com/cognitect-labs/aws-api/issues> if you have any 
>> questions or concerns.
>>
>> CHANGES
>>
>>- upgrade to cognitect.http-client 0.1.104 #115 
>><https://github.com/cognitect-labs/aws-api/issues/115>
>>- all aws clients use shared http-client, credentials-provider, and 
>>region-provider by default 
>>   - addresses #109 
>>   <https://github.com/cognitect-labs/aws-api/issues/109>
>>   - first call to invoke takes hit of fetching region and credentials
>>- com.cognitect.aws.api/stop will not stop the shared http-client, 
>>   but will continue to stop any other instance
>>
>>
>> README: https://github.com/cognitect-labs/aws-api/
>> API Docs: https://cognitect-labs.github.io/aws-api/
>> Changelog: 
>> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
>> Upgrade Notes: 
>> https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
>> Latest Releases of api, endpoints, and all services: 
>> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>>
>> -- 
>> 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
>> clo...@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 clo...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/clojure/749f31a3-7c18-42e9-a98d-082d897117fa%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/clojure/749f31a3-7c18-42e9-a98d-082d897117fa%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/db02021d-5403-4d0c-968f-4f26af12551d%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.430

2020-02-11 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.430 is now available!

NOTE: we changed the behavior of cognitect.aws.client.api/client in order 
to support automatic resource management. Although this should be a drop-in 
upgrade for most of you, anything you've been doing to manually manage 
resources is probably unnecessary now. Please see Upgrade Notes 
 for more 
information about upgrading to this version, and feel free to reach out 
here, on Clojurians' Slack (in the #aws channel), or in github issues 
 if you have any 
questions or concerns.

CHANGES

   - upgrade to cognitect.http-client 0.1.104 #115 
   
   - all aws clients use shared http-client, credentials-provider, and 
   region-provider by default 
  - addresses #109 
  
  - first call to invoke takes hit of fetching region and credentials
   - com.cognitect.aws.api/stop will not stop the shared http-client, but 
  will continue to stop any other instance
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Upgrade Notes: 
https://github.com/cognitect-labs/aws-api/blob/master/UPGRADE.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/749f31a3-7c18-42e9-a98d-082d897117fa%40googlegroups.com.


Re: New AWS services supported by Cognitect Labs' aws-api.

2019-12-05 Thread David Chelimsky
One more today:

{com.cognitect.aws/kinesis-video-signaling {:mvn/version "781.2.585.0"}}


On Wednesday, December 4, 2019 at 4:41:35 PM UTC-6, David Chelimsky wrote:
>
> Over the past couple of days, AWS has announced a number of new services 
> at AWS re:Invent, and released support for these services in their SDKs. As 
> of today, Cognitect Labs' aws-api supports the new services listed below. 
> See 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn 
> for a full listing of all of the services aws-api supports.
>
> Enjoy!
>
> {com.cognitect.aws/accessanalyzer{:mvn/version "780.2.582.0" 
> :aws/serviceFullName "Access Analyzer"}
>  com.cognitect.aws/codeguru-reviewer {:mvn/version "780.2.584.0" 
> :aws/serviceFullName "Amazon CodeGuru Reviewer"}
>  com.cognitect.aws/codeguruprofiler  {:mvn/version "780.2.584.0" 
> :aws/serviceFullName "Amazon CodeGuru Profiler"}
>  com.cognitect.aws/compute-optimizer {:mvn/version "780.2.584.0" 
> :aws/serviceFullName "AWS Compute Optimizer"}
>  com.cognitect.aws/ebs   {:mvn/version "780.2.584.0" 
> :aws/serviceFullName "Amazon Elastic Block Store"}
>  com.cognitect.aws/elastic-inference {:mvn/version "776.2.582.0" 
> :aws/serviceFullName "Amazon Elastic  Inference"}
>  com.cognitect.aws/frauddetector {:mvn/version "780.2.584.0" 
> :aws/serviceFullName "Amazon Fraud Detector"}
>  com.cognitect.aws/imagebuilder  {:mvn/version "776.2.582.0" 
> :aws/serviceFullName "EC2 Image Builder"}
>  com.cognitect.aws/kendra{:mvn/version "780.2.584.0" 
> :aws/serviceFullName "AWSKendraFrontendService"}
>  com.cognitect.aws/networkmanager{:mvn/version "780.2.584.0" 
> :aws/serviceFullName "AWS Network Manager"}
>  com.cognitect.aws/outposts  {:mvn/version "780.2.584.0" 
> :aws/serviceFullName "AWS Outposts"}
>  com.cognitect.aws/sagemaker-a2i-runtime {:mvn/version "780.2.584.0" 
> :aws/serviceFullName "Amazon Augmented AI Runtime"}
>  com.cognitect.aws/schemas   {:mvn/version "776.2.582.0" 
> :aws/serviceFullName "Schemas"}}
>
> README: https://github.com/cognitect-labs/aws-api/
> API Docs: https://cognitect-labs.github.io/aws-api/
> Changelog: 
> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
> Latest Releases of api, endpoints, and all services: 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/982a71eb-b3df-46e4-99d7-355216737a11%40googlegroups.com.


Re: New AWS services supported by Cognitect Labs' aws-api.

2019-12-05 Thread David Chelimsky
Thanks, Michael!

On Wednesday, December 4, 2019 at 5:22:19 PM UTC-6, Michael Glaesemann 
wrote:
>
>
>
> > On 2019–12–04, at 16:41, David Chelimsky  > wrote: 
> > 
> > Over the past couple of days, AWS has announced a number of new services 
> at AWS re:Invent, and released support for these services in their SDKs. As 
> of today, Cognitect Labs' aws-api supports the new services listed below. 
> See 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn 
> for a full listing of all of the services aws-api supports. 
> > 
> > Enjoy! 
>
> You rock, David! 
>
> Michael Glaesemann 
> grzm seespotcode net 
>
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/261d532a-3d08-496d-93ba-f2be8f682ac4%40googlegroups.com.


New AWS services supported by Cognitect Labs' aws-api.

2019-12-04 Thread David Chelimsky
Over the past couple of days, AWS has announced a number of new services at 
AWS re:Invent, and released support for these services in their SDKs. As of 
today, Cognitect Labs' aws-api supports the new services listed below. See 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn 
for a full listing of all of the services aws-api supports.

Enjoy!

{com.cognitect.aws/accessanalyzer{:mvn/version "780.2.582.0" 
:aws/serviceFullName "Access Analyzer"}
 com.cognitect.aws/codeguru-reviewer {:mvn/version "780.2.584.0" 
:aws/serviceFullName "Amazon CodeGuru Reviewer"}
 com.cognitect.aws/codeguruprofiler  {:mvn/version "780.2.584.0" 
:aws/serviceFullName "Amazon CodeGuru Profiler"}
 com.cognitect.aws/compute-optimizer {:mvn/version "780.2.584.0" 
:aws/serviceFullName "AWS Compute Optimizer"}
 com.cognitect.aws/ebs   {:mvn/version "780.2.584.0" 
:aws/serviceFullName "Amazon Elastic Block Store"}
 com.cognitect.aws/elastic-inference {:mvn/version "776.2.582.0" 
:aws/serviceFullName "Amazon Elastic  Inference"}
 com.cognitect.aws/frauddetector {:mvn/version "780.2.584.0" 
:aws/serviceFullName "Amazon Fraud Detector"}
 com.cognitect.aws/imagebuilder  {:mvn/version "776.2.582.0" 
:aws/serviceFullName "EC2 Image Builder"}
 com.cognitect.aws/kendra{:mvn/version "780.2.584.0" 
:aws/serviceFullName "AWSKendraFrontendService"}
 com.cognitect.aws/networkmanager{:mvn/version "780.2.584.0" 
:aws/serviceFullName "AWS Network Manager"}
 com.cognitect.aws/outposts  {:mvn/version "780.2.584.0" 
:aws/serviceFullName "AWS Outposts"}
 com.cognitect.aws/sagemaker-a2i-runtime {:mvn/version "780.2.584.0" 
:aws/serviceFullName "Amazon Augmented AI Runtime"}
 com.cognitect.aws/schemas   {:mvn/version "776.2.582.0" 
:aws/serviceFullName "Schemas"}}

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/53b31c8c-10ca-464a-818f-a40e7c491d3c%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.408

2019-11-26 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.408 is now available!

CHANGES

   - Reduce noise from reflection warnings in java 9+ #106 
   
   - Get signing region from endpoint config #105 
   
   - Add documentationUrl when available #108 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/4ca8e18b-1d31-4b23-8372-bc8b35b46c73%40googlegroups.com.


Re: [ANN] Cognitect Labs' aws-api 0.0.8.391

2019-10-26 Thread David Chelimsky
Corrected links:

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services:
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

On Fri, Oct 25, 2019 at 3:25 PM David Chelimsky 
wrote:

> Cognitect Labs' aws-api 0.8.391 is now available!
>
> CHANGES
>
>- Fix: S3 HeadObject fails with large files #97
><https://github.com/cognitect-labs/aws-api/issues/97>
>   - This was fixed in cognitect/http-client 0.1.101
>- Fix concurrency 4 limit introduced in 0.8.383
>
> README: https://github.com/cognitect-labs/aws-api/API Docs:
> https://cognitect-labs.github.io/aws-api/
> Changelog:
> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
> Latest Releases of api, endpoints, and all services:
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/clojure/59e74cf0-8948-4ca2-acad-147167edd2f6%40googlegroups.com
> <https://groups.google.com/d/msgid/clojure/59e74cf0-8948-4ca2-acad-147167edd2f6%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CAKw-oWRMAc4U%3D2VP2dgAjktschg-raesMpeV_YQb_%2B3QRTig0w%40mail.gmail.com.


[ANN] Cognitect Labs' aws-api 0.0.8.391

2019-10-25 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.391 is now available!

CHANGES

   - Fix: S3 HeadObject fails with large files #97 
   
  - This was fixed in cognitect/http-client 0.1.101
   - Fix concurrency 4 limit introduced in 0.8.383
   
README: https://github.com/cognitect-labs/aws-api/API Docs: 
https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/59e74cf0-8948-4ca2-acad-147167edd2f6%40googlegroups.com.


Re: Keys in EDN maps: keywords or symbols

2019-10-24 Thread David Chelimsky
I think James talking about resolution of values when he said "designates", 
not "the value bound to a key in the map." In other words, the keyword 
:email resolves to the keyword :email, whereas the symbol clojure.core/vec 
resolves to a function.

Keywords-as-keys give you some benefits when you're in clojure (you can use 
them as functions of maps e.g. (:email {:email "a...@b.com"}) returns 
"a...@b.com"), which is part of why they are somewhat ubiquitous in Clojure 
code. In your case, since the system is not written in Clojure, perhaps it 
doesn't matter.

As for your example, I see what you mean re:  {3digits "\\d{3}" 2digits 
"\\d{2}"}, where 3digits is intended to be a symbol that always means 
#"\\d{3}". In a Clojure namespace we'd just (def 3digits #"\\d{3}") and use 
3digits everywhere else. I think keywords, however, would make more sense 
for {:username "vasya" :email "a@b.c"}, because the values bound to 
username and email in that map limited to that map.

Hope that all helps.



On Thursday, October 24, 2019 at 10:48:03 AM UTC-5, Anton Vodonosov wrote:
>
> Regarding the idea that a keyword is an identifier that designates itself, 
> while a symbol is a keyword that designates something else.
>
> Keys in config file map do not designate themselves, they designate the 
> corresponding map values.
>
> {username "vasya" email "a@b.c"} 
>
> Here the EMAIL symbol designagtes "a@b.c". Moreover, one of the config 
> file sections allows the user to give arbitrary names to regula 
> expressions. In this config section the user chooses the symbols, the 
> symbols are not predefined in the config file format.
>
> {3digits "\\d{3}" 2digits "\\d{2}"}
>
> in another config section user can refer the regex by the symbols he 
> defined that way. So the map keys in user's definitions allow hig to give 
> names to values; here the names do not designate themselves, they are names 
> for the regular expressions.
>
> Thinking that way, a keywords can be used as vues. For example, some 
> DIRECTION attribute can have one of 4 values: :up, :down, :left, :right. So 
> map key will be a symbol and value will be a keyword:  
>
> {speed 100 direction :up}
>
> Note, this config file is unlikely to be used with Clojure. For users, 
> that's just a text document they author in an editor. The system which 
> parses and is configured by this file is written in Java.
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/a1502e8e-44e0-4bf5-a044-770fc4623cd3%40googlegroups.com.


Re: [ANN] Cognitect Labs' aws-api 0.8.352

2019-10-24 Thread David Chelimsky
DISREGARD

The correct release number is 0.8.383. 
See https://groups.google.com/forum/#!topic/clojure/8sdm5VW5tmU

On Thursday, October 24, 2019 at 8:23:48 AM UTC-5, David Chelimsky wrote:
>
> Cognitect Labs' aws-api 0.8.352 is now available!
>
> CHANGES in 0.8.352
>
>- Make http calls to fetch credentials async / non-blocking.
>
> CHANGES from 0.8.378 (previously unannounced)
>
>- Include service full names in latest-releases.edn #32 
><https://github.com/cognitect-labs/aws-api/issues/32>
>- Wrap dynamic require of protocol ns in locking form #92 
><https://github.com/cognitect-labs/aws-api/issues/92>
>
>
> README: https://github.com/cognitect-labs/aws-api/API Docs: 
> https://cognitect-labs.github.io/aws-api/
> Changelog: 
> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
> Latest Releases of api, endpoints, and all services: 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/d2c680f7-cf6d-4b22-8e6d-d75f1a7eef11%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.383

2019-10-24 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.383 is now available!

CHANGES in 0.8.383

   - Make http calls to fetch credentials async / non-blocking.
   
CHANGES from 0.8.378 (previously unannounced)

   - Include service full names in latest-releases.edn #32 
   
   - Wrap dynamic require of protocol ns in locking form #92 
   


README: https://github.com/cognitect-labs/aws-api/API Docs: 
https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/e1b28a8f-abeb-4f5f-8913-6b6ad715f69c%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.352

2019-10-24 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.352 is now available!

CHANGES in 0.8.352

   - Make http calls to fetch credentials async / non-blocking.
   
CHANGES from 0.8.378 (previously unannounced)

   - Include service full names in latest-releases.edn #32 
   
   - Wrap dynamic require of protocol ns in locking form #92 
   


README: https://github.com/cognitect-labs/aws-api/API Docs: 
https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/78a06860-e616-4bf9-83e6-426b60fffe16%40googlegroups.com.


[ANN] Cognitect Labs' aws-api 0.8.352

2019-07-26 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.352 is now available!

CHANGES

   - Use custom dynaload for http-client #88 
   
  - Restores compatibility with Clojure-1.9
   
README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/1853481d-fa8e-467d-bfcf-316f241a083b%40googlegroups.com.


Re: [ANN] Cognitect Labs' aws-api 0.8.345

2019-07-09 Thread David Chelimsky
Hadil,

We've got a fix ready on master. If you update your deps.edn to use 
sha 971084a0a64a8c10db525ea9f8fdc251787ad058, you can try it out. Please 
report on https://github.com/cognitect-labs/aws-api/issues/88 if you do.

Thanks,
David

On Monday, July 8, 2019 at 9:11:02 AM UTC-5, David Chelimsky wrote:
>
> Please report issues like this directly to 
> https://github.com/cognitect-labs/aws-api/issues to make sure they get on 
> our radar. In this case I've already added 
> https://github.com/cognitect-labs/aws-api/issues/88.
>
> You do need 1.10 to use it to use 1.10 features like Datafy (e.g. with 
> REBL), however we want aws-api to work with 1.9. We'll get a release out 
> soon to address this issue.
>
> Thanks,
> David
>
> On Saturday, July 6, 2019 at 4:59:31 PM UTC-5, Hadil Sabbagh wrote:
>>
>> Yes, I did. It’s working again with aws-api 0.8.305
>>
>> On Jul 6, 2019, at 2:39 PM,   
>> wrote:
>>
>> That’s new in Clojure 1.10. I thought Cognitect AWS stuff required 1.10 
>> from the get-go but I assume you had it working on 1.9?
>>  
>> Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
>> An Architect's View -- http://corfield.org/
>>
>> "If you're not annoying somebody, you're not really alive."
>> -- Margaret Atwood
>>  
>> *From: *Hadil Sabbagh
>> *Sent: *Saturday, July 6, 2019 1:50 PM
>> *To: *Clojure
>> *Subject: *Re: [ANN] Cognitect Labs' aws-api 0.8.345
>>  
>> Since installing aws-api 0.8.345, I am getting the following error:
>>  
>> ```Unable to resolve symbol: requiring-resolve in this context, 
>> compiling:(cognitect/aws/http.clj:63:10)```
>>
>> On Saturday, July 6, 2019 at 12:14:59 PM UTC-7, David Chelimsky wrote:
>>
>> Cognitect Labs' aws-api 0.8.345 is now available!
>>  
>> CHANGES
>>
>>- Update pom.xml with same deps as deps.edn #86 
>><https://github.com/cognitect-labs/aws-api/issues/86>
>>
>> README: https://github.com/cognitect-labs/aws-api/
>> API Docs: https://cognitect-labs.github.io/aws-api/
>> Changelog: 
>> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
>> Latest Releases of api, endpoints, and all services: 
>> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>>  
>>
>> -- 
>> 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
>> clo...@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 clo...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/clojure/4d2f950b-db35-4437-9172-e1e36b0502ef%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/clojure/4d2f950b-db35-4437-9172-e1e36b0502ef%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>  
>>
>> -- 
>> 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
>> clo...@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 clo...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/clojure/5d21151a.1c69fb81.f193c.dbd6%40mx.google.com
>>  
>> <https://groups.google.com/d/msgid/clojure/5d21151a.1c69fb81.f193c.dbd6%40mx.google.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>

-- 
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: [ANN] Cognitect Labs' aws-api 0.8.345

2019-07-08 Thread David Chelimsky
Please report issues like this directly to 
https://github.com/cognitect-labs/aws-api/issues to make sure they get on 
our radar. In this case I've already added 
https://github.com/cognitect-labs/aws-api/issues/88.

You do need 1.10 to use it to use 1.10 features like Datafy (e.g. with 
REBL), however we want aws-api to work with 1.9. We'll get a release out 
soon to address this issue.

Thanks,
David

On Saturday, July 6, 2019 at 4:59:31 PM UTC-5, Hadil Sabbagh wrote:
>
> Yes, I did. It’s working again with aws-api 0.8.305
>
> On Jul 6, 2019, at 2:39 PM, > <
> se...@corfield.org > wrote:
>
> That’s new in Clojure 1.10. I thought Cognitect AWS stuff required 1.10 
> from the get-go but I assume you had it working on 1.9?
>  
> Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>  
> *From: *Hadil Sabbagh 
> *Sent: *Saturday, July 6, 2019 1:50 PM
> *To: *Clojure 
> *Subject: *Re: [ANN] Cognitect Labs' aws-api 0.8.345
>  
> Since installing aws-api 0.8.345, I am getting the following error:
>  
> ```Unable to resolve symbol: requiring-resolve in this context, 
> compiling:(cognitect/aws/http.clj:63:10)```
>
> On Saturday, July 6, 2019 at 12:14:59 PM UTC-7, David Chelimsky wrote:
>
> Cognitect Labs' aws-api 0.8.345 is now available!
>  
> CHANGES
>
>- Update pom.xml with same deps as deps.edn #86 
><https://github.com/cognitect-labs/aws-api/issues/86>
>
> README: https://github.com/cognitect-labs/aws-api/
> API Docs: https://cognitect-labs.github.io/aws-api/
> Changelog: 
> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
> Latest Releases of api, endpoints, and all services: 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>  
>
> -- 
> 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
> clo...@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 clo...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/clojure/4d2f950b-db35-4437-9172-e1e36b0502ef%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/clojure/4d2f950b-db35-4437-9172-e1e36b0502ef%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>  
>
> -- 
> 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
> clo...@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 clo...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/clojure/5d21151a.1c69fb81.f193c.dbd6%40mx.google.com
>  
> <https://groups.google.com/d/msgid/clojure/5d21151a.1c69fb81.f193c.dbd6%40mx.google.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/183c53fa-2e06-45ae-85b6-1a5e2d973cb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Cognitect Labs' aws-api 0.8.342

2019-07-06 Thread David Chelimsky
One more time 

Use 0.8.345 instead, please.

On Saturday, July 6, 2019 at 6:14:16 AM UTC-5, David Chelimsky wrote:
>
> Cognitect Labs' aws-api 0.8.342 is now available!
>
> CHANGES
>
>- skip whitespace when reading XML (fixes #85 
><https://github.com/cognitect-labs/aws-api/issues/85>)
>
> README: https://github.com/cognitect-labs/aws-api/
> API Docs: https://cognitect-labs.github.io/aws-api/
> Changelog: 
> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
> Latest Releases of api, endpoints, and all services: 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/6abd4be1-261c-4b6f-b2b0-e47b96be9eed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.345

2019-07-06 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.345 is now available!

CHANGES

   - Update pom.xml with same deps as deps.edn #86 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/3a4730e4-89dd-4b5a-bc00-548da8ce276c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Cognitect Labs' aws-api 0.8.335

2019-07-06 Thread David Chelimsky
Unfortunately, 0.8.335 introduced two bugs! One in the iam client, and one 
in pretty much everything because the pom.xml didn't get updated with the 
new deps.

Please use 0.8.345, which fixes both issues.

On Saturday, July 6, 2019 at 6:11:09 AM UTC-5, David Chelimsky wrote:
>
> Unfortunately, 0.8.335 introduced a bug in the iam client. Fortunately, 
> release 0.8.342 fixes it, so use that instead!
>
> On Friday, July 5, 2019 at 2:37:40 PM UTC-5, David Chelimsky wrote:
>>
>> Cognitect Labs' aws-api 0.8.335 is now available!
>>
>> CHANGES
>>
>>- use clojure.data.xml instead of clojure.xml
>>   - resolves Illegal Reflective Access warnings in java 11 #19 
>>   <https://github.com/cognitect-labs/aws-api/issues/19>
>>- upgrade cognitect http-client
>>   - upgrades jetty to 9.4 #81 
>>   <https://github.com/cognitect-labs/aws-api/issues/81>
>>   - resolves Illegal Reflective Access warnings in java 11 #19 
>>   <https://github.com/cognitect-labs/aws-api/issues/19>
>>- support shared http-client across aws-api clients #80 
>><https://github.com/cognitect-labs/aws-api/issues/80>
>>- add Content-Type header for rest-json requests #84 
>><https://github.com/cognitect-labs/aws-api/issues/84>
>>
>> README: https://github.com/cognitect-labs/aws-api/
>> API Docs: https://cognitect-labs.github.io/aws-api/
>> Changelog: 
>> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
>> Latest Releases of api, endpoints, and all services: 
>> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/2866ef38-df0c-4d5c-9fc0-b7da54688c03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.342

2019-07-06 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.342 is now available!

CHANGES

   - skip whitespace when reading XML (fixes #85 
   )

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/f0889024-0a09-42a1-945d-3bc5c47c0a6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Cognitect Labs' aws-api 0.8.335

2019-07-06 Thread David Chelimsky
Unfortunately, 0.8.335 introduced a bug in the iam client. Fortunately, 
release 0.8.342 fixes it, so use that instead!

On Friday, July 5, 2019 at 2:37:40 PM UTC-5, David Chelimsky wrote:
>
> Cognitect Labs' aws-api 0.8.335 is now available!
>
> CHANGES
>
>- use clojure.data.xml instead of clojure.xml
>   - resolves Illegal Reflective Access warnings in java 11 #19 
>   <https://github.com/cognitect-labs/aws-api/issues/19>
>- upgrade cognitect http-client
>   - upgrades jetty to 9.4 #81 
>   <https://github.com/cognitect-labs/aws-api/issues/81>
>   - resolves Illegal Reflective Access warnings in java 11 #19 
>   <https://github.com/cognitect-labs/aws-api/issues/19>
>- support shared http-client across aws-api clients #80 
><https://github.com/cognitect-labs/aws-api/issues/80>
>- add Content-Type header for rest-json requests #84 
><https://github.com/cognitect-labs/aws-api/issues/84>
>
> README: https://github.com/cognitect-labs/aws-api/
> API Docs: https://cognitect-labs.github.io/aws-api/
> Changelog: 
> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
> Latest Releases of api, endpoints, and all services: 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/08f583a6-3ce3-491d-891d-819654450e34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.335

2019-07-05 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.335 is now available!

CHANGES

   - use clojure.data.xml instead of clojure.xml
  - resolves Illegal Reflective Access warnings in java 11 #19 
  
   - upgrade cognitect http-client
  - upgrades jetty to 9.4 #81 
  
  - resolves Illegal Reflective Access warnings in java 11 #19 
  
   - support shared http-client across aws-api clients #80 
   
   - add Content-Type header for rest-json requests #84 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/9cb78307-7fa2-4fe6-bae3-92a2e295405e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.305

2019-05-13 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.305 is now available!

CHANGES

   - add x-amz-glacier-version header to glacier requests #74 
   
   
README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/6c649c38-ddb3-4344-b221-ca6147991e7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.301

2019-04-19 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.301 is now available!

CHANGES

   - fix bug generating default idempotencyToken #72 
   
   - fix uri-encoding bug when *unchecked-math* is true #71 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.292

2019-04-12 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.292 is now available!

CHANGES


   - improved support for apigatewaymanagementapi :PostToConnection

NOTE: this represents a breaking change for anybody using 
:PostToConnection. See 
https://github.com/cognitect-labs/aws-api/#posttoconnection for the correct 
way to set up your client and request.

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.289

2019-03-29 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.289 is now available!

CHANGES


   - fix signing bug introduced in 0.8.283
   
README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn



-- 
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/d/optout.


Re: [ANN] Cognitect Labs' aws-api 0.8.283

2019-03-29 Thread David Chelimsky
This release introduced a bug. Use 0.8.289 instead!

On Friday, March 29, 2019 at 2:42:07 PM UTC-5, David Chelimsky wrote:
>
> Cognitect Labs' aws-api 0.8.283 is now available!
>
> CHANGES
>
>
>- read input-stream once #67 
><https://github.com/cognitect-labs/aws-api/issues/67>
>
> README: https://github.com/cognitect-labs/aws-api/
> API Docs: https://cognitect-labs.github.io/aws-api/
> Changelog: 
> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
> Latest Releases of api, endpoints, and all services: 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>
> <https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn>
>

-- 
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/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.283

2019-03-29 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.283 is now available!

CHANGES


   - read input-stream once #67 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn



-- 
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/d/optout.


Re: [ANN] Cognitect Labs' aws-api 0.8.280

2019-03-26 Thread David Chelimsky
Correction: Cognitect Labs' aws-api 0.8.280 is now available!

On Tuesday, March 26, 2019 at 7:20:25 AM UTC-5, David Chelimsky wrote:
>
> Cognitect Labs' aws-api 0.8.273 is now available!
>
> CHANGES
>
>
>- support endpoint-override map #59 
><https://github.com/cognitect-labs/aws-api/issues/59>, #61 
><https://github.com/cognitect-labs/aws-api/issues/61>, #64 
><https://github.com/cognitect-labs/aws-api/issues/64>
>- only parse json response body when output-shape is specified #66 
><https://github.com/cognitect-labs/aws-api/issues/66>
>
> README: https://github.com/cognitect-labs/aws-api/
> API Docs: https://cognitect-labs.github.io/aws-api/
> Changelog: 
> https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
> Latest Releases of api, endpoints, and all services: 
> https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
>
> <https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn>
>

-- 
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/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.280

2019-03-26 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.273 is now available!

CHANGES


   - support endpoint-override map #59 
   , #61 
   , #64 
   
   - only parse json response body when output-shape is specified #66 
   

README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn



-- 
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/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.273

2019-03-01 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.273 is now available!

CHANGES (since last announcement)

   - friendly error when op not supported #62 
   
   - daemonize the credentials auto-refresh thread #57 
   
   - add Content-MD5 header for some S3 ops #40 
   
   - require clojure.edn #60 
   
   
README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn



-- 
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/d/optout.


[ANN] Cognitect Labs' aws-api 0.8.253

2019-02-08 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.253 is now available!

CHANGES

   - fixed URI generation bug #56 
   
   - ensure keyword keys for errors in json protocols #55 
   
   - add stop fn to release resources #54 
   
   
README: https://github.com/cognitect-labs/aws-api/
API Docs: https://cognitect-labs.github.io/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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/d/optout.


[ANN] com.cognitect.aws/api-0.8.243

2019-02-03 Thread David Chelimsky
com.cognitect.aws/api-0.8.243 is now available

CHANGES

   - fix signing bug (double slashes in uris) #53 
   
   - fix signing bug (query-string param ordering) #52 
   

API Docs: https://cognitect-labs.github.io/aws-api/
Repo: https://github.com/cognitect-labs/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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/d/optout.


[ANN] com.cognitect.aws/api-0.8.223

2019-01-26 Thread David Chelimsky
com.cognitect.aws/api-0.8.223 is now available

CHANGES
   
   - support endpoint-override #43 
   
   - parse "map" shapes using their key spec instead of assuming keyword 
   keys #50 
   - wrap non-sequential values when the spec calls for a list #45 
   
   - config parsing bug fixes #46 
   , #48 
   
   - support refreshing credentials #47 
   

Repo: https://github.com/cognitect-labs/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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/d/optout.


[ANN] com.cognitect.aws/api-0.8.204

2019-01-18 Thread David Chelimsky
com.cognitect.aws/api-0.8.198 is now available

Changes

   - support nested values in config #42 
   
   - handle doubles when parsing timestamps #36 
   

Repo: https://github.com/cognitect-labs/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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/d/optout.


[ANN] com.cognitect.aws/api-0.8.198

2019-01-11 Thread David Chelimsky
com.cognitect.aws/api-0.8.198 is now available

Changes from 0.8.198 / 2019-01-11

   - support HAL responses #30 
   
   - extend Datafiable via metadata (allows use with clojure-1.9)
   - fix edge case bug parsing json with locationNames
   - use the correct metadata endpoint when running in ECS #33 
   


Changes from 0.8.171 / 2018-12-28

   - use the configured region as signing region for S3 requests
   - fixes regression introduced in fixing #27 
   
   - we still need a better solution for #15 
   

Repo: https://github.com/cognitect-labs/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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/d/optout.


[ANN] com.cognitect.aws/api-0.8.158

2018-12-13 Thread David Chelimsky
com.cognitect.aws/api-0.8.158 is now available.

Changes:


   - use signingName when available in service metadata. #26 
   

Repo: https://github.com/cognitect-labs/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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/d/optout.


[ANN] com.cognitect.aws/api-0.8.155

2018-12-12 Thread David Chelimsky
com.cognitect.aws/api-0.8.155 is now available.

There have been a few unannounced releases, so here are all the changes 
since our initial public release on 2018-11-30:

   - Stringify query protocol body param vals before url encoding them. #25 
   
   - URL encode query protocol body params. #22 
   
   - Fix bug caused by attempting to parse a response body when no output 
   shape specified. #21 
   
   - Add http-request to response metadata.
   - Add basic-credentials-provider helper fn. Thanks to Christian Gonzalez 
   for the suggestion. #16 
   
   - log/debug instead of log/error when individual credentials providers 
   can't find credentials. #17 
   

Repo: https://github.com/cognitect-labs/aws-api/
Changelog: https://github.com/cognitect-labs/aws-api/blob/master/CHANGES.md
Latest Releases of api, endpoints, and all 
services: 
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

-- 
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/d/optout.


Re: [ANN] Clojure 1.9.0-alpha5

2016-06-07 Thread David Chelimsky
Pedestal: 
https://github.com/pedestal/pedestal/blob/master/service/project.clj#L26

On Tuesday, June 7, 2016 at 2:01:41 PM UTC-5, Alex Miller wrote:
>
> I'm not opposed to it but can't say that's anywhere on my priority list. 
> Does anyone use incubator?
>
>
> On Tuesday, June 7, 2016 at 1:21:34 PM UTC-5, Sean Corfield wrote:
>>
>> An excellent set of new predicates – thank you!
>>
>>  
>>
>> Will clojure.core.incubator get a new release to reflect that seqable? is 
>> available in core?
>>
>>  
>>
>> WARNING: seqable? already refers to: #'clojure.core/seqable? in 
>> namespace: clojure.core.incubator, being replaced by: 
>> #'clojure.core.incubator/seqable?
>>
>>  
>>
>> Sean Corfield -- (904) 302-SEAN
>> An Architect's View -- http://corfield.org/
>>
>> "If you're not annoying somebody, you're not really alive."
>> -- Margaret Atwood
>>
>>  
>>
>> On 6/7/16, 10:38 AM, "Alex Miller" > on behalf of al...@puredanger.com > wrote:
>>
>>  
>>
>> Clojure 1.9.0-alpha5 is now available.
>>
>>  
>>
>> Try it via
>>
>>  
>>
>> - Download:
>>  https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha5 
>> 
>>
>> - Leiningen: [org.clojure/clojure "1.9.0-alpha5"]
>>
>>  
>>
>> 1.9.0-alpha4 includes the following changes since 1.9.0-alpha4:
>>
>>  
>>
>> Fixes:
>>
>> - doc was printing "Spec" when none existed
>>
>> - fix ? explain
>>
>>  
>>
>> New predicates in core (all also now have built-in generator support in 
>> spec):
>>
>> - seqable?
>>
>> - boolean?
>>
>> - long?, pos-long?, neg-long?, nat-long?
>>
>> - double?, bigdec?
>>
>> - ident?, simple-ident?, qualified-ident?
>>
>> - simple-symbol?, qualified-symbol?
>>
>> - simple-keyword?, qualified-keyword?
>>
>> - bytes? (for byte[])
>>
>> - indexed?
>>
>> - inst? (and new inst-ms)
>>
>> - uuid?
>>
>> - uri?
>>
>>  
>>
>> New in spec:
>>
>> - unform - given a spec and a conformed value, returns the unconformed 
>> value
>>
>> - New preds: long-in-range?, inst-in-range?
>>
>> - New specs (with gen support): long-in, inst-in, double-in
>>
>> -- 
>> 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/d/optout.
>>
>>

-- 
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/d/optout.


vec to map with consolidated vals

2013-08-16 Thread David Chelimsky
I've got a vector of 2-element vectors e.g. [[:a 1] [:b 2]] where the first
val of any vec might appear in another vec e.g. [[:a 1] [:b 2] [:a 3]]. I
need a fn that will consolidate this into a hash-map with the vals
consolidated e.g.

(to-consolidated-map [[:a 1] [:b 2] [:a 3]])
; {:a 4 :b 2}

I've got two candidate implementations and I'm curious which you like
better and why, or if I'm missing a better way:

(defn to-consolidated-map [parts]
  (reduce (fn [h [k v]]
(if (contains? h k)
  (assoc h k (+ (k h) v))
  (assoc h k v)))
  {} parts))

(defn to-consolidated-map [parts]
(- parts
   (group-by first)
   (map (fn [[k v]] [k (- v (map last) (reduce +))]

TIA,
David

-- 
-- 
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: function creation, partial or #()

2013-08-16 Thread David Chelimsky
On Fri, Aug 16, 2013 at 9:49 PM, Gregg Reynolds d...@mobileink.com wrote:

 On Tue, Aug 13, 2013 at 1:50 PM, John D. Hume duelin.mark...@gmail.com
 wrote:
  Though in some cases the performance impact could be significant, my
 concern
  is readability. My understanding of the concept of partial function
  application is that it's about supplying some but not all of the
 arguments.
  So when I see `partial` in code, I expect more arguments to be supplied
  later, which is confusing when that's not the case. (Obviously context
 can
  make it easy to see that there will be no more arguments, but often that
  context is not present.)
 

 +1.  Using partial to convert a unary func into a nullary func when
 #() is available strikes me as malpractice.  Suppose you were to come
 across something like this in legacy code:

  (do-work (partial say-hello bob))

 For me, the natural inference would be that say-hello must want at
 least one more arg (otherwise why partial?), so do-work must be
 feeding some arg to the result of (partial say-hello bob), like
 adding Don't worry, we're not watching you, in case the NSA owns
 do-work.  Execution efficiency aside, downstream programmer confusion
 due to implied semantics also has a cost.

 -Gregg


I agree w/ John and Gregg, though I don't think I'd sue you for malpractice
;) partial means something and using it this way gives it a different
meaning, even if it happens to solve the problem at hand.

-- 
-- 
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: vec to map with consolidated vals

2013-08-16 Thread David Chelimsky
Thanks for the suggestions Sean and Ben. I learned new functions from both
of you!

Sean, your suggestion yields the following:

(to-consolidated-map [[:a 1] [:b 2] [:a 3]])
; {:a (1 3) :b (2)}

So it still needs to reduce the vals using +. That led me to this:

(defn to-consolidated-map [parts]
  (apply merge-with + (map (fn [[k v]] {k v}) parts)))

Which led me to this:

(defn to-consolidated-map [parts]
  (apply merge-with + (map (partial apply hash-map) parts)))

I like this one because it describes the solution the way I thought about
it - I just didn't know about merge-with. It also has the benefit of using
core fns rather than anonymous fns. WDYT?

On Sat, Aug 17, 2013 at 7:23 AM, Sean Corfield seancorfi...@gmail.comwrote:

 How about this:

 (defn to-consolidated-map [parts]
   (apply merge-with concat
 (map (fn [[k v]] {k (list v)}) parts)))

 On Fri, Aug 16, 2013 at 9:57 PM, David Chelimsky dchelim...@gmail.com
 wrote:
  I've got a vector of 2-element vectors e.g. [[:a 1] [:b 2]] where the
 first
  val of any vec might appear in another vec e.g. [[:a 1] [:b 2] [:a 3]]. I
  need a fn that will consolidate this into a hash-map with the vals
  consolidated e.g.
 
  (to-consolidated-map [[:a 1] [:b 2] [:a 3]])
  ; {:a 4 :b 2}
 
  I've got two candidate implementations and I'm curious which you like
 better
  and why, or if I'm missing a better way:
 
  (defn to-consolidated-map [parts]
(reduce (fn [h [k v]]
  (if (contains? h k)
(assoc h k (+ (k h) v))
(assoc h k v)))
{} parts))
 
  (defn to-consolidated-map [parts]
  (- parts
 (group-by first)
 (map (fn [[k v]] [k (- v (map last) (reduce +))]
 
  TIA,
  David
 
  --
  --
  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.



 --
 Sean A Corfield -- (904) 302-SEAN
 An Architect's View -- http://corfield.org/
 World Singles, LLC. -- http://worldsingles.com/

 Perfection is the enemy of the good.
 -- Gustave Flaubert, French realist novelist (1821-1880)

 --
 --
 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.


-- 
-- 
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.


what is an xrel?

2012-07-20 Thread David Chelimsky
Hey all - relatively new to the party here. I understand that an xrel is a 
set of maps, but can anybody explain to me where it gets the name xrel?

-- 
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: what is an xrel?

2012-07-20 Thread David Chelimsky
Thanks, Ben. H (as in the latter H of HTH).

Cheers,
David

On Friday, July 20, 2012 10:31:01 AM UTC-5, Ben Mabey wrote:

 Hi David! 
 My guess is as good as yours but I think rel is short for relation (as 
 in a relation in relational algebra).  The x might as well be a, b, or 
 any other short variable name.  In clojure-docs it looks like the 
 examples for #'join use first-relation and second-relation instead of 
 xrel and yrel to avoid any confusion: 

 http://clojuredocs.org/clojure_core/clojure.set/join 

 HTH, 
 Ben 

 On 7/19/12 2:37 PM, David Chelimsky wrote: 
  Hey all - relatively new to the party here. I understand that an xrel 
  is a set of maps, but can anybody explain to me where it gets the name 
  xrel? -- 



-- 
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