jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.17.3 | 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
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 252 seconds]
sp4rrow has quit [Quit: Textual]
pawnbox has joined #crystal-lang
ozra has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
ryanw-se has quit [Quit: Leaving...]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
|2701 has quit [Quit: Connection closed for inactivity]
Philpax has joined #crystal-lang
emancu has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
emancu has quit [Ping timeout: 276 seconds]
emancu has joined #crystal-lang
trapped has joined #crystal-lang
<emancu> anyone here ?
<emancu> i'm trying to run the tests for `crystal`
<emancu> [merge_named_tuples]@crystal$ bin/crystal spec
<emancu> Warning: benchmarking without the `--release` flag won't yield useful results
<emancu> clang: error: no such file or directory: '/Users/emancu/Code/crystal/crystal/src/llvm/ext/llvm_ext.o'
<emancu> Error: execution of command failed with code: 1: `cc -o "/Users/emancu/.crystal/crystal-run-spec.tmp" "${@}" -rdynamic -lxml2 -lreadline -lgmp -lyaml -lz -lssl -lcrypto /Users/emancu/Code/crystal/crystal/src/llvm/ext/llvm_ext.o `$(command -v llvm-config-3.6 || command -v llvm-config36 || command -v llvm-config-3.5 || command -v llvm-config35 || command -v llvm-config) --libs --system-libs --ldflags 2> /dev/null` -lstd
<emancu> c++ /Users/emancu/Code/crystal/crystal/src/ext/libcrystal.a -levent -lpcre -lgc -lpthread -liconv -ldl`
<emancu> i understand there is a missing file, which wasn't compiled, but not sure how to do it
<emancu> hmm nvm
<emancu> make clean; make did the trick
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
<crystal-gh> [crystal] emancu opened pull request #2634: Merge named tuples (master...merge_named_tuples) https://git.io/vra0e
srabuini has joined #crystal-lang
sebasr has quit [Read error: Connection reset by peer]
emancu has quit [Remote host closed the connection]
srabuini has quit [Read error: Connection reset by peer]
sebasr has joined #crystal-lang
Philpax has quit [Ping timeout: 244 seconds]
srabuini has joined #crystal-lang
sebasr has quit [Read error: Connection reset by peer]
Philpax has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
emancu has joined #crystal-lang
emancu has quit [Ping timeout: 250 seconds]
lxsameer has joined #crystal-lang
mark_66 has joined #crystal-lang
triangles2 has joined #crystal-lang
triangles has quit [Ping timeout: 240 seconds]
<BlaXpirit> uhh 'crystal play' is an empty page with just the header on latest crystal master, can anyone confirm?
<BlaXpirit> hm no, it's just completely broken
<BlaXpirit> and this looks like a serious problem, not just something i'm doing wrong
sebasr has joined #crystal-lang
srabuini has quit [Read error: Connection reset by peer]
<BlaXpirit> posted an issue, anyway
emancu has joined #crystal-lang
emancu has quit [Ping timeout: 272 seconds]
Philpax has quit [Ping timeout: 244 seconds]
<BlaXpirit> Yeaah... parsing the output of a `date` command is a terrible idea.
bjz has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
crystal-lang294 has joined #crystal-lang
pawnbox has joined #crystal-lang
<crystal-lang294> installing and using qt4 or qt5 in crystal-lang ?
willl has quit [Quit: Connection closed for inactivity]
bjz has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 272 seconds]
ozra has joined #crystal-lang
bjz has joined #crystal-lang
emancu has joined #crystal-lang
emancu has quit [Ping timeout: 272 seconds]
jmoriau has joined #crystal-lang
pawnbox has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ql6wlld has joined #crystal-lang
<jhass> crystal-lang294: I don't see a QT binding yet, you would have to start one :)
Philpax has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
emancu has joined #crystal-lang
emancu has quit [Ping timeout: 244 seconds]
<BlaXpirit> it's extremely difficult
<jhass> not introspectable/generatable?
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
<BlaXpirit> jhass, uh introspectable by reading code. but the problem is Qt is not a C library, it's not even really a C++ library, it requires a special C++-specific preprocessor to generate some crazy data structures
<BlaXpirit> Python bindings probably have a separate runtime implementation for that
<BlaXpirit> but hey, at least it doesn't use C++ templates
crystal-lang294 has quit [Ping timeout: 250 seconds]
<jhass> pyside2 (Qt5's python bindings project) seems to have no architecture docs whatsoever
<jhass> but feels like a generator
emancu has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<jhass> so some general "eh, let's parse the C++ header files" stuff from what I gather
trapped has joined #crystal-lang
emancu has quit [Ping timeout: 240 seconds]
crystal-lang525 has joined #crystal-lang
<crystal-gh> [crystal] MakeNowJust opened pull request #2637: Add flag to build crystal binary with debug symbols (master...feature/make-crystal-debug) https://git.io/vrah7
<crystal-lang525> hello all. what gui possible for crystal ? thanks.
<jhass> crystal-lang525: there's some very rough libui binding appeared yesterday, I got some basic gobject (Gtk, ...) binding going and there's some cocoa binding
<jhass> writing a binding for tcl/tk shouldn't be too hard
<crystal-lang525> jhass: sory, i speak english like a spannish cow. gtk is possible ? how install and use ? doc ? thanks
<jhass> it's very rough
<jhass> install like every other shard
<jhass> https://github.com/jhass/github_desktop_notifications here's a project using the libnotify binding from it
triangles3 has joined #crystal-lang
triangles2 has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Read error: Connection reset by peer]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
pawnbox has joined #crystal-lang
triangles has joined #crystal-lang
triangles3 has quit [Ping timeout: 240 seconds]
<crystal-lang525> jhass: so sory, crystal is not for me now.
<jhass> crystal-lang525: why's that?
<jhass> the ecosystem is still young, which also means you can become a valuable member of it easily ;)
<crystal-lang525> jhass: without gui only console it does not go away ( traduction with google )
<jhass> while none is rock solid yet, I think I could point out a couple of GUI bindings
<crystal-lang525> I would return when a gui will be available, I liked ruby
<crystal-lang525> jhass: I would return when a gui will be available, I liked ruby
<jhass> there's some available, they might just need your hand as you run into issues ;)
triangles2 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<crystal-lang525> quit
<crystal-lang525> exit
triangles has quit [Ping timeout: 240 seconds]
crystal-lang525 has quit [Ping timeout: 250 seconds]
|2701 has joined #crystal-lang
<crystal-gh> [crystal] jhass pushed 2 new commits to master: https://git.io/vrVUN
<crystal-gh> crystal/master 2996343 TSUYUSATO Kitsune: Add flag to build crystal binary with debug symbols
<crystal-gh> crystal/master 41ad013 Jonne Haß: Merge pull request #2637 from MakeNowJust/feature/make-crystal-debug...
emancu has joined #crystal-lang
emancu has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<jokke> jhass: lol
<jokke> that guy :)
<travis-ci> crystal-lang/crystal#41ad013 (master - Merge pull request #2637 from MakeNowJust/feature/make-crystal-debug): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/132267879
lxsameer has quit [Ping timeout: 240 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vrVqc
<crystal-gh> crystal/master 68ba0f6 Ary Borenszweig: Use non-localized `date` command. Fixes #2635
<jhass> asterite: :( no cherry-picking there
<jhass> also perhaps we should just add a Time.now macro?
<jhass> that is exposing the compiler's Time.now through a macro call
<travis-ci> crystal-lang/crystal#68ba0f6 (master - Use non-localized `date` command. Fixes #2635): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/132276425
emancu has joined #crystal-lang
emancu has quit [Read error: Connection reset by peer]
emancu has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
<asterite> jhass: hm, I merged release/0.17 into master, and then did `git pull --rebase` before push... I don't know why that didn't work as I expected
<asterite> and yes, we might need a Time.now macro call, maybe, not sure... the only use case will be for the compiler? :-)
<jhass> asterite: rebase rewrites history and thus gets rid of merge commits at the same time (as they no longer make sense)
<jhass> asterite: embedding a buildtimestamp seems to be generally useful for all sorts of tools?
<jhass> asterite: so to clarify, rebase rolls back history to the last common ancestor, remembering the commits as patches basically, then fast forwards to the remote ref and then starts reapplying the commits as if they were new ones
emancu has quit [Remote host closed the connection]
emancu has joined #crystal-lang
emancu has quit [Ping timeout: 260 seconds]
emancu has joined #crystal-lang
pawnbox has joined #crystal-lang
steenuil has quit [Ping timeout: 260 seconds]
<asterite> jhass: maybe we can add a `now(format)` macro method. I agree that it's generally useful as a build timestamp
<asterite> jhass: and finally, and good git tutorial I can read? I think it's time I learn it for real :-)
<jhass> I got a decent video
<asterite> Thanks! :-)
<jhass> it goes through basics mostly (but rebasing too towards the end)
<jhass> but explains the core design so to speak behind the operations at the same time
<jhass> once it clicked that most stuff in git is just names for specific commits most fell into place for me
<asterite> Hmm... I wonder if `now(...)` should use Time.now or Time.utc_now. Or maybe have two macro methods, `now` and `utc_now`
<jhass> how about now(format, utc: false) ?
<asterite> Looks good, but I need to do more parsing and checking :-P
<asterite> (I'll do it)
<asterite> (I'll do it)
<asterite> utc is true by default? Maybe it should be false, because Time.now is not utc
<crystal-gh> [crystal] asterite opened pull request #2638: Add `now` macro method (release/0.17...feature/macro_now) https://git.io/vrVaJ
<jhass> yeah, probably false
emancu has quit [Remote host closed the connection]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
emancu has joined #crystal-lang
Raimondii is now known as Raimondi
mark_66 has quit [Quit: Leaving.]
<jhass> asterite: I wonder whether we should enable travis for the release branch
<asterite> I think yes
<asterite> can it be enabled for any release/* ?
<jhass> yes, I'll do it
Philpax has quit [Ping timeout: 252 seconds]
matp has quit [Ping timeout: 264 seconds]
|2701 has quit [Quit: Connection closed for inactivity]
Oliphaunte has joined #crystal-lang
<crystal-gh> [crystal] jhass pushed 1 new commit to master: https://git.io/vrVoh
<crystal-gh> crystal/master 9b2c4f6 Jonne Haß: Merge branch 'release/0.17'
matp has joined #crystal-lang
<travis-ci> crystal-lang/crystal#9b2c4f6 (master - Merge branch 'release/0.17'): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/132310757
<travis-ci> crystal-lang/crystal#432bd4c (release/0.17 - enable travis on all release branches): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/132310852
emancu has quit [Remote host closed the connection]
Raimondii has joined #crystal-lang
willl has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
Raimondii is now known as Raimondi
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
ozra has quit [Ping timeout: 246 seconds]
ozra has joined #crystal-lang
emancu has joined #crystal-lang
gigibagigi has joined #crystal-lang
gigibagigi has left #crystal-lang [#crystal-lang]
vegai has left #crystal-lang [#crystal-lang]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
Raimondii is now known as Raimondi
pawnbox has quit [Remote host closed the connection]
Oliphaunte has quit [Remote host closed the connection]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vrweo
<crystal-gh> crystal/master 842c3ed Ary Borenszweig: Merge branch 'release/0.17'
<jhass> asterite: btw git pull --rebase on the release branch or before you merged the release branch into master should still be fine ;)
<asterite> Ah, ok. I didn't do it just to make sure I don't screw things :-)
<asterite> (still didn't watch the video, I'll probably do that later today)
<asterite> For a moment I thought I did something really bad, because I couldn't see my changes in github... but it turns out github as issues
<asterite> *has
<jhass> yeah, it's starting to catch up now
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
ql6wlld has quit [Ping timeout: 244 seconds]
Oliphaunte has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<17SAAAKAB> crystal-lang/crystal#aa5e508 (release/0.17 - Merge branch 'release/0.17' of github.com:crystal-lang/crystal into release/0.17): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/132336798
HUPXrQ has joined #crystal-lang
HUPXrQ has left #crystal-lang [#crystal-lang]
LastWhisper____ has joined #crystal-lang
soveran has quit [Remote host closed the connection]
mgarciaisaia has joined #crystal-lang
<travis-ci> crystal-lang/crystal#842c3ed (master - Merge branch 'release/0.17'): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/132336926
A124 has quit [Quit: '']
mgarciaisaia has left #crystal-lang [#crystal-lang]
Virviil has joined #crystal-lang
Virviil has quit [Remote host closed the connection]
ryanw-se has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vrwBM
<crystal-gh> crystal/master 072f36a Ary Borenszweig: Merge branch 'release/0.17'
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
kfpratt has joined #crystal-lang
<travis-ci> crystal-lang/crystal#13b3021 (release/0.17 - Fixed #682: wrong codegen for yield inside yield): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/132369323
<jokke> jhass: asterite do you need something for the pr i opened regarding openssl tag support?
|2701 has joined #crystal-lang
<travis-ci> crystal-lang/crystal#072f36a (master - Merge branch 'release/0.17'): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/132370133
<jhass> I'm hesitant to accept openssl patches as the whole stdlib could use a rewrite (as https://github.com/datanoise/openssl.cr, #1710, #2180, #2343 show)
soveran has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Ven has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
A124 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
A124 has quit [Quit: '']
trapped has quit [Read error: Connection reset by peer]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
A124 has joined #crystal-lang
tomchapin has joined #crystal-lang
tomchapin has quit [Client Quit]
jmoriau has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
A124 has quit [Quit: '']
A124 has joined #crystal-lang
ozra has quit [Ping timeout: 244 seconds]
ozra has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has joined #crystal-lang
soveran has quit [Remote host closed the connection]
Philpax has joined #crystal-lang
emancu has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 252 seconds]
RX14- has joined #crystal-lang
x0f_ has joined #crystal-lang
samis has joined #crystal-lang
samis has joined #crystal-lang
trajing has joined #crystal-lang
ozra has quit [*.net *.split]
kfpratt has quit [*.net *.split]
matp has quit [*.net *.split]
_jungh4ns has quit [*.net *.split]
trajing- has quit [*.net *.split]
DeBot has quit [*.net *.split]
CompanionCube has quit [*.net *.split]
RX14 has quit [*.net *.split]
Davy_CC has quit [*.net *.split]
x0f has quit [*.net *.split]
samis is now known as CompanionCube
Davy_CC has joined #crystal-lang
Oliphaunte has joined #crystal-lang
bjz has joined #crystal-lang
_junghans_ has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vrrer
<crystal-gh> crystal/master 9234f0b Ary Borenszweig: Merge branch 'release/0.17'
pawnbox has quit [Read error: Connection timed out]
pawnbox has joined #crystal-lang
_junghans_ is now known as _jungh4ns
Oliphaunte has quit []
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<travis-ci> crystal-lang/crystal#d745b74 (release/0.17 - Compiler: loop in cleanup while there were changes. Fixes #2407): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/132421883
soveran has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
soveran has quit [Ping timeout: 252 seconds]
kfpratt has joined #crystal-lang
matp has joined #crystal-lang
tliff has quit [Ping timeout: 240 seconds]
dhk has joined #crystal-lang
<ryanw-se> when I use the crystal Math::PI function, why does it only print 3.14159 but not the rest