This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (25)
- # beginners (21)
- # boot (487)
- # cider (8)
- # clara (2)
- # cljsrn (35)
- # clojure (44)
- # clojure-austin (6)
- # clojure-russia (211)
- # clojure-uk (25)
- # clojurescript (225)
- # core-matrix (1)
- # data-science (3)
- # datomic (23)
- # events (1)
- # hoplon (9)
- # immutant (14)
- # jobs (1)
- # jobs-discuss (5)
- # ldnclj (3)
- # lein-figwheel (2)
- # off-topic (2)
- # om (65)
- # onyx (65)
- # parinfer (3)
- # pedestal (4)
- # proton (1)
- # protorepl (1)
- # re-frame (16)
- # reagent (3)
- # ring-swagger (1)
- # specter (11)
- # untangled (1)
- # yada (8)
Reading backlog, coming from Python webdev I found Clojure really refreshing. The way mutability permeates every aspect of Python really makes life difficult beyond the very early toy stages of an application.
It’s also nice to be able to lean on the builtin data structures because they have good support right out of the box, in Python it’s extremely common to implement a bunch of small objects here and there because, for example,
dict (and the support for working with it) is so bad.
hey guys, im struggling with pulling large datasets from postgresql database using java.jdbc. Looks like it tried to pull everything into memory first, which is causing OOM errors. i have tried to add things like :fetch-size etc but it doesnt help at all. thoughts?
Afraid I don’t know the steps for postgresql, but you may find some love here: https://simplefeatures.wordpress.com/2011/09/30/jdbc-tweaks-to-enable-streaming-result-sets/
Hey there. I’m having some unicode issues. Another API is giving me corrupted unicode, like “I contain \342\200\223 an en-dash”, where the numbers there are the octal codes for the 3-byte unicode for
– which is the EN-DASH character. I could write a parser for this, but is there some Java magic I can do to fix this before going down that rathole?
Fun times with mojibake. 😉 So, basically, your other API is not UTF-8 aware. Instead of doing UTF-8 decoding of the bytestream, it is essentially just upcasting all the
chars directly without any decoding.
If you can get your API to return byte arrays, you can easily use Java’s
Charset class to decode that.
kind of, but not adequate. It’s http://support.kissmetrics.com/apis/data/. They’re broken, I’ve told them they’re broken, but I still need to parse my data
I’m basically trying to see if the HTTP headers contains a UTF-8 charset declaration in the
Hi, I have a vec of strings and want to concatenate them via a grouping. So ['a 'b 'c 'd] becomes ["ab" "bc" "cd"], is there a nice function for that?
@arohner: Great. I missed that partition takes a step parameter, thets what I need, thank you
@arohner: I reread your question. Is your API returning actual backslash-3-4-2-backslash-2-0-0, etc.?
(As an aside: “j7gs” in the package name stands for “Java 7 GolfScript”. I had intended to write a Java-based GolfScript interpreter (which uses Ruby strings) many years ago, before I realised that all the serious golfers had moved on to using CJam and Pyth. I’m currently in the process of writing a C++ implementation of CJam for fun. :-P)
cider is consistently crashing
emacs when I accidentally build an infinite loop.
C-C C-C does nothing to cease execution. How can I stop crashing emacs? Is there a way to break out of long running loops? Or reliably terminate execution without killing emacs?
(and just now, when I started the CIDER in emacs, you know how it gives you a little quote of the day? Mine just now was "To infinity and beyond", haha. The computer revolution is here, it knows what I'm doing!!)
46245 << 16 = -1264254976
(bit-shift-left 46245 16) = 3030712320
anyone know how I can get the same result in Clojure?
(unchecked-int (bit-shift-left 46245 16)) rather than relying on implementation methods