jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.9.1 | Fund Crystals development: http://is.gd/X7PRtI | 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
kulelu88 has quit [Quit: Leaving]
vikaton has joined #crystal-lang
<vikaton> Hi, are there any tutorials on how to build crystal on a raspberry pi?
<jhass> it's not fully ported to ARM yet
barosl has quit [Quit: Leaving]
<vikaton> ok thanks
Guest51347 has joined #crystal-lang
<Guest51347> Hello guys! =)
<Guest51347> How I can receive arguments from command line? Help me please =)
<Guest51347> I tried OptionParser but I get Invalid Option error when input -port option
<bougyman> OptionParser would probably want --port (or -p)
<Guest51347> not working =(
Guest51347 is now known as NAPSYX
<NAPSYX> :)
<NAPSYX> please help me :( I need get arguments from command line =)
<NAPSYX> but I don't know how do it
<NAPSYX> I hope that you help me
<NAPSYX> Why console returns me error "Invalid option -p"
<NAPSYX> I enter crystal build src/run.cr -p 134
<NAPSYX> But it returns error =(
<NAPSYX> You can answer me guys?
<NAPSYX> You can answer me guys?
<NAPSYX> So raw lang ;(
<bougyman> NAPSYX: that -p is being passed to 'crystal', not to run.cr
fowlduck has quit [Read error: Connection reset by peer]
fowlduck_ has joined #crystal-lang
<NAPSYX> I trying to write crystal ./run -p 549 but it also not working =(
<NAPSYX> OptionParser.new do |opts|
<NAPSYX> opts.on("-p PORT", "--port=PORT", "port option") { |o| port = o.to_i }
<NAPSYX> end.parse!
<NAPSYX> it's my code
NAPSYX has quit [Remote host closed the connection]
tomchapin has joined #crystal-lang
vikaton has quit [Quit: Connection closed for inactivity]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Davy_CC has joined #crystal-lang
SolarSailor has joined #crystal-lang
<SolarSailor> Hi guys - I'm enjoying Crystal really much, and I would like to use it for an upcoming project. I need a Sinatra-like web framework (with abstractions for session handling) and a library like Nokogiri. I've browsed through the available shards, and I have some candidates, but I would like to get your recommendations wrt. maturity. What would you recommend?
SolarSailor has quit [Ping timeout: 260 seconds]
trapped has joined #crystal-lang
SolarSailor has joined #crystal-lang
SolarSailor has quit [Client Quit]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
trapped has quit [Client Quit]
ismaelga has joined #crystal-lang
ismaelga has quit [Remote host closed the connection]
ismaelga has joined #crystal-lang
SolarSailor has joined #crystal-lang
<jhass> SolarSailor: I like artanis, but there's no session handling inbuild. stdlib has some basic XML stuff binding libxml2 and HTTP::Cookie exposed as #cookies on the request and response objects. Another sinatra like framework gaining traction is kemal
<SolarSailor> jhass: thanks, I'll definitely check it out
<jhass> SolarSailor: keep in mind that HTTP::Cookie by itself isn't secure, it's not signed, encrypted or anything
ismaelga has quit [Remote host closed the connection]
ismaelga has joined #crystal-lang
ismaelga has quit [Remote host closed the connection]
ismaelga has joined #crystal-lang
trapped has joined #crystal-lang
ismaelga has quit [Remote host closed the connection]
danzilio has quit []
danzilio has joined #crystal-lang
ismaelga has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
ismaelga has quit [Remote host closed the connection]
ismaelga has joined #crystal-lang
mroth has quit []
mroth has joined #crystal-lang
<SolarSailor> jhass: Important details for sure. :-)
<asterite> In case the one asking about command line options, it was probably because you have to do `crystal program.cr -- -p 80` instead of `crystal program.cr -p 80`... or, `crystal program.cr && ./program -p 80`. These kind of questions are better for the group page, easier to chat offline
ismaelga has quit [Remote host closed the connection]
jamie_ca has quit [Ping timeout: 245 seconds]
jamie_ca has joined #crystal-lang
greengriminal has joined #crystal-lang
ismaelga has joined #crystal-lang
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
greengriminal has quit [Quit: Leaving]
gamemanj has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
guilleiguaran__ has quit []
guilleiguaran__ has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ismaelga has quit [Remote host closed the connection]
ismaelga has joined #crystal-lang
trapped has joined #crystal-lang
ismaelga has quit [Remote host closed the connection]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ozra has joined #crystal-lang
kulelu88 has joined #crystal-lang
kulelu88 has quit [Changing host]
kulelu88 has joined #crystal-lang
kulelu88 has quit [Ping timeout: 246 seconds]
kulelu88 has joined #crystal-lang
SolarSailor has joined #crystal-lang
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
kulelu88 has quit [Ping timeout: 260 seconds]
kulelu88 has joined #crystal-lang
ozra has quit [Ping timeout: 252 seconds]
kulelu88 has quit [Ping timeout: 246 seconds]
gamemanj has quit [Ping timeout: 246 seconds]
kulelu88 has joined #crystal-lang
kulelu88 has quit [Ping timeout: 245 seconds]
kulelu88 has joined #crystal-lang
<BlaXpirit> yup, let's encrypt works
ismaelga has joined #crystal-lang
<jhass> I wish I could use the dns-01 challenge already though
tomchapin has joined #crystal-lang
jamie_ca has quit [Quit: ZNC - http://znc.in]
jamie_ca has joined #crystal-lang
jamie_ca has quit [Client Quit]
jamie_ca has joined #crystal-lang
jamie_ca has quit [Client Quit]
jamie_ca has joined #crystal-lang
BlaXpirit has joined #crystal-lang
jamie_ca has quit [Client Quit]
jamie_ca has joined #crystal-lang
slash_nick is now known as slash_silence
tliff has quit [Ping timeout: 260 seconds]
tliff has joined #crystal-lang
<RX14> I wish the default letsencrypt client wasn't so annoying
<RX14> this looks the best for me https://github.com/kuba/simp_le
<BlaXpirit> it worked well for me
<BlaXpirit> after i quit trying to make the nginx plugin work. but it's pointless anyway
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ismaelga has quit [Ping timeout: 246 seconds]
<RX14> yeah
<RX14> i just want to stick something in crontab
tomchapin has joined #crystal-lang
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kulelu88 has quit [Ping timeout: 260 seconds]
kulelu88 has joined #crystal-lang