This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-25
Channels
- # admin-announcements (5)
- # arachne (1)
- # beginners (29)
- # boot (36)
- # cider (110)
- # clara (1)
- # cljs-dev (3)
- # cljs-edn (14)
- # cljsrn (24)
- # clojure (63)
- # clojure-belgium (3)
- # clojure-dusseldorf (5)
- # clojure-greece (9)
- # clojure-russia (142)
- # clojure-sg (15)
- # clojure-uk (20)
- # clojurebridge (4)
- # clojurescript (58)
- # data-science (1)
- # datomic (37)
- # editors (2)
- # editors-rus (7)
- # emacs (1)
- # garden (31)
- # hoplon (3)
- # jobs-discuss (8)
- # keechma (86)
- # leiningen (1)
- # liberator (2)
- # mount (23)
- # off-topic (2)
- # om (18)
- # onyx (42)
- # planck (1)
- # quil (6)
- # re-frame (8)
- # reagent (3)
- # ring-swagger (1)
- # specter (4)
- # untangled (1)
@argentum47: any particular reason why you decided with something other than jetty?
thought so... trying to find an elegant solution to this https://github.com/clojure-emacs/refactor-nrepl/issues/160#issuecomment-214147822
what you want to do is change the cache to be per run of slamhound, instead of global per jvm
I would love to hear all the reasons why this is a bad idea https://github.com/clojure-emacs/refactor-nrepl/issues/160#issuecomment-214206005
Anyone know a way to get the exact context some line in the code happens to be(all vars, loaded modules etc) and wrap it in something which can be loaded somewhere else?
Like debugging. Add a breakpoint there, get all the possible context, save it to a text file, load it somewhere else and debug it. Is it possible in clojure? If not, why?
@thiagofm: Sounds like a great idea. I just wonder: 1. is that possible in a different language? 2. How would you handle to state stored in the browser client or in the database, for instance? I don't see a way to catch that, Not even starting to talk about some distributed setup.
@sveri just state from the code itself, what the JVM has loaded, for example. Of course for some things it would break(like open connections with the db)
@sveri: not that I know of. Ruby has "binding", but sadly there isn't too much effort to make everything marshallable, and you can't marshal binding.
Perhaps it wouldn't work with some garbage collectors too. What I really wanted was a docker-like image of the current code being run.
@sveri I have an idea, but to do it, I need a language that would have this feature. Maybe it could be a concept misconception by my part, but I think it should be possible to write a language that can do this
I agree, everything is possible Basically, it boils down to taking a memory dump of your process and somehow rebuild that.
@sveri: I have an idea of something that in my view would severely reduce cognitive load in programming, this feature would be an enabler. I'm still not sure about everything about it, but would be good to know a programming language that would let me have this starting point.
@thiagofm: This sounds like (though I have no experience with it to confirm) something Smalltalk does
@thiagofm: I think you need to retain type information at runtime then, all at all it sounds hard to do, but yea, if its an enabler, and even if not. Trying out things is always cool
@ghosss: http://stackoverflow.com/questions/13424027/what-gives-smalltalk-the-ability-to-do-image-persistence-and-why-cant-language this? This looks amazing
Yeah, that's what I'm thinking of. See also this section of the Smalltalk article on Wikipedia: https://en.wikipedia.org/wiki/Smalltalk#Image-based_persistence > Smalltalk images are similar to (restartable) core dumps and can provide the same functionality as core dumps, such as delayed or remote debugging with full access to the program state at the time of error.
I've heard stories though of old Smalltalkers. These images would evolve over time, and would be impossible to recreate, so you had this big mutable environment that you had to drag along all the time and hope you didn't mess up.
@plexus: cool! At least the "it works on my machine" would be always a valid argument.
@turbopape: does scheme have an equivalent? I would rather try to do something in a functional programming language regarding that
@turbopape: that is cool! What about threading and connections(like db conns)?
And even , Many of these schemes have FFIs to let you reuse C (or evene Java) Libraries
You know, I fell in love with schemes myself, sometimes I wish to make the jump and to do it full time
So I have to specify the cc manually? Isn't there a way to have this all around the code?
I don’t know… But I tink you can wrap whatever you want in some form of call-with-XYZ
Can I send you a private message so I can get a bit more specific about what I want to achieve without keeping the channel full of 1-1?
Any Component users who wouldn’t mind me picking their brains in a DM? I have a couple of specific questions — I’d hoped to catch @stuartsierra online at some point for a "definitive" answer but I figured polling other existing users would be worthwhile too...
@seancorfield: What about #C0GQAAKA9 channel?
I didn’t know there was one @sveri — thank you!
to anyone with core.async
experience: can I trust the results of https://gist.github.com/moxaj/6b5830e04f141c57e4438722c2fe03ef? Will the measured overhead remain constant if executed from multiple go blocks?
um. noob question - why do we have clojure libs signed? lein deploy clojars forced me to sign it, and I'm not sure why - it is already protected by https and my login/password, right? what stops a person who can give you wrong .jar to sign it with his own key?
@moxaj: Channels use locking internally, so the time taken for channel operations will vary depending on how much contention there is for the channel.
@leov: Maybe nothing (not sure -- haven't checked). But if you found a problem with something they released later, you should easily be able to tell the one signed by @badguy vs. the one signed by @goodguys