This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-25
Channels
- # beginners (21)
- # boot (37)
- # cljsjs (1)
- # cljsrn (1)
- # clojure (48)
- # clojure-greece (3)
- # clojure-poland (1)
- # clojure-quebec (4)
- # clojure-spec (40)
- # clojure-uk (1)
- # clojurescript (113)
- # cursive (13)
- # events (3)
- # hoplon (183)
- # jobs (5)
- # off-topic (2)
- # onyx (49)
- # planck (35)
- # re-frame (8)
- # reagent (2)
- # sim-testing (1)
- # specter (4)
- # spirituality-ethics (2)
- # untangled (1)
- # vim (2)
- # yada (1)
You can find some good projects at http://open-source.braveclojure.com
Particularly the ones marked beginner friendly
saw this in the refactor-nrepl source and hadn't seen it before
(defmethod path-class-files :dir
;; Dispatch directories and files (excluding jars) recursively.
[#^File d #^File loc]
in ancient times ^something
used to be syntax for (meta something)
IIRC and #^Foo something
for (with-meta something {:tag Foo})
, the former was later changed to be the preferred version of writing the latter
if i have a 500 byte buffer... how do i remove the first 4 bytes and write out the rest to a file?
Lookup the Java ways to do that and use interop
like I can open a socket, but after that function call returns doesnt it go out of scope?
Usually you pass it around
Or you pull something off of it and that maintains a reference to it so doesn't gc
is passing it around like defining it in a "let" and then referring to whatever it was defined as later in the function?
Yes or passing it to functions that use it