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…]
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...)
<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?