Fork me on GitHub
#off-topic
<
2017-06-16
>
john01:06:35

@danvingo thanks. I actually had to run and didn't finish my question. I'm looking for something they can use that doesn't require any programming. I could probably pitch them on something and make some cash but they're really looking for something super simple.

john01:06:18

And I figure there's gotta be a few "super simple restaurant app" platforms out there for her.

john01:06:46

So I figured I'd ask here before scouring the web.

john02:06:27

It would be pretty easy to make a restaurant platform on cljs/react with a Google Sheets backed menu. But I'd charge them way more though than they probably need, given the mobile appmaker platforms out there these days.

qqq07:06:31

what's the simplest way to change a 300+ page pdf to a list of pngs on linux?

gaverhae09:06:55

@qqq I had good experience with pdftk to split a pdf; I'm guessing once you have a pdf per page it's fairly easy to turn each page in a png

Drew Verlee12:06:19

Anyone know any good material on team velocity?

stand16:06:54

@qqq also pdf2svg (available via apt). Assuming it would be straightforward to convert a bunch of svg files to pngs.

donyorm16:06:06

So I just released a pre-release of WereSync, my open source program to incrementally clone Linux drives (https://github.com/DonyorM/weresync). Right now, I'm trying to get as much testing in as possible, so if any of you run linux I would love it if you would give it a try. This reddit post has details on the pre-release: https://www.reddit.com/r/linux/comments/6hilac/weresync_a_program_to_incrementally_clone_linux/ Additionally, I need help translating the project. See the above reddit post (towards the bottom) for more information if you would like to help with that.

mobileink19:06:03

is it worth the trouble to make a training vid for a new lib? i don't have the patience, i prefer reading, but i gather lots of people like vids.

bbqbaron19:06:54

i’m a tutorialer; vids are just too slow and inflexible

bbqbaron19:06:01

very hard to tune the content to the needs of the audience

fedreg19:06:17

@mobileink I always prefer reading to vids. You might want to run a quick survey...

mobileink19:06:04

@fedreg tried a survey a few weeks ago on slack asking for 👍 👎 etc. didn't work so great cause it quickly scrolls away. i guess i could ask on the mailing list. any suggestions

fedreg19:06:47

@mobileink you could pin it and just throw reminders in the feed occasionally?

mobileink20:06:42

fedreg: maybe i'll give that a try. never took the trouble to understand what pinning was for, heh. thanks!

qqq20:06:15

@stand @gaverhae : I just used gs // worked fine.

alricu20:06:02

Hi all, I am trying to find a way to create a REST client in clojure in which I can send client certificates to the server!!!!

alricu20:06:32

I have the client client.crt and the client.key and I need to send them in a GET request

qqq20:06:10

does mysql have a notion of "insert of primary key does not exist; update if primay key does exist" ?

alricu20:06:18

any idea about how to do that!! I have tried with http kit

alricu20:06:22

but none happens!!!

qqq20:06:33

you probably need https://github.com/JulianBirch/cljs-ajax on the client side

alricu20:06:23

it does not manage ssl certificates

alricu20:06:44

does anybody knows how to put certificates in http.async lib

alricu20:06:28

I tried with aleph too!! but nothing!!!

noisesmith21:06:52

(but not in this channel right now)

alricu21:06:49

I read that article; but when i tried those libs, I could not make it work!!

alricu21:06:12

I am really stuck!!

csm21:06:41

for aleph’s http client, you need to create a netty SslContext (use SslContextBuilder/forClient); then create a (aleph.http/connection-pool {:connection-options {:ssl-context your-ssl-context}}), and pass that pool with every HTTP request

csm21:06:46

Creating a SSL context is literally something like (-> (SslContextBuilder/forClient) (.keyManager private-key (into-array X509Certificate [cert])) (.build)) once you’ve loaded your key and certificate

alricu21:06:52

but nothing happens when I run the code!

csm21:06:47

You need to deref (d/chain ...)

csm21:06:09

otherwise it launches the async http call, then immediately terminates

csm21:06:35

you also may want to println the output, because that’s not going to display anything

alricu21:06:34

I tried; but with the println it shows << … >>

alricu21:06:25

However, when I use postman (a REST client) to consume the API it shows a correct message!

alricu21:06:35

a html text

csm21:06:21

try (println (deref (d/chain ...)))

alricu21:06:31

let me see