ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.21.1 | Fund Crystal's 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
vikaton has joined #crystal-lang
ssvb has quit [Ping timeout: 268 seconds]
ssvb has joined #crystal-lang
sija has joined #crystal-lang
A124 has quit [Ping timeout: 240 seconds]
derick_ has joined #crystal-lang
derick_ has quit [Quit: Page closed]
_whitelogger has joined #crystal-lang
txdv has quit [Ping timeout: 260 seconds]
mark_66 has joined #crystal-lang
bjz has joined #crystal-lang
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 260 seconds]
txdv has joined #crystal-lang
akwiatkowski has joined #crystal-lang
vikaton has quit [Quit: Connection closed for inactivity]
mark_66 has quit [Quit: Leaving.]
mark_66 has joined #crystal-lang
gloscombe has joined #crystal-lang
Kug3lis has joined #crystal-lang
bjz_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
<crystal-gh> [crystal] ysbaddaden opened pull request #4167: Fix: select generic ARM C bindings when target triple is armv6, armv7l, ... (master...fix-arm-target-triple) https://git.io/vyFBY
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
Ven has joined #crystal-lang
Ven is now known as Guest90000
gloscombe has quit [Ping timeout: 256 seconds]
gloscombe has joined #crystal-lang
Guest90000 has quit [Ping timeout: 260 seconds]
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 246 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bjz_ has quit [Ping timeout: 264 seconds]
bjz has joined #crystal-lang
Qchmqs has joined #crystal-lang
Kug3lis has joined #crystal-lang
Philpax has quit [Ping timeout: 240 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jokke> oh jeez. m(
Kug3lis has joined #crystal-lang
unshadow has joined #crystal-lang
foxxx0 has joined #crystal-lang
canta has joined #crystal-lang
vifino has quit [Quit: Who turned this off?! D:<]
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…]
<crystal-gh> [crystal] bcardiff closed pull request #4164: Fix String#insert not working with non-ascii Char (master...master) https://git.io/vydVY
<crystal-gh> [crystal] bcardiff closed pull request #4157: #4148 add values_at method for CSV::Row (master...master) https://git.io/vyH9F
vifino has joined #crystal-lang
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<travis-ci> crystal-lang/crystal#4754104 (master - Fix String#insert not working with non-ascii Char (#4164)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/212995181
<DeBot> https://github.com/crystal-lang/crystal/pull/4164 (Fix String#insert not working with non-ascii Char)
Kug3lis has joined #crystal-lang
Ven has joined #crystal-lang
Ven is now known as Guest60921
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #crystal-lang
<crystal-gh> [crystal] bcardiff closed pull request #4074: Pass the filename in the codegen debug spec (master...pass-filename-in-codegen-spec) https://git.io/vyf7a
gloscombe has quit [Quit: Lost terminal]
Guest60921 has quit [Ping timeout: 260 seconds]
Ven has joined #crystal-lang
Ven is now known as Guest72549
<crystal-gh> [crystal] bcardiff closed pull request #4163: Print sigfaults and exceptions to STDERR (master...print-sigfault-to-stderr) https://git.io/vydnG
unshadow has quit [Quit: leaving]
akwiatkowski has quit [Ping timeout: 268 seconds]
Guest72549 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Qchmqs has quit [Read error: Connection reset by peer]
gloscombe has joined #crystal-lang
<travis-ci> crystal-lang/crystal#64e7b42 (master - Print sigfaults and exceptions to STDERR (#4163)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/213034906
<DeBot> https://github.com/crystal-lang/crystal/pull/4163 (Print sigfaults and exceptions to STDERR)
splitty_ has quit [Quit: Leaving]
splitty_ has joined #crystal-lang
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RX14> @sdogruyol did you test crane? I'd be interested to see if it works on mac out of the box.
mark_66 has quit [Remote host closed the connection]
<crystal-gh> [crystal] Sija opened pull request #4170: Use 0xdeadbeef pointer format in CallStack.print_frame (master...format-callstack-pointers) https://git.io/vyb0V
akwiatkowski has joined #crystal-lang
sz0 has joined #crystal-lang
_whitelogger has joined #crystal-lang
A124 has joined #crystal-lang
akwiatkowski has quit [Ping timeout: 260 seconds]
gloscombe has quit [Remote host closed the connection]
bjz has joined #crystal-lang
<RX14> BlaXpirit, gitter bot seems to be broken
<RX14> yeah it's only one-way
canta has quit [Ping timeout: 260 seconds]
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #crystal-lang
<BlaXpirit> sigh
<FromGitter> <oprypin> test
<FromGitter> <sdogruyol> sup
<FromGitter> <Rinkana> .io domains are expensive tho
<BlaXpirit> seems like this time it was some kind of connection that stopped working but didnt disconnect :(
<FromGitter> <jaysg> @sdogruyol yea I was so excited to see no one got it yet. I tried getting the .com but some lady in england squating on it
<FromGitter> <sdogruyol> .io is better
<FromGitter> <jaysg> yea kinda more legit now lol
<FromGitter> <ltran> 33% more efficient. 2 char vs 3 char
<FromGitter> <jaysg> yep
<BlaXpirit> what would be a good fix for such a problem? timeout on the http connection?
canta has joined #crystal-lang
pduncan has quit [Ping timeout: 246 seconds]
Kug3lis has joined #crystal-lang
canta has quit [Ping timeout: 258 seconds]
<FromGitter> <drosehn> Is the gitter<->irc connection something unique to the crystal channel? (this is the only gitter channel that I'm in...)
Kug3lis has quit [Quit: Textual IRC Client: www.textualapp.com]
<FromGitter> <sdogruyol> yeah
<RX14> it's a custom bot
<FromGitter> <sdogruyol> there's a bot for that
<FromGitter> <ltran> written in crystal?
<RX14> so this specific implementation is unique
<RX14> though I doubt the idea is
<RX14> yeah it's written in crystal
<FromGitter> <ltran> nice =D
<RX14> BlaXpirit, is there no hearbeet on the websocket gateway?
<BlaXpirit> RX14, there isnt
<RX14> that's dumb
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<BlaXpirit> wouldn't be th first dumb thing about gitter
<BlaXpirit> it's not websocket though, it's a keepalive with one json thing per line
<FromGitter> <RX14> weird
<FromGitter> <RX14> discord's much better at this...
<BlaXpirit> actually, RX14, now that I think about it, there might have been some kind of heartbeat that I forgot about. maybe they send just a newline periodically
canta has joined #crystal-lang
pduncan has joined #crystal-lang
splitty__ has joined #crystal-lang
sz0 has quit [Quit: Connection closed for inactivity]
yopp- has joined #crystal-lang
badeball_ has joined #crystal-lang
sija_ has joined #crystal-lang
tilpner_ has joined #crystal-lang
swav_ has joined #crystal-lang
miketheman_ has joined #crystal-lang
jokke1 has joined #crystal-lang
ome_ has joined #crystal-lang
minus_ has joined #crystal-lang
danzilio_ has joined #crystal-lang
FromGitter has quit [*.net *.split]
splitty_ has quit [*.net *.split]
sija has quit [*.net *.split]
jokke has quit [*.net *.split]
jadams has quit [*.net *.split]
minus has quit [*.net *.split]
ome has quit [*.net *.split]
danzilio has quit [*.net *.split]
tilpner has quit [*.net *.split]
swav has quit [*.net *.split]
miketheman has quit [*.net *.split]
yopp has quit [*.net *.split]
badeball has quit [*.net *.split]
swav_ is now known as swav
tilpner_ is now known as tilpner
miketheman_ is now known as miketheman
sija_ is now known as sija
ome_ has quit [Ping timeout: 256 seconds]
bjz has joined #crystal-lang
danzilio_ is now known as danzilio
FromGitter has joined #crystal-lang
ome_ has joined #crystal-lang
ome_ is now known as ome
ome has quit [Excess Flood]
ome has joined #crystal-lang
<FromGitter> <sdogruyol> :D
<RX14> anyway @sdogruyol did you check out crane :P
<FromGitter> <rishavs> Hi. I am trying to POST on a simple REST api. my json which i am POSTing has a field called "gender" which has Integer values. ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ what am i doing wrong? [https://gitter.im/crystal-lang/crystal?at=58d043406701410e585a7e6f]
fmcevoy has joined #crystal-lang
<RX14> you need to do as(Int64).to_i32
<RX14> but i'd recommend looking at JSON.mapping
<FromGitter> <rishavs> thanks @RX14
sija has quit [Quit: Connection closed for inactivity]
<FromGitter> <fridgerator> @rishavs I assume you're using crecto, the `JSON.mapping` definition is already implemented for your model
<FromGitter> <fridgerator> you can try `User.from_json(env.params.json)`
<FromGitter> <rishavs> even better. :D thanks!
<FromGitter> <rishavs> btw, if i use from_json, wouldn't i lose the check done against the schema? ⏎ i was using ` data = User.new` so far to create the user object to be inserted. what will be the best way forward in this case?
<FromGitter> <rishavs> ok my bad. i think the compiler will raise exception if the json doesnt fits the model.
pduncan has quit [Ping timeout: 246 seconds]
akwiatkowski has joined #crystal-lang
jokke1 is now known as jokke
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alibby1 has joined #crystal-lang
alibby has quit [Ping timeout: 246 seconds]
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ome has quit [Changing host]
ome has joined #crystal-lang
blufor has quit [Ping timeout: 260 seconds]
akwiatkowski has quit [Ping timeout: 264 seconds]
<FromGitter> <elorest> Would you say crecto is the most mature ORM for crystal at this point?
blufor has joined #crystal-lang