This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-14
Channels
- # announcements (2)
- # beginners (88)
- # calva (17)
- # cider (25)
- # cljdoc (22)
- # cljs-dev (10)
- # clojure (194)
- # clojure-italy (1)
- # clojure-nl (8)
- # clojurescript (24)
- # data-science (11)
- # datomic (1)
- # fulcro (6)
- # jobs (1)
- # leiningen (4)
- # nyc (1)
- # off-topic (70)
- # pedestal (6)
- # quil (4)
- # shadow-cljs (59)
- # vim (8)
https://tenor.com/view/lol-sloth-happy-dead-inside-relaxed-gif-4564941 that's literally me applying hammock driven development techniques
I am reading Clojure for Brave and True. But my kindle is blurring the code fonts… anyone know a simple fix for this? The text works fine except for the code sections. It’s happening on all books.
I think I need to buy a new kindle. It’s about 10 years old. I love the paper mode style of it.
ok, I will try reading the code from my phone. I didn’t think of that. Cool.
I put all my books on my kindle. 80+ and got rid of my books. But now I am regretting it. I was trying to be minimalistic 🙂
When the kindle first happened I felt the same way. Then I realized there’s still value in physical books, so I use a combination depending on accessibility and subject matter.
Also, if you’ll forgive a shameless plug but I put together a small library tool one can use to take notes when learning Clojure from books and create interactive, well documented examples to make it easier to revisit. https://github.com/eccentric-j/book-report
I would get a kobo rather than a kindle personally if you're looking for a new ebook reader.
@UHZ9UUT7H How come?
@UHZ9UUT7H is better than a kindle?
Kobo is Japanese? I love things built from Japan.
kobo are mainly better from the software side, they're a lot more open than the kindle. (support for books from any store without needing jailbreaking, doesn't rely on amazon for stuff etc)
The kindle has gotten better about supporting other sources, most ebooks I download I can send to the kindle.
It’s just weird because the display works fine on my kindle. But not the italic or code fonts. It seems more like a software error.
that's the original kobo but they've made a lot since then. And it is japanese made although a canadian company originally. I also love how easy the kobos are to mod (mine runs koreader) compared to kindle but I'm a bit of a customisation addict and that appeals to me
the only issue I had with brave and true on my kobo was line numbers in the code blocks displaying slightly weirdly but that is down to epub and not the book or kobo itself
I don't have too much experience of kindle beyond ~2015 though so they have probably changed a lot since then, I've just stayed a kobo faithful because they've always worked best for me
@UGQJZ4QNR perhaps try the kindle desktop app? If it displays weird there too then it’s probably the ePub file itself. If it works then it may be a device issue.
ahhh ok. Maybe I can try re-downloading the epub. Maybe the data has degenerated.
I’m trying to generate the sources for OpenJDK (https://github.com/openjdk/jdk) but I’m getting this error:
configure: Potential Boot JDK found at /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home is incorrect JDK version (java version "11.0.2" 2019-01-15 LTS); ignoring
I’m doing this on Mac. This is when I execute bash configure
.are you running the
bash configure
inside the specific Java directory?what version do you get when you type java -version in your top level dir?
my first thought is… it’s confused about which java open jdk version to use? bash doesn’t know. It’s searching your paths for Java.
check your JAVA_HOME env var
export JAVA_HOME=~/Downloads/jdk-12.jdk/Contents/Home
did the trick. I think it didn’t understand my --with-boot-jdk
option
ya, you needed to change JAVA_HOME?
OSX gets confused about paths very easily
I could try to get you to switch to Linux. Less path problems. hahahaha j/k
I use Linux and OSX, both are great
ya, you are correct. Nvidia is a challenge on Linux.
not sure if that helps
I'll just have some entries in my .bash_profile like alias jg="export JAVA_HOME='/Users/bla/Workspace/graalvm-ee-1.0.0-rc9/Contents/Home'; java -version"
on my mac
have you encountered any issues with readline when running Clojure? on OSX
my Clojure version is looking for readline version 7 but I have version 8 installed. I am trying to get brew to install both versions. I suspect that my Ruby install which also uses readline, changed the versions on me.
I symlinked 7 to 8 and now it works again
I had to for I believe psql
@borkdude if I understand, you're trying to build OpenJDK - have you read https://github.com/AdoptOpenJDK/openjdk-jdk12u/blob/master/doc/building.md#boot-jdk-requirements ? I don't remember the details but it could help to use older JDK as the "book jdk" (maybe as old as Java 8 - but definitely not 12 if you are trying to build 11)
as regards to switching between different java versions I second the jenv
tool recommendation - handling JAVA_HOME on Mac OS is such a mess 😞
The only step I need from this build process is gen-src for java.base, because I’m missing some java.nio .java files
@borkdude do you already have several Java versions on your machine?
I think you need to set the default java version
it looks like it’s confused about which java version is the default on osx
let’s thread the discussion…
Any opinions on Clojure WebApp vs. Desktop? I'm preparing to write an app with lots of a visualisation (charts, canvases, etc.), so I'm thinking whether I should go for a lib like cljfx, or use that one lib that compiles clojurescript to electron, but on the other hand browservm clojurescript seems like less of a hassle with all these js libs (I think performance would be pretty much comparable in both jvm native and browser implementations)
Personally I would go the webapp route given that the libraries for visualizations are in wide use, well documented, and likely well maintained.
I wonder if building a front end in js with the jvm's js rather than electron would make sense. I didn't enjoy electron's server/client setup last I checked it.
@U050PJ2EU Eh, rn I don’t think you can cross write for javafx and the browser at all - last time I checked the libs they all had incompatible APIs, only conceptually similar in a re-framy way. You can’t have shared libraries or components, alas; so you’d have to choose between javafx and js.
Vega/Vega-lite seem the way to graphs these days, and they are easiest to reach from cljs... https://github.com/metasoarous/oz
Speaking of visualizations, anybody have any recommendations of a library for creating a tree diagrams on web? (I tried d3 but honestly didn’t find it that helpful)
how about html5 canvas?