ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.19.4 | Fund Crystals 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
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vPHWD
<crystal-gh> crystal/master 9cdc89e John Jansen: String#partition (#3435)
bjz has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
HakanD___ has joined #crystal-lang
Raimondi has joined #crystal-lang
HakanD___ has quit [Ping timeout: 252 seconds]
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
Philpax has joined #crystal-lang
kulelu88 has joined #crystal-lang
Philpax has quit [Ping timeout: 260 seconds]
aedigix has joined #crystal-lang
<aedigix> what's the current status of FreeBSD support?
Raimondi has quit [Remote host closed the connection]
matp has quit [Quit: ZZzzzZz...]
<BlaXpirit> aedigix, pretty good from what i hear
Raimondi has joined #crystal-lang
<BlaXpirit> it's amazing though, making a game solver/clicker bot was nicer in Crystal than in Python, even with all the experience i have with Python
Philpax has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
<FromGitter> <raydf> @BlaXpirit , have you thought on writing some blog about this kind of experience?
<BlaXpirit> i needed some data structures that can be cloned, mutated and hashed, and Python goes out of its way to make these exclusive
<aedigix> where can I get a prebuild binary to build crystal from source in FreeBSD?
<aedigix> You need to have a crystal executable in your path!
<BlaXpirit> i don't know what to write though
<BlaXpirit> aedigix, it's there somewhere but my guess is as good as yours
<BlaXpirit> have u checked Releases
<BlaXpirit> o yes
Raimondi has joined #crystal-lang
<FromGitter> <raydf> Ok, i think that there's an opportunity to promote the language with development blog articles about crystal usage and comparison against other languages. You're one of the most active supporter in this channel and i thought it could be a great idea to promote the language in reddit and similar kind of channels :+1:
<FromGitter> <raydf> For example, there where some articles in rust in the early days of the language, that made more sense for me than the official documentation :).
soveran has joined #crystal-lang
<aedigix> seems like only FreeBSD x86 binary is available
soveran has quit [Ping timeout: 250 seconds]
HakanD___ has joined #crystal-lang
HakanD___ has quit [Ping timeout: 256 seconds]
<wmoxam> aedigix: what arch are you looking for?
Raimondi has quit [Ping timeout: 244 seconds]
Raimondi has joined #crystal-lang
matp has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
Philpax has quit [Ping timeout: 260 seconds]
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
<travis-ci> crystal-lang/crystal#9cdc89e (master - String#partition (#3435)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/169095066
Raimondi has quit [Remote host closed the connection]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Raimondi has joined #crystal-lang
Philpax has joined #crystal-lang
HakanD___ has joined #crystal-lang
HakanD___ has quit [Ping timeout: 260 seconds]
Raimondi has quit [Remote host closed the connection]
matp has quit [Excess Flood]
bjz has joined #crystal-lang
dhk has quit [Read error: Connection reset by peer]
dhk has joined #crystal-lang
Raimondi has joined #crystal-lang
matp has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Raimondi has quit [Remote host closed the connection]
<FromGitter> <iDev0urer> I'm looking for ways to contribute and was wondering if crystal could use some help in the documentation area? I've been looking through the source code and have found a few methods that haven't been documented and was thinking this may be a place for me to start contributing
Raimondi has joined #crystal-lang
Philpax has quit [Ping timeout: 252 seconds]
bjz has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 265 seconds]
Raimondi has quit [Remote host closed the connection]
Philpax has joined #crystal-lang
Raimondi has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
vikaton has quit [Quit: Connection closed for inactivity]
Raimondi has joined #crystal-lang
kulelu88 has quit [Quit: Leaving]
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Raimondi has quit [Ping timeout: 244 seconds]
elomatreb has quit [Quit: mep mep]
Raimondi has joined #crystal-lang
elomatreb has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
soveran has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
Oliphaunte has quit [Remote host closed the connection]
soveran has quit [Ping timeout: 250 seconds]
<FromGitter> <jwoertink> @iDev0urer that's definitely a good place to start
<FromGitter> <jwoertink> Also, in the github issues, there's a specific tag for "newcomers"
<FromGitter> <jwoertink> Any of those issues would be great to work ok as well. One thing to keep in mind is that some people have already submitted PRs for different things
<aedigix> I can't compile crystal in FreeBSD using the compiler
<FromGitter> <jwoertink> You should just make sure what you're working on hasn't already been started and submitted. I've done that a few times now
Raimondi has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
aedigix has left #crystal-lang [#crystal-lang]
pawnbox has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 252 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Raimondi has joined #crystal-lang
Philpax has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
HakanD___ has joined #crystal-lang
Raimondi has joined #crystal-lang
HakanD___ has quit [Ping timeout: 252 seconds]
Raimondi has quit [Ping timeout: 244 seconds]
Raimondi has joined #crystal-lang
<FromGitter> <sdogruyol> @raydf you are right :+1:
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
dhk has quit [Ping timeout: 260 seconds]
bjz has joined #crystal-lang
HakanD___ has joined #crystal-lang
HakanD___ has quit [Ping timeout: 260 seconds]
mark_66 has joined #crystal-lang
gewo has joined #crystal-lang
Philpax has quit [Ping timeout: 265 seconds]
HakanD___ has joined #crystal-lang
elia has joined #crystal-lang
HakanD___ has quit [Quit: Be back later ...]
nowhereFast has joined #crystal-lang
Cyrus has quit [Ping timeout: 260 seconds]
Cyrus has joined #crystal-lang
Cyrus is now known as Guest41247
Raimondi has joined #crystal-lang
hmans has joined #crystal-lang
Raimondi has quit [Ping timeout: 244 seconds]
hmans has quit [Client Quit]
hmans has joined #crystal-lang
hmans has quit [Client Quit]
hmans has joined #crystal-lang
Philpax has joined #crystal-lang
HakanD___ has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 256 seconds]
Philpax has quit [Ping timeout: 252 seconds]
HakanD___ has quit [Quit: Be back later ...]
HakanD___ has joined #crystal-lang
HakanD___ has quit [Ping timeout: 244 seconds]
HakanD___ has joined #crystal-lang
Raimondi has joined #crystal-lang
<FromGitter> <ysbaddaden> @iDev0urer improved documentation, blog articles explaining bits of Crystal, and everything of the sort are always welcomed!
<FromGitter> <sdogruyol> yeah
<FromGitter> <sdogruyol> for example Codeship just sent the article that i wrote like 2 months ago as a newsletter. Which gets more people into Crystal
pawnbox has joined #crystal-lang
<FromGitter> <ysbaddaden> I miss the old browser tool to analyze types accepted by methods... I'd love a tool to print all the typed method calls after semantic analyzing is done
pawnbox has quit [Ping timeout: 252 seconds]
pawnbox has joined #crystal-lang
Raimondi has quit [Ping timeout: 244 seconds]
soveran has quit [Remote host closed the connection]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vPQYl
<crystal-gh> crystal/master 86e80d0 Ary Borenszweig: Support HTTP server and client request streaming (single HTTP::Request) (#3406)
<crystal-gh> [crystal] asterite closed pull request #3395: [WIP] Support http server request streaming (master...feature/http_server_request_stream) https://git.io/vP4Fk
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vPQYu
<crystal-gh> crystal/master ba346fc Luis Lavena: Allows running specs within Docker container...
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vPQOs
<crystal-gh> crystal/master 2616769 Ary Borenszweig: Add development libraries to Dockerfile
<crystal-gh> crystal/master f0abc54 Ary Borenszweig: Add libgmp to Dockerfile.release
<crystal-gh> [crystal] asterite closed pull request #2903: adding gmp to docker images (master...gmp-dockerfile) https://git.io/voyEO
pawnbox has quit [Ping timeout: 265 seconds]
<crystal-gh> [crystal] asterite closed pull request #1947: expose socket ADDR in http (master...expose-socket-addr-in-http) https://git.io/vPQO8
<crystal-gh> [crystal] asterite closed pull request #2096: Accept IO objects as HTTP request bodies (master...feat/http_body_io) https://git.io/vPQOw
<crystal-gh> [crystal] asterite closed pull request #2541: allow string split by char with yield (master...split_with_yield) https://git.io/vwDmq
pawnbox has joined #crystal-lang
Philpax has joined #crystal-lang
HakanD___ has quit [Quit: Be back later ...]
HakanD___ has joined #crystal-lang
HakanD___ has quit [Ping timeout: 252 seconds]
HakanD___ has joined #crystal-lang
<travis-ci> crystal-lang/crystal#86e80d0 (master - Support HTTP server and client request streaming (single HTTP::Request) (#3406)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/169194384
<DeBot> https://github.com/crystal-lang/crystal/pull/3406 (Support HTTP server and client request streaming (single HTTP::Request))
Raimondi has joined #crystal-lang
Raimondi has quit [Ping timeout: 244 seconds]
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 256 seconds]
elia has quit [Quit: Computer has gone to sleep.]
dhk has joined #crystal-lang
<travis-ci> crystal-lang/crystal#ba346fc (master - Allows running specs within Docker container): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/169194526
soveran has joined #crystal-lang
dhk has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
dhk has joined #crystal-lang
HakanD___ has quit [Quit: Be back later ...]
HakanD___ has joined #crystal-lang
HakanD___ has quit [Ping timeout: 260 seconds]
Raimondi has joined #crystal-lang
elia has joined #crystal-lang
Raimondi has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 256 seconds]
Oliphaunte has joined #crystal-lang
HakanD___ has joined #crystal-lang
pawnbox has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
HakanD___ has quit [Quit: Be back later ...]
HakanD___ has joined #crystal-lang
HakanD___ has quit [Ping timeout: 252 seconds]
HakanD___ has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
bjz has joined #crystal-lang
pawnbox has joined #crystal-lang
bjz_ has quit [Ping timeout: 250 seconds]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit []
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 250 seconds]
elia has quit [Quit: Computer has gone to sleep.]
<FromGitter> <sdogruyol> @Rx14 https://github.com/crystal-lang/crystal/pull/3406 is merged
pawnbox has joined #crystal-lang
Philpax has quit [Ping timeout: 256 seconds]
Raimondi has joined #crystal-lang
elia has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
Raimondi has quit [Ping timeout: 244 seconds]
pawnbox_ has joined #crystal-lang
snsei has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 244 seconds]
Raimondi has joined #crystal-lang
kochev has joined #crystal-lang
paulcsmith_ has joined #crystal-lang
nowhereFast has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has quit [Remote host closed the connection]
snsei has quit [Remote host closed the connection]
mark_66 has quit [Quit: Leaving.]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 244 seconds]
Raimondii is now known as Raimondi
kochev has quit [Ping timeout: 256 seconds]
dhk has quit [Ping timeout: 265 seconds]
paulcsmith_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
soveran has joined #crystal-lang
<crystal-gh> [crystal] johnjansen closed pull request #3429: String#rpartition (master...string-rpartition) https://git.io/vPi5f
<crystal-gh> [crystal] johnjansen opened pull request #3444: String rpartition 2 (master...String-rpartition2) https://git.io/vPQdN
<crystal-gh> [crystal] johnjansen opened pull request #3445: String#rpartition (master...string-rpartition) https://git.io/vPQb8
<crystal-gh> [crystal] johnjansen closed pull request #3444: String rpartition 2 (master...String-rpartition2) https://git.io/vPQdN
<crystal-gh> [crystal] johnjansen closed pull request #3445: String#rpartition (master...string-rpartition) https://git.io/vPQb8
<FromGitter> <iDev0urer> Question in regards to Tuple's. What is the real difference between `Tuple.at` without a block and `Tuple.unsafe_at`? I see the difference in the code, but they both seem to throw an `IndexError.
<crystal-gh> [crystal] johnjansen opened pull request #3446: string-rpartition (master...string-rpartition) https://git.io/vPQxZ
<FromGitter> <asterite> There's no difference. Indexable uses unsafe_at but there's no "unsafe" at for tuple
<FromGitter> <johnjansen> @asterite can you cancel PR builds on travis? ive waisted a bunch of your CI time, but a new PR is in with only one commit WAHOO … (must read my git book soon)
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 244 seconds]
Raimondii is now known as Raimondi
kulelu88 has joined #crystal-lang
<FromGitter> <iDev0urer> @asterite ahh ok. Makes sense now!
HakanD___ has quit [Quit: Be back later ...]
paulcsmith_ has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
paulcsmith_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven_ has joined #crystal-lang
paulcsmith_ has joined #crystal-lang
Ven__ has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
Ven_ has joined #crystal-lang
Ven__ has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
HakanD___ has joined #crystal-lang
paulcsmith_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Ping timeout: 252 seconds]
soveran has quit [Remote host closed the connection]
kochev has joined #crystal-lang
HakanD___ has quit [Quit: Be back later ...]
paulcsmith_ has joined #crystal-lang
HakanD___ has joined #crystal-lang
paulcsmith_ has quit [Client Quit]
HakanD___ has quit [Ping timeout: 260 seconds]
matp has quit [Ping timeout: 260 seconds]
matp_ has joined #crystal-lang
maxpowa has quit [Ping timeout: 245 seconds]
matp_ has quit [Ping timeout: 250 seconds]
onethirtyfive has joined #crystal-lang
HakanD___ has joined #crystal-lang
matp has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
onethirtyfive has quit [Remote host closed the connection]
maxpowa has joined #crystal-lang
soveran has quit [Ping timeout: 260 seconds]
elia has joined #crystal-lang
soveran has joined #crystal-lang
bjz has joined #crystal-lang
HakanD___ has quit [Quit: Be back later ...]
kochev has quit [Remote host closed the connection]
HakanD___ has joined #crystal-lang
HakanD___ has quit [Ping timeout: 250 seconds]
paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Client Quit]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vP71m
<crystal-gh> crystal/master 186dfd2 John Jansen: string-rpartition from fresh upstream
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<BlaXpirit> i just changed one line in my program, adding `to_set`: `def_equals_and_hash stacks.to_set, free.to_set, flower, found.to_set` and now my program runs in 5 seconds instead of 80 seconds
<BlaXpirit> crystal is too good
<BlaXpirit> (this is because deduplication for my algorithm is bettwe now, not some weird quirk)
<BlaXpirit> better*
soveran has quit [Remote host closed the connection]
<FromGitter> <jwoertink> ^ that's awesome! I love seeing stuff like that
<FromGitter> <sdogruyol> @BlaXpirit awesome
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
kulelu88 has quit [Ping timeout: 256 seconds]
<FromGitter> <jwoertink> Question about optional instance variables... Is there a way to say "If this instance variable exists, and it matches XYZ then do whatever"?
<FromGitter> <jwoertink> I have 2 `initialize` methods. 1 takes 1 arg, and 1 takes 2 args. If the second arg is used, then I have an instance variable defined that I need to compare against something else
<FromGitter> <jwoertink> but if it's not defined, then I get errors when doing `if @thing && @thing[0] == "this"`
<FromGitter> <jwoertink> I guess I could just initialize it with a default value of `""` or something
pawnbox has quit [Remote host closed the connection]
kulelu88 has joined #crystal-lang
<FromGitter> <jwoertink> Sort of like this https://play.crystal-lang.org/#/r/1ch5
<FromGitter> <iDev0urer> Looking though the source and found this `@[AlwaysInline]` above several methods. I was wondering where these are defined and what they're called in crystal (looks like a decorator in python/java)
kulelu88 has quit [Ping timeout: 256 seconds]
<FromGitter> <jwoertink> Also, is there a way to do this? https://play.crystal-lang.org/#/r/1ch8 Aside from checking the length of the string, or if it's empty
<FromGitter> <iDev0urer> If you do ⏎ ```crystal ⏎ str = "" ⏎ puts str[0]? [https://gitter.im/crystal-lang/crystal?at=580948a748292577614218d7]
<FromGitter> <jwoertink> oh, that's right.
<FromGitter> <iDev0urer> That returns nil rather than throwing an exception
<FromGitter> <jwoertink> Thanks!
<FromGitter> <iDev0urer> No problem!
kulelu88 has joined #crystal-lang
<BlaXpirit> iDev0urer, regarding @[] these are compiler directives, they can't be made up in normal code
<FromGitter> <iDev0urer> @BlaXpirit ahh ok. Looks a lot like Rust's derives as well. Could be cool if those were exposed at some point. Just me thinking out loud here
<FromGitter> <iDev0urer> @all heads up to everyone, I am writing an article on Medium about Crystal and thought it would be nice to get some review on it before I publish it. https://medium.com/@dev0urer/crystal-ruby-syntax-with-almost-c-efficiency-ce1fb9c977b8. I'm open to any and all suggestions, especially if someone can help me come up with a better title. Cheers!
<FromGitter> <jwoertink> @iDev0urer typo in first paragraph, last sentence "bost fast"
<FromGitter> <iDev0urer> @jwoertink thanks!
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 260 seconds]
Philpax has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has left #crystal-lang [#crystal-lang]