366 karma · joined Jul 21, 2016 (10y ago) · 239 submissions
comment 9y ago · link · parent
If you dial back the color of parenthesis and brackets to a lighter grey, the experience is almost like writing python with parinfer.
comment 9y ago · link · parent
comment 9y ago · link · parent
For the JS developers out there, is this something that's of interest? Or is the existing tooling(lein) good enough? What would be your ideal tooling story?
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
Moral of the story I moved to linux.
220.
A Majestic Monolith in Clojure(medium.com ↗)
3 points · by ledgerdev · 9y ago · discuss
comment 9y ago · link · parent
227.
Ramsey Nasser on Magic – A Clojure Compiler for CLR(vimeo.com ↗)
2 points · by ledgerdev · 9y ago · discuss
comment 9y ago · link · parent
What I've been thinking about about is step in the datomic direction, built on top of plain old postgres that wouldn't attempt full time travel, but would use the same general schema/model with history. It's seems crazy that in 2017 that we don't have a decent general option for most business apps to store facts that doesn't over-write the past as is done in current sql databases.
comment 9y ago · link · parent
https://news.ycombinator.com/item?id=1118986
http://stackoverflow.com/questions/491376/why-doesnt-net-c-o...
comment 9y ago · link · parent
Yes please. Maybe not join the direct CLR port, but rather a "clojure like" language implemented in fsharp, with repl/interactive development, a bit more syntax, immutable data, amenable to dotnet native, and fix clojure warts like bloated core namespace, startup issues, etc..
comment 9y ago · link · parent
1. They don't work well in multiple browser tabs. Specifically if you're storing a lot of data in memory it gets duplicated between tabs. Perhaps shared workers might be a solution in the future, but not now.
2. They allow designers to "enhance" the UI in new and wonderful ways, which isn't always good for user experience. It's like being tele-ported back to the windows native apps days. Plain old web apps forced simplicity and consistency in how things worked across the web. With spa's not so much.
3. Harder to test/re-create error conditions because often state of an application isn't represented in the url. (though it can, with good app state storage/structure, actually be better I think)
4. Harder to deploy new versions to apps sitting in users browser. So a user loads your wonderful spa app and leaves it open all day in their browser. You deploy an updated version mid day... how exactly does that user know to load the new version? In traditional web apps, updated versions are loaded on next page load.
5. You have to do something for page loading indication, since the browser no longer gives any indication it's waiting on the server for new data.
comment 9y ago · link · parent
A simple jvm clojure app running jetting deployed as an uberjar takes about 12 seconds to start on a 1GB digital ocean vm.
Using jvm clojure as with aws lambda, it takes ~20 seconds for a cold start. Normal java is typically a couple of seconds, and it's likely that a cljs/node instance will be sub-second cold start.
comment 9y ago · link · parent
https://forums.docker.com/t/file-access-in-mounted-volumes-e...
comment 9y ago · link · parent
comment 10y ago · link · parent
From the west coast, I'm getting between 150ms and 300ms response times for most requests, but it does jump around quite a bit, with occasional requests taking 500ms-800ms to complete.
A lot of the variability seems to be coming from execution time of the lambda itself, which would probably be because of the connection to RDS? I'm using HikariCP so the connection is pooled but maybe something like dynamo would be better.
So latency is all over the place, but generally under half a second.
comment 10y ago · link · parent
The first point is that it's a shared database that allows organizations to co-operate, with a common view of the world meaning fewer integration points which are exponential as the number of participants grows.
The second point is that none of the individual parties has monopoly control of the "central" database meaning they can't extract excessive rent from the participants and exert political/corrupt influence on the network.
This is my favorite video explaining this and blockchains in general, and this aspect specifically which begins at 23:45 in. The sound is terrible, but definitely worth listening to. https://vimeo.com/153600491