This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-31
Channels
- # announcements (2)
- # beginners (208)
- # boot (4)
- # calva (5)
- # cider (3)
- # clojars (3)
- # clojure (59)
- # clojure-dev (27)
- # clojure-india (2)
- # clojure-spec (46)
- # clojure-uk (3)
- # clojuredesign-podcast (4)
- # clojurescript (11)
- # cursive (10)
- # emacs (2)
- # figwheel-main (3)
- # off-topic (73)
- # onyx (1)
- # re-frame (8)
- # reagent (3)
- # rewrite-clj (12)
- # shadow-cljs (29)
- # spacemacs (1)
- # tools-deps (19)
I'm trying to implement a parser for org-mode using instaparse. The parser will be available online, it more or less work, but I need some crazy examples of org files you might have and which you use on daily basis. I would highly appreciate if some of you could send me some snippets of your org files using: https://pastebin.com/ in this thread.
By it's nature my org files are private, and would love to to run your parser on them to see what comes out
@karol.wojcik have you considered: https://github.com/search?q=filename%3AREADME.org ?
I'm looking for some real examples of TODO lists. http://README.org is not sufficient ;(. @danie yeah I know therefore if you could anonymize the data it would be perfect.
I have a 9 year old brain.org.gpg and various gtd.org.gpg-<autosave-date> files, not easy to anonymise 😊
so then, how about: https://github.com/search?q=filename%3ATODO.org ?
😄 Thanks @sogaiu
I've been trying to learn terraform and docker but there is so much that feels either fuzzy or missing
i could write a server that talks to a database and does all the mechanical things for serving data
but if i wanted to add a searchbar and something like https://github.com/valeriansaliou/sonic
i know for an application i write it makes more sense to use a managed database like AWS provides
maybe i hardcode that db's url or shove it through some environment variables with terraform
Hey @emccue I can help! So if I understand correctly there is one service and its database right?
(I have maybe an hour more of emotionally driven rants about my ignorance - but thats a good place to stop)
well in this hypothetical there is one service with a db and i want to call another service which also might have a database
so an relatively simple way to do it is package the service up in docker and deploy it along with the DB container. I can help more with the docker stuff if i can see the code or a bit more details are provided
discuss it here in a thread? @emccue
details like what the language the service is in, whats the db, the exposed ports etc would be helpful 🙂
right
If you are willing to follow down the rabbit hole a bit i can make a leiningen project that works locally. There is already a docker image for the example service here valeriansaliou/sonic:v1.2.2
right so this is the DB and i assume youre trying to write a server (with UI) for the search and input/output?
one way could be, as you rightly said, read the DB url from the environment variable in the code.
and secondly you need to package your app into a docker image
and i would want to be able to have all of it or as much of it as possible be declarative
for a quick local test you can try this:
docker run -it --name my-db -p 1491:1491 valeriansaliou/sonic
this should start up a server on port 1491 on your machine
to deploy this a simple way would be to use docker compose
this allows you to group all your related services into a single unit
and you can specify the db url to your app here too
this is the other app right?
in the DB? you need to use a https://docs.docker.com/storage/volumes/
this mounts the data path to the host machine
in the case of AWS it will be an EBS volume
so when the container/machine restarts the data is still there
for a sample docker compose file tying multiple services together you can check out: https://github.com/bob-cd/bob/blob/master/docker-compose.yaml
you can just say docker-compose up bob
and the whole cluster is up
it shouldn't be, its literally my career to bridge the gap between dev and ops 😄
for volume mou nts on compose check out the volumes section in: https://docs.docker.com/compose/compose-file/
I'd recommend not to go down the bigger rabbit hole of Kubernetes yet, its only when you need scale. its better to be avoided for simple cases
feel free to PM me for any issues! Happy to help 😄
once you are able to bring your cluster up via docker-compose locally, the same can be done on an EC2 AWS instance
@denisgrebennicov Background on Clojure roadmap https://clojure.org/dev/dev#_roadmap
Not sure if you'll be able to see this page https://clojure.atlassian.net/browse/CLJ-2003?jql=project%20%3D%20CLJ%20AND%20resolution%20%3D%20Unresolved%20AND%20fixVersion%20%3D%20%22Release%201.11%22%20ORDER%20BY%20priority%20DESC -- that's what is currently being looked at for 1.11
Lots of Spec stuff (and maybe Spec 2?). Serialized Vars. Lighter weight namespace aliases for keywords. (all subject to change etc etc usual disclaimer)