Fork me on GitHub
#boot
<
2015-09-10
>
alandipert01:09:01

it would have been hard to miss, but alda is really cool - and powered by boot! https://daveyarwood.github.io/alda/2015/09/05/alda-a-manifesto-and-gentle-introduction/

meow01:09:11

@alandipert: that is so cool. That might pair up really nicely with the L-system code I've been working on: https://github.com/decomplect/ion/blob/master/src/ion/ergo/l_system.cljc

meow01:09:51

I was going to use my code with Overtone, but I'll take a look at Alda as well.

alandipert01:09:00

@meow: interesting! yes, alda compiles into an intermediate language that would be easy to target/generate:

(alda.lisp/score
  (alda.lisp/part {:names ["cello"]}
    (alda.lisp/note (alda.lisp/pitch :c :sharp))))

meow01:09:08

@alandipert: thanks for posting that link - I had no idea about his work

meow01:09:40

I'm a noob when it comes to music stuff, so I'm working on learning more about it.

meow01:09:12

But I'm pretty happy with the l-system code and it's come out to be uber flexible with functions and transducers

meow01:09:48

The whole thing is just a bunch of variations on middleware processing, but done recursively

meow01:09:13

So lots of interesting sequences can be generated easily - lots of fractals

meow01:09:48

and I've made it very easy to make it stochastic and handle any kind of parameters

alandipert01:09:50

sounds awesome for making cool music and sounds

meow01:09:00

so there should be lots of possibilities

meow01:09:39

that's my plan - make lots of cool sounds generatively

meow01:09:47

and turtle graphics

meow01:09:14

so I will definitely take a look at alda and related projects

alandipert02:09:27

definitely interested in "hearing" how that goes 😃

meow02:09:55

@alandipert: I will let you know. The L-system code is done, other than some minor tweaks. Now is the time for me to start having fun with it.

meow02:09:25

So I'm going to do some turtle graphics with it and, hopefully, do something interesting with alda.

escherize07:09:29

What's a good way to get up and running with perun https://github.com/hashobject/perun?

escherize07:09:38

Is it costmary to create a new clojure project like usual and hack in perun?

martinklepsch09:09:57

@escherize: there’s an example project linked in the readme but you’d have to strip that down to what you want. Guess creating it on your own would be easier/faster.

crisptrutski09:09:14

@martinklepsch: you should finish porting your blog to perun so we have good reference 😉

crisptrutski09:09:21

i’ve even got the perfect name for it

crisptrutski09:09:32

der klepsch clojureklatsch

crisptrutski09:09:18

would work even better for your talk show

k-hen15:09:45

hi, i'm new to boot, and would really appreciate a basic guide for newbies like me to get started with it using cursive

martinklepsch15:09:32

@k-hen: this might help a bit already but it’s not an actual guide/tutorial I’m afraid: https://github.com/boot-clj/boot/wiki/For-Cursive-Users

k-hen15:09:01

i saw that page, but will the repl pane still work or does that use lein-specific values?

martinklepsch15:09:04

I’m not sure, I’m not using cursive. There’s also a cursive channel where you might find other cursive +boot users: #C0744GXCJ

jaen15:09:07

@k-hen: boot repl "just works" with Cursive

jaen15:09:22

You just add a remote repl

jaen15:09:30

And select "use leiningen REPL port"

k-hen15:09:30

@martinklepsch: good advice, thanks

k-hen15:09:55

@jaen so i tried starting the repl manually through a terminal window, then went into the cursive repl settings and added a remote repl using lein port, but then it hangs with connecting to remote nrepl server 'boot.user'

jaen15:09:25

Hm, interesting, this works for me.

jaen15:09:58

So let's see, you have the dummy leiningen project and imported that into Cursive, right?

k-hen15:09:00

i can interact with the boot terminal repl fine, and i have a .nrepl-port file in my project

jaen15:09:06

Well, that's weird then, this seems like all that's needed.

k-hen16:09:34

hmm .. well, it's good to know it works, i'll just have to keep plugging - thanks for your help

jaen16:09:28

@k-hen: I know that's a dumb question, but how it "hangs"? Did you try to eval something?

jaen16:09:44

First time I looked at that REPL window ever I thought it hanged

jaen16:09:53

But it just doesn't prompt you when it finishes connecting

jaen16:09:00

And just looks as if it hanged

k-hen16:09:25

not a dumb question at all

k-hen16:09:40

the repl options in cursive are greyed out and i can't submit anything

k-hen16:09:15

i.e. the 'send to repl' functions are disable

k-hen16:09:27

what's strange is i don't get any errors, there's probably a way to enable cursive debugging but i'm not sure how yet

jaen16:09:04

^ that's literally all I had to do to get it working

jaen16:09:37

So if that's not enough for you then that might be a bigger problem

k-hen17:09:04

thanks, that's exactly what i have though, so it must be a bigger problem then

pandeiro17:09:25

is there something special that must be done to get the minified js when using boot-cljs/cljs with :advanced?

pandeiro17:09:03

i'm getting the minified react but pikaday is the unminified version - probably cljsjs/pikaday issue?

pandeiro18:09:24

k seems like there just isn't any minified pikaday included in cljsjs/pikaday

pandeiro18:09:54

and the project also doesn't seem to include a minified build in its repo

k-hen18:09:10

so just for the record, i seem to have the boot repl working now in cursive - no longer an issue. It could have just been me being an idiot or maybe i fixed something but unfortunately i'm not sure which (probably both)

k-hen18:09:44

i did notice that if your cursor isn't in the main window (e.g. in the repl window) then the send to repl options are in disabled