<adam12>
Any anybody help me out with this? http://play.crystal-lang.org/#/r/84k I'm trying to map a unix timestamp into a Time object. I know the TimeConverter is wrong, but couldn't find anything else that might fit in it's place.
<jhass>
adam12: he value has to be an int?
<adam12>
jhass: I don't follow?
<jhass>
could the JSON be {"addedDate": "1437712400"} too?
<kleech>
(thumbsup) I'm writing a small command line app for fun.
<havenwood>
kleech: Nice. What does it do, I'm curious?
kleech has quit [Remote host closed the connection]
<havenwood>
Trying to get Crystal running on an Intel Edison from the linux tar.gz and I'm running into: ./crystal: line 6: ./../embedded/bin/crystal: cannot execute binary file: Exec format error
<jhass>
what's the architecture on that one?
<havenwood>
x86
<jhass>
what distro?
<havenwood>
jhass: Linux edison 3.10.17-poky-edison+ #1 SMP PREEMPT Fri Jun 19 12:06:40 CEST 2015 i686 GNU/Linux
<jhass>
eh, is that based on something?
<havenwood>
I should probably switch to Ubilinux (Debian)
<jhass>
I only have a 32bit crystal for archlinux, so that's nothing close in versions / sonames :/
<havenwood>
jhass: I'm not sure what it is exactly. Something Yocto related.
dwahl has joined #crystal-lang
<jhass>
http://cloud.aeshna.de/u/mrzyx/crystal32/crystal32-0.7.4.tar.gz if you want to play with it anyway, as said you'd probably need to fix some sonames (symlink into some dir with the expected soname and prepend that to $LD_LIBRARY_PATH) and possibly compile some more recent versions for some stuff
<jhass>
or you seek a 64bit sys closer to what you have and cross compile
<jhass>
or maybe I can see if I can throw up a 32bit .o somewhere that you can link on your system
<havenwood>
jhass: ah, interesting. thanks!
<jhass>
in any case the binary obtained that way you would puts somewhere and prepend that to your $PATH and then make inside the git clone of the repo to get a proper one
<jhass>
oh and I should mention you can run ldd on it to get a list of sonames it wants
sergey-kucher has quit [Remote host closed the connection]
<jhass>
havenwood: any luck?
<havenwood>
not yet, but multitasking - there's a regge concert right off my portch
<havenwood>
porch*
<jhass>
heh, fair
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
medcat has joined #crystal-lang
<medcat>
hullo!
<jhass>
hi!
<medcat>
I'm extremely interested in crystal and I want to know how to help
<jhass>
the low hanging fruit atm is writing docs
<jhass>
but also writing nice libraries, promoting and contributing to stdlib
<thor77>
jhass: do you have any plans to move the irc-libary from DeBot into an own repo?
<jhass>
some day... I still need to either do crystal-posix or rewrite it using evented IO/fibers
<jhass>
and write specs
<jhass>
well, or someone :P
BlaXpirit has quit [Quit: Konversation]
<thor77>
jhass: okey. thought about starting an irc-libary because i coudln't find one on crystalshards
<jhass>
yeah, as said feel free to scrape whatever you want out of it
<jhass>
at least the message parser should be reusable
<thor77>
thanks :)
<jhass>
after all I wrote it in a way that's meant to be extracted some day
<jhass>
porting it to fibers should fairly easy too, except for the await stuff, which I'm not sure if it's going to work in a single threaded approach