Git Product home page Git Product logo

arachne-docs's People

Contributors

atroche avatar cloojure avatar dchelimsky avatar defndaines avatar iku000888 avatar levand avatar madstap avatar nickik avatar webappzero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arachne-docs's Issues

Recent leiningen won't download from http-only repository

Recent versions of leiningen (I've tested with 2.8.1) will refuse to download from http repositories.

The tutorial document suggests using

:repositories [["arachne-dev" "http://maven.arachne-framework.org/artifactory/arachne-dev"]]

, but leiningen will complain about this:

Tried to use insecure HTTP repository without TLS.
This is almost certainly a mistake; however in rare cases where it's
intentional please see `lein help faq` for details.

The relevant section of len help faq says:

Q: I got Tried to use insecure HTTP repository without TLS, what is that about?
A: This means your project was configured to download dependencies
from a repository that does not use TLS encryption. This is very
insecure and exposes you to trivially-executed man-in-the-middle attacks.
In the rare event that you don't care about the security of the machines
running your project, you can re-enable support for unprotected repositories
by putting this in your project.clj file:

;; never do this
(require 'cemerick.pomegranate.aether)
(cemerick.pomegranate.aether/register-wagon-factory!
"http" #(org.apache.maven.wagon.providers.http.HttpWagon.))

It's also possible you have a dependency which includes a reference to
an insecure repository for retrieving its own dependencies. If this
happens it is strongly recommended to add an :exclusion and report a
bug with the dependency which does this.

There is a workaround, but the best solution seems to be to add https support for the arachne repositories. Is that an option? Or is there other guidance you can provide to anyone looking to use arachne, but concerned about the security of downloading build artifacts over http?

(I'm not sure if this is the best of the various arachne repos to use to report this issue - if there's a better on, I can post it there.)

Naming of “make-widget”

Hi!

In Stuart Sierra's [How To Name Clojure Functions] he says:

“Pure functions which return values are named with nouns describing the value they return.

This is particularly good for constructors and accessors. No need to clutter up your function names with meaningless prefixes like get- and make-.”

But I can see arguments in favour of the make-widget style. What's your take on which is more idiomatic, @levand?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.