Code Monkey home page Code Monkey logo

pretty-print.net's People

Contributors

comamitc avatar nprescott avatar oakmac avatar omelhoro avatar

Stargazers

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

Watchers

 avatar  avatar

pretty-print.net's Issues

main-min build of front end throws Exception

comamitc@ubuntu:~/dev/pretty-print.net/frontend$ lein cljsbuild auto
Compiling ClojureScript.
Compiling "public/js/main.min.js" from ["src-cljs"]...
Jan 18, 2015 11:40:20 PM com.google.javascript.jscomp.LoggerErrorManager println
SEVERE: /home/comamitc/dev/pretty-print.net/frontend/target/cljsbuild-compiler-0/cljs/core.js:19519: ERROR - Parse error. '}' expected

Jan 18, 2015 11:40:20 PM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 1 error(s), 0 warning(s)
ERROR: JSC_PARSE_ERROR. Parse error. '}' expected at /home/comamitc/dev/pretty-print.net/frontend/target/cljsbuild-compiler-0/cljs/core.js line 19519 : 0
Successfully compiled "public/js/main.min.js" in 4.267 seconds.
Compiling "public/js/main.js" from ["src-cljs"]...
Successfully compiled "public/js/main.js" in 3.399 seconds.

This prevents html page from loading.

for passive users - insert an example

Loving all the improvements ๐Ÿ‘. One last idea:

Every product, however small, benefits from a simple demonstration of what it can do.

In the context of http://pretty-print.net, a passive user may want to see what it does without having to fish for example input. Being able to insert a preset example(s) would certainly cut down the time and knowledge requirements for someone to develop an impression of the tool.

There is no online EDN pretty-printer

EDN is a powerful data interchange format commonly used with Clojure and ClojureScript programs. It also doubles as a literal representation of most Clojure data structures, which are often printed to a REPL or console environment for debugging purposes.

Clojure core comes with clojure.pprint - which is a library to format Clojure code (and thus EDN) in a human-readable fashion.

As of January 2015, there are numerous online services to pretty print various data interchange formats (JSON, YAML, XML, etc), but there is no online service for printing an EDN string.

This project aims to build such a service and improve the usability of working with EDN data.

502 Bad Gateway

pretty-print.net is currently down. The UI loads, but the underlying functionality is busted. Console says it's a 502 Bad Gateway. Sounds like your backing service is down.

Weird CodeMirror issue

The very first keystroke after loading the page and focusing on the CodeMirror instance causes the cursor to go back to the start.

Maybe CodeMirror is mounting twice on the page?

add google analytics account

The site used to have this but has since been removed. We want to be able to track web traffic to ensure resources are OK on server until #34 is done.

SEO

Hoping I can get some help with this

Works for Hiccup Data?

Your online masterpiece (http://pretty-print.net/#/format/edn) seems to have done an excellent job of pretty-printing my Hiccup data; i just wanted to confirm with you that you intended it for that kind of use...?
I would also be interested in the data size limit (the biggest i've submitted is 36,479 characters).

Add gitter-chat

Seems like a good place to allow people to ask questions without opening issues.

weird formatting behavior

{:users [{:name "Dan", :age 23}
                  {:name "Sam", :gender :female}]
          :aliases {"Dan" ["Dante" "Daniel"]
                    "Sam" ["Samantha", "Samoth"]}}

Gets output as

{:users [{:name "Dan", :age 23} {:name "Sam", :gender :female}],
 :aliases {"Dan" ["Dante" "Daniel"], "Sam" ["Samantha" "Samoth"]}}

Looking for new owner / host

http://pretty-print.net/ is no longer functioning due to me shutting down the JVM that could no longer run on my server due to memory constraints. I am, at this time, unable to keep up with this project and dedicate the resources to keep it running.

I'll be departing with the project with or without an owner by Feb 28th, 2016.

project.clj settings

lein ring uberjar has the following complaint on build.

Warning: specified :main without including it in :aot. 
Implicit AOT of :main will be removed in Leiningen 3.0.0. 
If you only need AOT for your uberjar, consider adding :aot :all into your
:uberjar profile instead.

Swatch contrast

Per @oakmac we should tune this down a bit; I agree.

I'll probably opt for the CLJS / CLJ colors as primary since they are soft and go with the theme.

This site needs a UI

We need clean, simple UI to provide pretty-printing services for various input/output languages and data structures.

Documentation

People that want to contribute can't right now without guessing.

Save format settings

On successful format, save settings to localstorage so that they can be recalled when revisiting the site.

ports config file

The Clojure server, Node server, and development test server should all read their port numbers from a single config file in the project root.

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.