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
Sadin has joined #crystal-lang
Ven_ has joined #crystal-lang
olek_poz has quit [Ping timeout: 260 seconds]
nakilon has quit [Ping timeout: 246 seconds]
Ven_ has quit [Ping timeout: 264 seconds]
A124 has quit [Quit: '']
<CodiS> Hi, is crystal taking any of the ideas from erlang like otp?
matp has quit [Ping timeout: 276 seconds]
A124 has joined #crystal-lang
Ven_ has joined #crystal-lang
Ven_ has quit [Ping timeout: 240 seconds]
A124 has quit [Quit: '']
A124 has joined #crystal-lang
<Davy_CC> jhass: Thanks
CodiS has joined #crystal-lang
<CodiS> Sorry got disconnected. Is crystal going to be similar in some ways to erlang for distributed systems.
blue_deref has quit [Quit: bbn]
A124 has quit [Quit: '']
Ven_ has joined #crystal-lang
Ven_ has quit [Ping timeout: 244 seconds]
CodiS has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CodiS has joined #crystal-lang
CodiS has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven_ has joined #crystal-lang
Ven_ has quit [Ping timeout: 246 seconds]
fowlduck has quit [Remote host closed the connection]
warmwaffles has quit [Quit: Leaving]
Ven_ has joined #crystal-lang
CodiS has joined #crystal-lang
Ven_ has quit [Ping timeout: 250 seconds]
CodiS has quit [Ping timeout: 265 seconds]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Read error: No route to host]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Read error: Connection reset by peer]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 264 seconds]
pawnbox_ has joined #crystal-lang
A124 has joined #crystal-lang
mhib has joined #crystal-lang
mhib has quit [Remote host closed the connection]
pawnbox_ has quit [Ping timeout: 264 seconds]
pawnbox_ has joined #crystal-lang
Sadin has quit []
Ven_ has joined #crystal-lang
Ven_ has quit [Ping timeout: 252 seconds]
jamie_ca has quit [Ping timeout: 250 seconds]
slash_nick has quit [Remote host closed the connection]
slash_nick has joined #crystal-lang
jamie_ca has joined #crystal-lang
A124 has quit [Read error: No route to host]
A124 has joined #crystal-lang
BlaXpirit has joined #crystal-lang
matp has joined #crystal-lang
olek_poz has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
leafybas_ has joined #crystal-lang
leafybas_ has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 255 seconds]
pawnbox_ has joined #crystal-lang
<crystal-gh> [crystal] omninonsense opened pull request #1885: fixes #1884 (master...fix_1884) http://git.io/v8NY5
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
BlaXpirit has quit [Read error: Connection reset by peer]
pawnbox_ has joined #crystal-lang
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Client Quit]
nakilon has joined #crystal-lang
trapped has joined #crystal-lang
BlaXpirit has joined #crystal-lang
ssvb has quit [Ping timeout: 264 seconds]
pawnbox_ has quit [Read error: Connection reset by peer]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
doddok has joined #crystal-lang
leafybas_ has quit [Read error: Connection reset by peer]
leafybas_ has joined #crystal-lang
nakilon has quit [Ping timeout: 240 seconds]
leafyba__ has joined #crystal-lang
olek_poz has quit [Ping timeout: 260 seconds]
ssvb has joined #crystal-lang
leafybas_ has quit [Ping timeout: 260 seconds]
leafyba__ has quit [Ping timeout: 250 seconds]
pawnbox_ has quit [Remote host closed the connection]
xdougx has quit []
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/v8AIu
<crystal-gh> crystal/master b142342 Nino Miletich: fixes #1884
<crystal-gh> crystal/master 32c3ce1 Ary Borenszweig: Merge pull request #1885 from omninonsense/fix_1884...
pawnbox_ has joined #crystal-lang
<travis-ci> manastech/crystal#32c3ce1 (master - Merge pull request #1885 from omninonsense/fix_1884): The build was broken. https://travis-ci.org/manastech/crystal/builds/90719530
sardaukar has quit [Ping timeout: 276 seconds]
olek_poz has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
<travis-ci> manastech/crystal#32c3ce1 (master - Merge pull request #1885 from omninonsense/fix_1884): The build passed. https://travis-ci.org/manastech/crystal/builds/90719530
NeverDie has quit [Read error: Connection reset by peer]
NeverDie has joined #crystal-lang
pawnbox_ has joined #crystal-lang
yxhuvud has quit [Ping timeout: 250 seconds]
yxhuvud has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 240 seconds]
pawnbox_ has joined #crystal-lang
sardaukar has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 260 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/v8AuL
<crystal-gh> crystal/master 1807968 Ary Borenszweig: Merge pull request #1883 from manastech/json_any...
pawnbox_ has joined #crystal-lang
<travis-ci> manastech/crystal#1807968 (master - Merge pull request #1883 from manastech/json_any): The build passed. https://travis-ci.org/manastech/crystal/builds/90730235
<DeBot> https://github.com/manastech/crystal/pull/1883 (Make `JSON.parse` return `JSON::Any`, and make it easy to traverse a dynamic JSON structure. Fixes #1832)
Kendos-Kenlen has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
Kendos-Kenlen has quit [Quit: Konversation terminated!]
leafybas_ has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
pawnbox_ has joined #crystal-lang
<jokke> hi
<jokke> nevermind ^^
olek_poz has quit [Ping timeout: 260 seconds]
pawnbox_ has quit [Ping timeout: 272 seconds]
pawnbox_ has joined #crystal-lang
pawnbox__ has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 240 seconds]
pawnbox__ has quit [Ping timeout: 272 seconds]
NeverDie has quit [Quit: http://radiux.io/]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
olek_poz has joined #crystal-lang
NeverDie has joined #crystal-lang
pawnbox_ has joined #crystal-lang
ljfa has joined #crystal-lang
ljfa has quit [Client Quit]
pawnbox_ has quit [Ping timeout: 240 seconds]
pawnbox_ has joined #crystal-lang
<jokke> i found a bug in the compiler :(
Sadin has joined #crystal-lang
<jokke> is this a known bug?
<jokke> else i'll write an issue
<jokke> here's a more verbose output: https://p.jreinert.com/fvlFb/
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
greengriminal has joined #crystal-lang
greengriminal has quit [Remote host closed the connection]
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
<doddok> itry to active_record.cr lib, and create "class Thread" , its database table , but get error superclass mismatch for class Thread(T, R)
<doddok> how can do i fix such error
<jhass> doddok: namespace or pick another name
<jhass> Thread is a class in stdlib
<doddok> DB::Thread seems will be good
<doddok> seems have another error
<doddok> i try to use "where"
<doddok> and get error Error in ./src/main.cr:15: instantiating 'Forum:Class#where(Hash(String, Int32))'
<doddok> forums = Forum.where({"siteid" => 4})
<doddok> Forum.all working ok
<jhass> you showed just part of the trace, not the error
<jhass> mh, that's a bit weird
<jhass> best open an issue at https://github.com/waterlink/postgres_adapter.cr I'd say
<jhass> mh, I guess the line numbers went off again
BlaXpirit has quit [Quit: Konversation]
<doddok> i didn't use id filed
<doddok> *field
sardaukar has quit [Ping timeout: 276 seconds]
sardaukar has joined #crystal-lang
BlaXpirit has joined #crystal-lang
greengriminal has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
NeverDie has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
Ven has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
fowlduck has joined #crystal-lang
NeverDie has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 265 seconds]
<Davy_CC> jhass: I'm going to port Crystal 0.9.1 to Windows, but I find that Windows APIs and structs are too different from unix-like system.
Raimondi has joined #crystal-lang
<Davy_CC> Should we design a interface to provide these operations and structs like golang?
<jhass> Davy_CC: my concept is https://gist.github.com/jhass/cbc509e8ed1025b22a70 but I couldn't convince asterite nor wanderer back then from it
<Davy_CC> This is for portability
<jhass> the example is maybe using a bit specific stuff, it's really about finding a common low level interface
Raimondii has quit [Ping timeout: 250 seconds]
<jhass> Davy_CC: do you know any (ideally free & hosted) CI systems for windows?
<Davy_CC> jhass: no, many CI for windows are for .Net only
<jhass> :/
<jhass> it's going to be hard to ensure compatibility when merged into upstream :/
<Davy_CC> maybe we have to build own CI system like GitLab CI or Jenkins CI :/
Excureo has quit [Ping timeout: 260 seconds]
Excureo has joined #crystal-lang
<CompanionCube> appveyor?
<Davy_CC> jhass: how about use macro defs to create the interface of wrapper like this https://gist.github.com/david50407/6d6eff8f0120f2a5a915 , and macro also avoid boilerplate
<jhass> Davy_CC: I don't see the benefit from your example tbh
<jhass> Davy_CC: both the windows and the linux/os x specific files would define the same stuff on the same modules, just which definitions are loaded is different
<Davy_CC> we need to create a interface for these methods ( but there is no interface in Crystal )
<jhass> I'm actually not sure we need an explicit interface
<jhass> but if you feel some strong itch towards it you could define another module with abstract methods
<jhass> and include it into CWrapper
<jhass> but crystal will (atm) only ensure implementation when there's an actual call
<jhass> so it would be more like code level documentation
<Davy_CC> hummm, maybe you're right. I'm just thinking of how to distinguish between platform-independency calls and platform-specific calls, and make these general calls have common interface and behaviour
olek_poz has quit [Ping timeout: 260 seconds]
<jhass> Davy_CC: I'd wrap everything, ifdef's and LibC calls would be forbidding in the rest of stdlib
<jhass> *forbidden
<Davy_CC> got it
<jhass> Davy_CC: but as said before you invest too much time into such a scheme you need to convince asterite of it
<Davy_CC> ok
<Davy_CC> jhass: i have to go to sleep now. it's already 5 am here. thank you :)
Sadin has quit [Remote host closed the connection]
Sadin has joined #crystal-lang
Sadin has quit [Remote host closed the connection]
ssvb has quit [Ping timeout: 255 seconds]
_whitelogger has joined #crystal-lang
ssvb has joined #crystal-lang
fowlduck_ has joined #crystal-lang
fowlduck has quit [Ping timeout: 240 seconds]
nakilon has joined #crystal-lang
leafyba__ has joined #crystal-lang
tdc has joined #crystal-lang
leafybas_ has quit [Ping timeout: 240 seconds]
tdc has quit [Client Quit]
leafyba__ has quit [Ping timeout: 260 seconds]
<doddok> i cannot realize how to use redis in web
<doddok> i can set value but cannot get it
Ven has joined #crystal-lang
<doddok> need advice about desing
blue_deref has joined #crystal-lang
<doddok> maybe create helper class
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
doddok has quit [Quit: Leaving]
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
ssvb has quit [Ping timeout: 260 seconds]
leafybas_ has joined #crystal-lang
ssvb has joined #crystal-lang
leafyba__ has joined #crystal-lang
leafybas_ has quit [Ping timeout: 240 seconds]
trapped has quit [Quit: Textual IRC Client: www.textualapp.com]
NeverDie has quit [Quit: http://radiux.io/]
greengriminal has quit [Quit: Leaving]
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
[spoiler] has quit [Ping timeout: 246 seconds]
Excureo has quit [Remote host closed the connection]
[spoiler] has joined #crystal-lang
Excureo has joined #crystal-lang