ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.24.2 | Fund Crystal's development: http://is.gd/X7PRtI | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Gitter: https://gitter.im/crystal-lang/crystal
greengriminal has quit [Quit: This computer has gone to sleep]
gizmore|2 has joined #crystal-lang
gizmore has quit [Ping timeout: 264 seconds]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #crystal-lang
greengriminal has joined #crystal-lang
<FromGitter> <bew> that you shouldn't care about that :P
greengriminal has quit [Quit: Leaving]
sz0 has joined #crystal-lang
faustinoaq has joined #crystal-lang
<FromGitter> <girng> `This message has been deleted.` was this?
rohitpaulk has quit [Ping timeout: 276 seconds]
<faustinoaq> Oh, someone deleted my message :-(
<FromGitter> <girng> what u say?
<faustinoaq> Nothing bad, just something like: we can try to separate stdlib and compiler to be focused in actually important crystal issues
<FromGitter> <girng> hmm wonder why it got deleted
snsei has joined #crystal-lang
<FromGitter> <girng> lol i just found the problem
<FromGitter> <girng> i had to disable nagle algorithm..
<FromGitter> <girng> on the client, and server code. Lol, anyways. No hiccups now I start coding my gameserver! yay im happy now :D
snsei has quit [Ping timeout: 260 seconds]
gizmore|2 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
rohitpaulk has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 276 seconds]
Ven`` has joined #crystal-lang
DTZUZO_ has quit [Ping timeout: 248 seconds]
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 276 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
<FromGitter> <Blacksmoke16> but now you gotta figure out *why* that was an issue
<FromGitter> <rishavs> Hi. Did we get around to crystal to js compilation? I wanted to try a new lang for a toy app and was wondering if i can use crystal in the frontend as well
zorp has joined #crystal-lang
Philpax has quit [Ping timeout: 248 seconds]
<FromGitter> <hmans> @faustinoaq Your message is loading fine here
zorp has quit [Quit: Leaving]
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii has joined #crystal-lang
zorp has joined #crystal-lang
<FromGitter> <girng> @Blacksmoke16 lol aint gonna spend more time on it now.
Raimondii is now known as Raimondi
zorp has quit [Quit: Leaving]
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ua has quit [Quit: Leaving]
snsei has joined #crystal-lang
Ven`` has joined #crystal-lang
snsei has quit [Ping timeout: 276 seconds]
<FromGitter> <Qwerp-Derp> @vlazar Status menu app?
<FromGitter> <Qwerp-Derp> You can integrate the OSX menu bar thing with Hedron, I'll have to make a UI syntax for that though
<FromGitter> <Qwerp-Derp> For now you'll have to make it through objects in your Crystal program
<FromGitter> <bararchy> Is there something like `.map` but that returns the first element which is true to the passed block ?
<FromGitter> <bararchy> instead of returning an hash
<FromGitter> <bararchy> *array
<FromGitter> <bararchy> Oh, `find`
alex`` has joined #crystal-lang
ua has joined #crystal-lang
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<faustinoaq> @rishavs Did you check https://www.mint-lang.com/ and https://github.com/geppetto-apps/crow ? ;-)
<faustinoaq> s/check/try/
<faustinoaq> I guess Mint lang looks very nice, but if you want to compile crystal to js like Nim does, then crow is the way to go, this shard still requires some work, but after testing some `Crystal::Visitor` code I think Crystal->JS compiler is pretty doable
Ven`` has joined #crystal-lang
<FromGitter> <yxhuvud> faustinoaq: I think the GC is the main obstacle.
<faustinoaq> @yxhuvud Yeah, but this is not a "real" compiler, is more like a transpiler, so, somethings are just translated to JS world
<faustinoaq> So, things like `spawn` or GC would just be "converted" to similar thing on JS land
Ven`` has quit [Client Quit]
Ven`` has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
rohitpaulk has joined #crystal-lang
DTZUZO_ has joined #crystal-lang
shalmezad has joined #crystal-lang
<faustinoaq> Hehe, I didn't published it yet, but I guess the code is already working, so, I think a PR would be ready very soon :-) (one week at least)
<faustinoaq> Oh, wrong channel ;-(
<FromGitter> <LVMBDV> anyone working on openssl bindings for ECDSA functions?
<FromGitter> <LVMBDV> i will be doing it myself if there aren't
<faustinoaq> @barachy @drujensen I just saw this: https://github.com/drujensen/heart-disease and looks awesome, if may I ask, Is there some paper or academic stuff about SHAInet ?
<faustinoaq> ^^ @ArtLinkov :-)
<FromGitter> <ArtLinkov> @faustinoaq no academic papers yet :)
rohitpaulk has quit [Ping timeout: 240 seconds]
rohitpaulk has joined #crystal-lang
<FromGitter> <bararchy> faustinoaq maybe @drujensen will make some? :)
<faustinoaq> Oh, ok, no problem, Yeah I think would be nice to have some paper, so we can reference SHAInet in some academic project, etc :-)
<FromGitter> <bararchy> yeha it would be amazing
<FromGitter> <bararchy> we need to fix some stuff before like save and load CNN to-from json
<FromGitter> <bararchy> and waiting on @ArtLinkov huge PR for CNN fixes
<faustinoaq> I got the idea after trying darknet, I read this in his website: `If you use Darknet in your research please cite it:`, and yeah, this is very useful, https://pjreddie.com/darknet/
<FromGitter> <ArtLinkov> Btw, on the subject of SHAInet. ⏎ I've been changing some of the logic into NamedTuple for more clarity, but I seem to get an error of unmatching overloads: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5af98393f04ce53632d6e12d]
<FromGitter> <ArtLinkov> The named tuple is defined like this: ⏎ ⏎ ```alias CNNPair = {input: Array(Array(Array(Float64))), output: Array(Float64)}``` [https://gitter.im/crystal-lang/crystal?at=5af983d9d245fe2eb7abf8c6]
<faustinoaq> @ArtLinkov Does this work if you try without alias?
<FromGitter> <ArtLinkov> smae problem
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<faustinoaq> @ArtLinkov Maybe the issue isn't in `data:` but in your arguments, try `training_type.as(Symbol | String)` and `cost_function.as(Symbol | String | CostFunction)` and `mini_batch_size.as(Int32 | Nil)`
Ven`` has joined #crystal-lang
snsei has joined #crystal-lang
<FromGitter> <ArtLinkov> @faustinoaq I found the problem, I used "threshold" instead of "error_threshold" in the parameter names. lol :)
<FromGitter> <ArtLinkov> Thanks for the help
<FromGitter> <ArtLinkov> Sometimes the mind really plays tricks on you, I must have read that line a 100 times...
<FromGitter> <bararchy> a better error message indicating which of the parameters in question is the error might be useful for debugging
<FromGitter> <bararchy> as in, green all parameters which where correct, then red those who werent
<FromGitter> <bararchy> etc..
<FromGitter> <ArtLinkov> Yeah that would be awesome :)
<faustinoaq> @ArtLinkov Nice, Yeah, something the code ploy on us :-)
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rohitpaulk has quit [Ping timeout: 268 seconds]
duane has joined #crystal-lang
baweaver is now known as baweaver_away
baweaver_away is now known as baweaver
Ven`` has joined #crystal-lang
ua has quit [Ping timeout: 260 seconds]
ua has joined #crystal-lang
<FromGitter> <vlazar> @Qwerp-Derp ⏎ ⏎ > @vlazar Status menu app? ⏎ > You can integrate the OSX menu bar thing with Hedron, I'll have to make a UI syntax for that though ⏎ > For now you'll have to make it through objects in your Crystal program ... [https://gitter.im/crystal-lang/crystal?at=5af99c94e1cf621dba1adb5b]
aurieeeh has quit [Ping timeout: 256 seconds]
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven`` has joined #crystal-lang
duane has quit [Ping timeout: 256 seconds]
faustinoaq has quit [Quit: IRC client terminated!]
<FromGitter> <bararchy> Version 2.1.0 of SHAInet (https://github.com/NeuraLegion/shainet) is out, it includes cool features and CNN network examples and functionality ⏎ check it out :) ⏎ much thanks to @ArtLinkov and @drujensen
aurieeeh has joined #crystal-lang
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <rishavs> Thanks Faust. mint-lang looks intriguing!
duane has joined #crystal-lang
duane has quit [Read error: Connection reset by peer]
duane has joined #crystal-lang
duane has quit [Read error: Connection reset by peer]
duane has joined #crystal-lang
duane has quit [Read error: Connection reset by peer]
duane has joined #crystal-lang
duane has quit [Read error: Connection reset by peer]
duane has joined #crystal-lang
duane has quit [Read error: Connection reset by peer]
<crystal-gh> [crystal] RX14 closed pull request #5421: FileUtils: Add `ln`, `ln_s`, and `ln_sf` (master...fileutils-ln) https://git.io/vbD5j
duane has joined #crystal-lang
duane has quit [Read error: Connection reset by peer]
That_Guy_Anon has joined #crystal-lang
faustinoaq has joined #crystal-lang
<travis-ci> crystal-lang/crystal#07c7066 (master - FileUtils: Add `ln`, `ln_s`, and `ln_sf` (#5421)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/378800595
<DeBot> https://github.com/crystal-lang/crystal/pull/5421 (FileUtils: Add `ln`, `ln_s`, and `ln_sf`)
duane has joined #crystal-lang
faustinoaq has quit [Ping timeout: 276 seconds]
snsei has quit [Remote host closed the connection]
faustinoaq has joined #crystal-lang
<oprypin> nice, now fileutils can take natural logarithms
That_Guy_Anon has quit [Quit: Leaving]
duane has quit [Ping timeout: 240 seconds]
<RX14> lol
<crystal-gh> [crystal] r00ster91 opened pull request #6095: Improve documentation of String#% (master...patch-2) https://git.io/vpQc8
duane_ has joined #crystal-lang
vikaton has joined #crystal-lang
hightower2 has joined #crystal-lang
sz0 has joined #crystal-lang
Jenz has joined #crystal-lang
<Jenz> Good evening peeps
<hightower2> Hey, why was it chosen that Time - Time returns Time::Span?
<crystal-gh> [crystal] kalinon opened pull request #6097: Added example of nesting mappings to YAML builder (master...add_yaml_doc) https://git.io/vpQEo
<FromGitter> <schoening> How come an array can be accessed like this: "my_array[1]" . instead of having to write "my_array[] 1 " ? Shouldn't it be the latter coz the function is named "def [] (start .... " ? ⏎ ⏎ I am not complaining that it looks like it does, just wondering..
<oz> well, it would rather be `my_array.[] 1`, and it works.
<txdv> can you do my_array.[](1) ?
<Jenz> [] is special notation, it is treated specially by the compiler
<Jenz> You can do my_array.[](1)
<Jenz> But not my_array[](1)
<Jenz> Although both are meaningless with the special notation avaible :)
<txdv> .[] is just calling a method with the name "[]"
<Jenz> Yes
<Jenz> You can give methods loads of names, like Ł
<Jenz> `Ł(©)` is valid crystal
<Jenz> (lmao)
Jenz has quit [Quit: leaving]
faustinoaq has quit [Quit: IRC client terminated!]
shalmezad has quit [Quit: Leaving]
vikaton has quit [Quit: Connection closed for inactivity]
moei has quit [Quit: Leaving...]
<FromGitter> <alex-kampa> Hey everyone! We're developing a blockchain platform and I happen to like Ruby so have started to experiment a bit with Crystal -- just very very basic stuff so far: tcp server listening, tcp server sending. But in an ideal world that is the language I'd like to use. So we have decided to try and code a VERY basic gossip/consensus/blockchain system in Crystal over the next 10 days. A kind of challenge.
<FromGitter> <alex-kampa> If anyone here is interested to help, pls contact me.
<FromGitter> <alex-kampa> Compensation is as yet completely worthless tokens of a possible future ico))))
<FromGitter> <alex-kampa> Skype = alex.kampa
<FromGitter> <alex-kampa> Telegram = @alexkampa
alex`` has quit [Quit: WeeChat 2.1]
Philpax has joined #crystal-lang
<FromGitter> <codenoid> hi, is crystal have library like -> https://github.com/LonamiWebs/Telethon
<FromGitter> <codenoid> telegram client API
<FromGitter> <codenoid> <3
<FromGitter> <codenoid> actually, i just need to know the auth method, calling method, and yup
<FromGitter> <codenoid> but i don't know