Fork me on GitHub
#clojure-nl
<
2019-07-08
>
motoom07:07:13

Goeiemorgen ;-)

Stefan10:07:31

I regularly organize coding dojo’s with a colleague of mine. I sent out an invitation for a coding dojo about FP/Clojure last Friday. Got already 28 people who accepted! 🙂 That’s an all time high I think! 🎉

👍 8
helios10:07:52

Nice! Where is it going to be?

Stefan10:07:13

Eindhoven, aug 15

helios10:07:22

well, good luck!

👍 4
motoom10:07:12

Jammer, niet in Groningen...

borkdude10:07:52

feel free to vote: https://twitter.com/borkdude/status/1147975431343222785 if you want, you can get a sticker when I meet you next time 😉

motoom11:07:17

Kondo is een linter? Dan vind ik die eerste duidelijker, daar staat het woord 'linter' in. Dan weet ik gelijk waarover het gaat.

borkdude11:07:30

ok, good point

motoom11:07:09

Ik hou ook wel van duidelijke variabelenamen, die aangeven wat er in de variabele zit.

borkdude11:07:13

what's the best way to convert an .svg to pdf? I tried with gimp, but compared to an online service like https://www.zamzar.com I get a much more blurry pdf

motoom11:07:36

Ik gebruik Affinity Designer (is niet gratis).

motoom11:07:21

Als je die 1:1 bekijkt, zou-ie niet blurry moeten zijn

borkdude11:07:46

kun je ook eens pdf proberen?

borkdude11:07:00

dat vraagt de sticker-service waar ik het wil laten printen

borkdude11:07:16

@motoom het is al gelukt, een proefversie geïnstalleerd 🙂

motoom11:07:46

Is dat duur, stickers laten printen? Wat voor materiaal? Waterproof plastic?

borkdude11:07:54

30 euro voor 75 stuks

Stefan12:07:03

@borkdude Voor de volgende keer: misschien Inkscape? https://inkscape.org

Stefan12:07:18

Die kan ’t naar PDF en PNG enzo converteren.

Stefan12:07:53

Alleen niet echt mac-native, heeft xquartz nodig.

Stefan12:07:01

(`brew cask install inkscape`)

borkdude12:07:25

I tried brew, but I get:

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/caskformula/homebrew-caskformula/Formula/inkscape.rb
inkscape: "cxx11" is not a recognized standard
Error: Cannot tap caskformula/caskformula: invalid syntax in tap!

Stefan12:07:46

TL/DR:

brew tap homebrew/cask
brew cask install inkscape

Stefan12:07:55

Haven’t tried it.

borkdude12:07:37

that seems to be doing something, thanks

4
borkdude13:07:08

hmm, inkscape complains that the svg is not valid

Stefan13:07:27

That’s odd. Mine opens it (the one downloaded from the link above: https://s.tonsky.me/share/clj-kondo.svg)

Stefan13:07:39

Got inkscape 0.92.2

borkdude13:07:10

$ inkscape ./clj-kondo.svg

** (inkscape-bin:22622): WARNING **: Can't open file: ./clj-kondo.svg (doesn't exist)

borkdude13:07:31

$ inkscape --version
Inkscape 0.92.2 5c3e80d, 2017-08-06

helios13:07:12

@borkdude what about imagemagick? convert clj-kondo.svg clj-kondo.pdf ? (you need to specify a few more details, as the default will be of low DPI, i think)

Stefan13:07:23

@borkdude I think you have to open the file through the GUI…

Stefan13:07:40

(Inkscape can be a bit slow to start)

Stefan13:07:56

(Open it by double-clicking it in /Applications)

borkdude13:07:13

trying... first disabling some security settings... but it doesn't run, it quits after a few seconds

borkdude13:07:27

giving up for now, too time consuming, thanks for all the suggestions

Stefan13:07:01

I understand, it’s frustrating when it doesn’t just work 😞

borkdude18:07:05

@stefan.van.den.oord got it working now:

docker run --rm -it -v $PWD:/img flungo/inkscape /usr/bin/inkscape /img/clj-kondo.svg --export-pdf=/img/foo.pdf

Stefan18:07:19

Hmm, shouldn’t be that difficult, but ok…

Stefan18:07:04

Is the problem with its GUI maybe that you need to install XQuartz separately? Don’t remember, too long ago 🙂

Stefan18:07:32

Trying on my new Macbook now.

Stefan18:07:20

@borkdude Not sure what’s going on with Inkscape, it’s not working the way it should. As a work-around, you can: 1. Manually start XQuartz (/Applications/XQuartz.app) 2. In XQuartz (!) open a new terminal (CMD-N) 3. In that terminal, run /Applications/Inkscape.app/Contents/MacOS/Inkscape

borkdude18:07:46

difficult? docker is easier I find 🙂

Stefan18:07:08

Ah but now I have the GUI 🙂

niels18:07:34

I like the one with linter, because you immediately know what it is

niels18:07:03

makes me feel smart because it confirms my suspicion after seeing the squiggly line

Stefan18:07:31

@borkdude Inkscape works ok now! You know how I fixed it? Reboot!! 👎 I think the XQuartz installer is doing something that requires reboot somehow.

niels18:07:28

on the other hand it also makes me not check it out further if I'm not interested in linters

clj 4
borkdude18:07:17

if you're not interested in linters, and you will check, you will still be disappointed

borkdude18:07:38

I ordered the stickers, so now it's too late to change your mind 🙂

Stefan18:07:06

Are you bringing them to Heart of Clojure? 🙂

borkdude19:07:22

yeah 🙂

clj 12