jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.4 | Fund Crystals development: http://to.ly/TtGw | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal - Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
blue_deref has quit [Quit: bbn]
NeverDie has joined #crystal-lang
<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?
<adam12> I'm not expecting it to be.
<adam12> Sharp, thanks :) I had a very very similar implementation a few iterations back
kulelu88 has quit [Quit: Leaving]
ngram has joined #crystal-lang
ngram has quit [Ping timeout: 246 seconds]
mgarciaisaia has joined #crystal-lang
mgarciaisaia1 has joined #crystal-lang
mgarciaisaia has quit [Ping timeout: 244 seconds]
mgarciaisaia has joined #crystal-lang
mgarciaisaia1 has quit [Ping timeout: 272 seconds]
sergey-kucher has joined #crystal-lang
mgarciaisaia has quit [Quit: Leaving.]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
SergXIIIth has joined #crystal-lang
BlaXpirit has joined #crystal-lang
SergXIIIth has quit [Quit: Leaving]
sergey-kucher has quit [Quit: Page closed]
sergey-kucher has joined #crystal-lang
havenwood has joined #crystal-lang
Kilo`byte has quit [Ping timeout: 240 seconds]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
Kilo`byte has joined #crystal-lang
strcmp1 has quit [Quit: Leaving]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
<crystal-gh> [crystal] sergey-kucher opened pull request #1032: Small String doc correction (gh-pages...patch-1) http://git.io/vY0VO
strcmp1 has joined #crystal-lang
willl has quit [Quit: Connection closed for inactivity]
kumpelblase2 has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
BlaXpirit has joined #crystal-lang
willl has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
<sardaukar> there is now a Slack group for Crystal. it's up at http://crystal-lang.slack.com
<sardaukar> email me (sardaukar.siet@gmail.com) for an invite and I'll make you an admin
havenwood has joined #crystal-lang
<Raimondi> I have never used slack, is it supposed to be private? I'm curious about crystal but my plan is mostly/only lurking.
<jhass> Raimondi: you're still welcome here ;)
<Raimondi> I'd never abandon my lovely irc channels, don't fear :D
<BlaXpirit> sardaukar pls
<Raimondi> I just noticed that the mailing list is not in gmane, is that an overlook or intentional? or am I blind?
<jhass> I guess it's a "nobody cared about fcking gmane yet" ;)
<Raimondi> fair
<sardaukar> to be clear about one thing: I don't believe IRC is the be-all-end-all of services to get in touch with the Crystal community
<sardaukar> although I do hang around here a lot, I think other people have a right to choose whatever service they feel more appropriate
<sardaukar> the point of the Slack group is to cater to people with different tastes that still want to know about the language
<sardaukar> also, it's an experiment by a guy that made a post on Google Groups - let's see how it goes
<sardaukar> it may die an anonymous death, who knows? but there's apparent interest in having more than IRC
<sardaukar> the proprietary nature of Slack is not my first choice, but I don't like to impose my ideals on others
<sardaukar> hope that clarifies things: I don't want everyone here to move there. IRC is old and not known to all as it once was
leafybasil has joined #crystal-lang
NeverDie has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Remote host closed the connection]
<epitron> Gitter is actually kinda nice for github projects... You can auth with your github account, and its kinda like slack
<epitron> Just type project name into the URL and you're in
<epitron> Link it in the readme and you can have lots of people with very little friction
<BlaXpirit> yeah, let's join gitter too, very good idea
<BlaXpirit> i think you can have group chat in Facebook too, maybe we should consider that
<BlaXpirit> lots of people use it!
<epitron> Lol
<epitron> Not for you, for regular users :)
vikaton has joined #crystal-lang
<epitron> Nobody uses gitter, but it's a mouse click away, which might be enough to get people to use it
<BlaXpirit> so... like IRC?
<epitron> Can you link directly to IRC channels on the freenode web interface?
<BlaXpirit> pretty sure
<epitron> Okay, if you don't mind random people coming in here
<vikaton> Isn't everyone random?
<BlaXpirit> there is also an option to pre-populate username with random
random has joined #crystal-lang
vikaton has quit [Client Quit]
random has left #crystal-lang [#crystal-lang]
<BlaXpirit> for what it's worth, i think gitter is far ahead of slack
<epitron> BlaXpirit: you might be impressed if you peruse the scrollback of this machine learning channel: https://gitter.im/torch/torch7
<Raimondi> neovim uses gitter and freenode, a bot bridges both places
<epitron> Syntax highlighted code pastes, inline links...
<BlaXpirit> epitron, i know, right? there are actually reasons to use gitter
<epitron> I'm going to assume you can make commits show up
<epitron> Haha
<jhass> epitron: we don't mind random people coming in here at all
<epitron> Raimondi: that's interesting
<BlaXpirit> quite interesting indeed
<epitron> Is it a freenode integrated bot that can make users look like they're real users?
<BlaXpirit> hmm that's a point i forgot to consider
<Raimondi> the bot is named marvim, so entries from the other place look like marvim | `Raimondi` foo bar
<BlaXpirit> :|
<epitron> Yeah, that kinda sucks
<Raimondi> yeah I know it's ugly, but the bridge works there
<epitron> It probably looks perfect on the gitter side
<epitron> I think the most valuable gitter feature to regular users is scrollback that you can search
<epitron> Lull
<jhass> BlaXpirit: no like http://irclog.crystal-lang.org/
<BlaXpirit> uhh it's unreadable and doesn't work
<jhass> I'm joking ;)
<epitron> The color scheme is nicer, but you can't type anything :(
<jhass> epitron: you can turn whitequark's into that coloscheme
<epitron> if only gitter suppored dark themes :(
<jhass> freedom of client choice? no way! can't have that!
<epitron> heh
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
kleech has joined #crystal-lang
<kleech> Hi, anyone here? I'm trying to find out how to run a system command and get the output, in Ruby it would be `system('ls')`.
<havenwood> kleech: Have you tried that? (Except double quotes.)
<kleech> havenwood: I have now and it works, thanks. I must have missed it in the docs.
strcmp1 has quit [Ping timeout: 244 seconds]
willl has quit [Quit: Connection closed for inactivity]
<havenwood> kleech: No prob. Yup, just works in this case. :)
<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
<jhass> well, and http://to.ly/TtGw ;)
<medcat> alright; I'm also interested in helping with the package manager
flaviu has quit [Ping timeout: 240 seconds]
<jhass> https://github.com/ysbaddaden/shards has some prospects of becoming the default package manager
<medcat> alright thanks :~)
medcat has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
medcat has joined #crystal-lang
medcat has quit [Client Quit]
NeverDie has joined #crystal-lang
hangyas has joined #crystal-lang
flaviu has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
hangyas has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<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
leafybasil has joined #crystal-lang
<thor77> is there any doc available for fibers except http://crystal-lang.org/api/ ?
<jhass> mmh, still don't see anything in http://crystal-lang.org/docs/
<jhass> there are one or two things in samples/
<jhass> The interface to them is spawn and Channel
<thor77> 3 samples using that, will take a look tomorrow
kleech has joined #crystal-lang
<kleech> havenwood: It will stop/start a Harvest timers based on the current git branch :)
kleech has quit []
aemadrid has quit []
aemadrid has joined #crystal-lang
kumpelblase2 has quit [Quit: Leaving...]
havenwood has quit [Read error: Connection reset by peer]
willl has joined #crystal-lang