jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.18.7 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
<apotheon> asterite: Both of those things seem very easily prone to accidental violation of the license terms, and could make things inconvenient -- especially for a forked project, in the case of the bookkeeping clause.
<apotheon> jhass: There's a little bit of elaboration on the relevant clauses as examples of restrictions that violate the CSD, on the CSD page itself. http://copyfree.org/standard
<apotheon> FromGitter: The name change and the patent clause have no conflict with the Copyfree Standard Definition, and I have no problem with them. The thing about having to say things have changed is actually pretty complicated, in that every file ever modified needs notices, and the license could be interpreted as requiring such notices for every new copyright holder to modify the file unless all
<FromGitter> apotheon, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/crystal-lang/crystal
<apotheon> previous copyright holders on contributed code waive that requirement for the new changes.
<apotheon> err
<apotheon> @cjgajard ^
<apotheon> not really intended to respond to the bot, per se
blackoperat has joined #crystal-lang
<crystal-gh> [crystal] asterite opened pull request #3130: Add select keyword (master...feature/select) https://git.io/v6CNM
Philpax has joined #crystal-lang
<apotheon> asterite: By the way, much like the descriptions of licenses at Creative Commons, the license descriptions at choosealicense.com are pretty misleading about a lot of license details.
blackoperat has quit [Quit: Textual IRC Client: www.textualapp.com]
blackoperat has joined #crystal-lang
blackoperat has quit []
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Read error: Connection reset by peer]
Oliphaunte has joined #crystal-lang
<FromGitter> <drosehn> I just watched a video with Walter Bright talking about what license that they went with for the d-lang, and why. Short video. Let me see if I can find it...
<FromGitter> <drosehn> https://www.youtube.com/watch?v=UGcKojMF5ps -- for the full video (12 minutes).
<FromGitter> <drosehn> And here it is starting six minutes in, where he talks about licensing: https://youtu.be/UGcKojMF5ps?t=5m58s
Oliphaunte has quit [Remote host closed the connection]
<FromGitter> <drosehn> (hmm. I didn't realize gitter.im would insert a preview of the video. oh well)
<FromGitter> <drosehn> Ugh. And not only did it stick in the preview, but if you click on the preview instead of the link then it ignores the setting of t=. So click on the *link* in my second posting.
<FromGitter> <drosehn> I'd try to edit that to get rid of the preview, but I'm afraid that would just create more spam, especially to those on the other side of the IRC gateway.
Oliphaunte has joined #crystal-lang
<rkeene> It's so spammy already.
jwaldrip has quit [Quit: Connection closed for inactivity]
willl has quit [Quit: Connection closed for inactivity]
Nicely has joined #crystal-lang
Nicely has quit [Quit: Leaving.]
Nicely has joined #crystal-lang
Nicely has left #crystal-lang [#crystal-lang]
matp has joined #crystal-lang
Philpax has quit [Ping timeout: 258 seconds]
sumproxy has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
onethirtyfive has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
<FromGitter> <sumproxy> @asterite @RX14 told me you were the guy who could answer the question about parallelism in crystal, what's the status, progress, future plans. So please if you can :)
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
<FromGitter> <sumproxy> a question to everyone: do you provide IDE support? I'm particularly interested in Emacs
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
bjz_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 276 seconds]
bjz has joined #crystal-lang
pawnbox has joined #crystal-lang
onethirtyfive has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
onethirtyfive has quit [Remote host closed the connection]
bjz has joined #crystal-lang
davidklsn has joined #crystal-lang
ponga has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fnux has quit [Quit: ZNC - http://znc.in]
fnux has joined #crystal-lang
Philpax has joined #crystal-lang
llaine has joined #crystal-lang
llaine has left #crystal-lang [#crystal-lang]
sumproxy has quit [Ping timeout: 250 seconds]
davidklsn has quit [Quit: Textual IRC Client: www.textualapp.com]
Nicely has joined #crystal-lang
sumproxy has joined #crystal-lang
jnylen has quit [Ping timeout: 260 seconds]
jnylen has joined #crystal-lang
mark_66 has joined #crystal-lang
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> sumproxy: somebody started something here https://github.com/jpellerin/emacs-crystal-mode
<Yxhuvud> updated a year ago? Seems to need some love then.
<jhass> give it some ;)
<jhass> https://github.com/dotmilk/emacs-crystal-mode seems a bit further along
<sumproxy> jhass thanks
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Remote host closed the connection]
fnux has quit [Quit: ZNC - http://znc.in]
bjz has joined #crystal-lang
sumproxy has quit [Ping timeout: 250 seconds]
<FromGitter> <sumproxy> What's the current way to build projects, I can't seem to find relevant information. I figured out how to build single files, but found no info on projects. Can someone please help?
<BlaXpirit> sumproxy, what is a "project"? don't you end up just compiling the main file which pulls in all the dependencies?
<FromGitter> <sumproxy> @BlaXpirit well I thought there was a way to do that for the hierarchy of files created with `crystal init app <myapp>`
<FromGitter> <sumproxy> anyway I come from rust lang so I thought crystal was like rust's cargo
<FromGitter> <sumproxy> that manages all dependencies and builds projects
<RX14> with crystal you only need a single entrypoint for the compiler to do all the work, so a cargo style run/build command isn't as needed
<RX14> you just call crystal run/build src/whatever.cr
<RX14> or crystal spec
<RX14> which is more commonly used anyway
<FromGitter> <sumproxy> what's the right way to manage dependencies?
<RX14> shards
<RX14> it ususally comes with the crystal distribution
<FromGitter> <sumproxy> so do I build shards manually?
<RX14> no
<RX14> shards is a command
<FromGitter> <sumproxy> oh
<jhass> crystal deps calls it too
<RX14> i would honestly remove crystal deps
<RX14> or at least rename it to crystal shards
<FromGitter> <sumproxy> i seem to be getting lost :)
<RX14> `crystal` is athe compiler, `shards` is the package manager
<FromGitter> <sumproxy> is there a manual or something?
<RX14> `crystal deps` simply calls `shards`
<RX14> don't worry about crystal deps for now
<FromGitter> <sumproxy> so how do I build the whole projects with all its shards?
<RX14> crystal builds all it's dependencies from source
<RX14> you don't need to build deps
<FromGitter> <sumproxy> oh, I see
<FromGitter> <sumproxy> nice
<RX14> you just build the main file and it requires and builds the dependencies
<FromGitter> <sumproxy> right, good
<FromGitter> <sumproxy> thanks for clarification
Nicely has left #crystal-lang [#crystal-lang]
Philpax has quit [Quit: Leaving]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
Philpax has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matp has quit [Remote host closed the connection]
<FromGitter> <sumproxy> @BlaXpirit I'm currently trying to figure out how to make crsfml work, but I'm not sure I get the documentation. Going with approach 2 in installation https://github.com/BlaXpirit/crsfml follow along but see the line `Go to the voidcsfml subfolder`and I have no idea where that would be...
<BlaXpirit> sumproxy, sorry, approach 2 is not finished, working on it right now
<FromGitter> <sumproxy> @BlaXpirit so is approach 1 the only way to do it right now or it is also incomplete?
<BlaXpirit> sumproxy, approach 1 is complete
<FromGitter> <sumproxy> @BlaXpirit will try it, thanks
<BlaXpirit> problem with approach 2 is it describes a latest source release, but there's no such release yet
<FromGitter> <sumproxy> oh, I see
<BlaXpirit> seems like i need a way to convince people that approach 1 is not scary
<BlaXpirit> cuz so far approach 2 seems to be what people are going for
matp has joined #crystal-lang
Oliphaunte has joined #crystal-lang
bjz has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
<FromGitter> <mverzilli> @sumproxy I use Spacemacs. For Crystal I'm using these lines in the .spacemacs file: https://github.com/juanedi/dotfiles/blob/master/.spacemacs#L298
<FromGitter> <mverzilli> combined with Ruby mode
<FromGitter> <mverzilli> there's some annoying syntax errors
Philpax has quit [Ping timeout: 258 seconds]
<FromGitter> <mverzilli> but the hook to crystal-format works as a charm, so I can live with a couple of complaints from the ruby mode syntax checker :)
<FromGitter> <kofno> I'm working on Crystal-IDE for VSCode --> https://github.com/kofno/crystal-ide ⏎ ⏎ So far so good. Right now I'm rebuilding the language server piece in Crystal. Which is fun.
<FromGitter> <mverzilli> @kofno I saw that project! really cool and super useful! especially this: https://github.com/kofno/scry
<FromGitter> <kofno> Thank you! I'm really enjoying building it and Crystal has been just what I was looking for to add to my tool box w/ Ruby.
<FromGitter> <mverzilli> I'm working with Crystal everyday and I find myself mumbling "it would be awesome to have a 'find references' command"
<FromGitter> <kofno> Yes! That's exactly where I want to get to.
<apotheon> Regarding that D video . . . Boost is a pretty nice license. My only complaint is the same as for things like the ISC, MIT/X11, and Simplified BSD licenses -- that they're software-specific, which could conceivably cause problems for combining disparate media types.
<FromGitter> <mverzilli> it's kind of the inverse, so it maybe helpful
<apotheon> In practice, that's a pretty small complaint, and I'm generally happy to see a project choose the Boost license.
<FromGitter> <kofno> I've been reading a lot of the crystal compiler code lately, but I hadn't seen that yet.
<FromGitter> <kofno> thanks!
<FromGitter> <mverzilli> yw!
<FromGitter> <sumproxy> @mverzilli i tried Spacemacs but it seemed too weird to me and worked not the way I expected so I went back to regular
<FromGitter> <sumproxy> @jhass recommended to me a nice plugin, works quite well
<jhass> apotheon: we CC0'd or language docs btw
<jhass> *our
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/v6lLr
<crystal-gh> crystal/master 0cc341d Ary Borenszweig: Merge pull request #3130 from crystal-lang/feature/select...
pcc54 has joined #crystal-lang
pcc54 has quit [Client Quit]
<apotheon> jhass: Awesome.
<apotheon> jhass: In principle, I quite like CC0 and Unlicense. There are some stupid laws in Norway that make public domain potentially problematic, though it's probably more of a "this could become a problem in the future" situation than "this is a problem right now" for software.
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Oliphaunte has joined #crystal-lang
<travis-ci> crystal-lang/crystal#0cc341d (master - Merge pull request #3130 from crystal-lang/feature/select): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/151226297
pawnbox has quit [Ping timeout: 258 seconds]
pawnbox has joined #crystal-lang
mark_66 has quit [Quit: Leaving.]
<BlaXpirit> sumproxy, so how did it go?
<apotheon> jhass: Was using CC0 for docs a recent change, or was that the status of the docs all along?
<BlaXpirit> apotheon, well... neither
<jhass> couple of months ago
<apotheon> Thanks.
<apotheon> I suppose I could have just checked commit history, but my brain has been pretty foggy the last few days, so . . . I'll blame that.
<jhass> to clarify, it's this repo https://github.com/crystal-lang/crystal-book
<BlaXpirit> oh it was only 2 months ago? welp these two months just felt like forever to me
<apotheon> Thanks. I'll queue that repository up in stuff to check out.
<FromGitter> <sumproxy> @BlaXpirit sorry, got distracted by some daily routine, if can't do it today will try tomorrow. Will keep you posted
<BlaXpirit> ok
Oliphaunte has quit [Remote host closed the connection]
aemadrid__ has joined #crystal-lang
aemadrid__ has joined #crystal-lang
aemadrid__ has quit [Client Quit]
aemadrid__ has joined #crystal-lang
aemadrid__ has quit [Client Quit]
aemadrid_ has joined #crystal-lang
aemadrid_ is now known as aemadrid
aemadrid has quit [Client Quit]
aemadrid has joined #crystal-lang
daemonwrangler has quit [Ping timeout: 240 seconds]
daemonwrangler has joined #crystal-lang
Redfoxmoon has left #crystal-lang ["Leaving"]
ponga has quit []
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 250 seconds]
tomchapi_ has joined #crystal-lang
tomchapi_ has quit [Client Quit]
<leafybasil> I've noticed that the compiler can't infer the type for instance variables, when they are being assigned to something that has a known type, for example: https://gist.github.com/barisbalic/5b4ad53484504dffbe6c349c0e22c59d
<leafybasil> This results in a complaint about infering the type of @name
<BlaXpirit> leafybasil, the idea is, just by looking at this piece of code in isolation, you don't know that it is known
<BlaXpirit> and it's more consistent and much easier for the compiler to just not try to find out the type
<BlaXpirit> by "piece of code" I mean `user.name`
<leafybasil> Okay so I was overestimating what the compiler was doing, my bad!
<leafybasil> Well, I was 'asking' really, but it makes sense
<leafybasil> Cheers BlaXpirit
willl has joined #crystal-lang
Oliphaunte has joined #crystal-lang
onethirtyfive has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
crystal-lang164 has quit [Ping timeout: 250 seconds]
_kfpratt has joined #crystal-lang
kfpratt has quit [Ping timeout: 258 seconds]
Raimondi has quit [Ping timeout: 240 seconds]
Raimondi has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
Raimondii is now known as Raimondi
kulelu88 has joined #crystal-lang
A124 has quit [Quit: '']
A124 has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
bjz has quit [Max SendQ exceeded]
bjz has joined #crystal-lang
Raimondii has joined #crystal-lang
CompanionCube has quit [Quit: ZNC - http://znc.in]
CompanionCube has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
Raimondii is now known as Raimondi
Oliphaunte has quit []
pawnbox has quit [Ping timeout: 244 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Philpax has joined #crystal-lang