Re: New to Clojure - productivity and debugging with Emacs

2017-01-08 Thread Colin Yates
Hi ahawk and welcome to Clojure! Your question seems to cover multiple domains: - navigating/discovery in non-statically typed languages, specifically Clojure - developing in Clojure - developer tools (e.g. IDE for Clojure) (I can feel a stream of consciousness/ramble coming so so this might t

The Expires field in cookies has failed pre-assert.

2017-01-08 Thread 松舘剛志
For example, When call some Twitter APIs: (ns foo (:require [clj-http.client :as http] [ring.util.response :as ring]) (:import [clojure.lang ExceptionInfo])) (try (let [response (http/post "https://api.twitter.com/1.1/statuses/show.json";)] #_"Something to do." (rin

Re: The Expires field in cookies has failed pre-assert.

2017-01-08 Thread James Reeves
To add some background to this: the author reported this as an issue on Ring. They appear to be trying to turn clj-http response into a Ring response, so this isn't anything directly to do with cookies. The problem is that clj-http responses are similar but not identical to Ring responses. Perhaps

HTTPS for dev.clojure.org?

2017-01-08 Thread Tim McCormack
Could we get HTTPS for dev.clojure.org? It's great that we have TLS on clojure.org (although not by default -- issue filed!) but dev.clojure.org takes passwords and involves exchanges of code patches, which makes it a moderately juicy target. (Some of those passwords may also be used for github

Re: New to Clojure - productivity and debugging with Emacs

2017-01-08 Thread Matching Socks
That is an ambitious project. Divide and conquer. One super duper benefit of Clojure is that if you make a web app with, say, just Ring and Compojure, you can later transplant that work into a more elaborate app scaffolding, because it's all just plain maps. "quite a lot of map manipulation g

HTTPS for dev.clojure.org?

2017-01-08 Thread Alex Miller
I don't believe the old version of jira we are on supports https, so upgrading that is a first step. Unfortunately, it's also hugely painful and time-consuming. But would absolutely like to get there. -- You received this message because you are subscribed to the Google Groups "Clojure" group.

[ANN] Ultra v0.5.1 - a Leiningen plugin for a superior development environment

2017-01-08 Thread David Jarvis
Hey all - Happy to announce the latest release of Ultra, 0.5.1, with a few minor bugfixes and friendlier configuration changes. Ultra offers a colorized REPL, syntax-highlighted `source`, clearer test output, and better stacktraces. Check out the latest on the project's page: https://github

Re: compojure ring uberwar weblogic 12.1.3

2017-01-08 Thread Jose Trigueros
Hi Samuel, I just had to create a web application that was to be run on Weblogic 12.2.1. I was able to get it working doing the following: 1. Create a new project using *compojure-api* : lein new compojure-api webapp 2. Use the *lein-ring* plu

Re: The Expires field in cookies has failed pre-assert.

2017-01-08 Thread 松舘剛志
Hi, James. Thank you for response. I've understood clj-http response and ring response are not identical. I hope to know way to respond cookies via Twitter as valid one. Would you know way to respond it? 2017年1月9日月曜日 0時38分59秒 UTC+9 James Reeves: > > To add some background to this: the author repo

Re: The Expires field in cookies has failed pre-assert.

2017-01-08 Thread James Reeves
On 9 January 2017 at 02:37, 松舘剛志 wrote: > Hi, James. > Thank you for response. > > I've understood clj-http response and ring response are not identical. > I hope to know way to respond cookies via Twitter as valid one. > Would you know way to respond it? > Why do you want cookies from Twitter's

Re: The Expires field in cookies has failed pre-assert.

2017-01-08 Thread 松舘剛志
I hope to think so too, but I don't know what will happen when remove cookie... 2017年1月9日月曜日 12時32分47秒 UTC+9 James Reeves: > > On 9 January 2017 at 02:37, 松舘剛志 > wrote: > >> Hi, James. >> Thank you for response. >> >> I've understood clj-http response and ring response are not identical. >> I hop

Re: The Expires field in cookies has failed pre-assert.

2017-01-08 Thread 松舘剛志
This header is responded by Twitter. :headers {"connection" "close", "content-type" "application/json; charset=utf-8", "date" "Mon, 09 Jan 2017 03:45:47 GMT", "server" "tsa_m", "set-cookie" "guest_id=v1%3A148393354710069437; Domain=.twitter.com; Path=/; Expires=Wed, 09-Jan-2019 03:45:47 UTC", "

Re: The Expires field in cookies has failed pre-assert.

2017-01-08 Thread James Reeves
On 9 January 2017 at 03:43, 松舘剛志 wrote: > I hope to think so too, but I don't know what will happen when remove > cookie... > What's the purpose of your code? Your code takes a response from the Twitter API, and then attempts to proxy it. But why? If we knew what you are trying to accomplish,

Re: The Expires field in cookies has failed pre-assert.

2017-01-08 Thread 松舘剛志
I'll plan to make a Twitter-linked web application like Favstar. Therefore I tried call Twitter APIs, then I tried to pass its response to ring, compojure, lib-noir and etc. In its process, Expires field in cookie has been regarded as invalid by Ring's pre-assert code. 2017年1月9日月曜日 13時12分20秒 UTC