This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-17
Channels
- # bangalore-clj (2)
- # beginners (51)
- # boot (20)
- # cider (14)
- # clara (1)
- # cljs-dev (14)
- # cljsrn (50)
- # clojure (140)
- # clojure-dev (5)
- # clojure-france (1)
- # clojure-gamedev (3)
- # clojure-italy (4)
- # clojure-poland (3)
- # clojure-russia (8)
- # clojure-sg (1)
- # clojure-spec (64)
- # clojure-uk (51)
- # clojurescript (54)
- # core-typed (1)
- # data-science (2)
- # datomic (61)
- # docker (1)
- # emacs (6)
- # events (1)
- # graphql (1)
- # hoplon (14)
- # leiningen (8)
- # luminus (3)
- # mount (6)
- # off-topic (18)
- # om (17)
- # parinfer (34)
- # pedestal (47)
- # play-clj (1)
- # protorepl (1)
- # re-frame (56)
- # reagent (11)
- # ring-swagger (5)
- # rum (6)
- # sql (1)
- # uncomplicate (2)
- # vim (3)
- # yada (31)
probably, but we also have libraries that operate directly on pdf
i need to extract some text from pdf so i wanna see how xml looks maybe it could be easier with xpath/xquery than to parse text
https://pdfbox.apache.org/2.0/commandline.html#extracttext - used this good only <p> tags
right - you could also use that jar from clojure if the command line app is not flexible enough for what you need
@lepistane https://www.pdfdata.io/ this is a clojure service from @cemerick
Is there an OSS clojure project that is generally held out as a good project for beginners with the language to look at for idioms, etc?
Can anyone help me understand how to split the middleware for my site and api up in Compojure
ATM my routes look like this, http://shekels.wtf/i/0161d4d20bf6.meme.png
I've just been throwing things into, and taking things out of both randomly praying something will change
sorry, i can't read that on my screen, but i see lots of wrap-routes, i believe you can put then all together and use just one, but i'm going from memory. (fyi can use 3 backticks to format code)
2:6001/front-page:1 POST 500 (Server Error)
(index):1 XMLHttpRequest cannot load . No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access. The response had HTTP status code 500.
500 means the server app crashed in some form or another, so you should check the server logs to find out what went wrong there, and troubleshoot from there
i'm still just 'hello, world' level with clojure so might not be much help with the syntax particulars but can maybe help narrow things down
afraid i can't help much with CORS other than to observe you've got different ports.
500 response from the server means "internal server error" meaning the server itself crashed, nothing browser-facing
the browser's saying "hey you can't have this because the server didn't say you can, because you're crossing origin boundaries and we only do that if the server says it's ok"
hmm, ok but then why: " No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3449' is therefore not allowed access. The response had HTTP status code 500."
if the url violates cors, and that's a browser thing, why is it sent to the server?