<FromGitter>
<straight-shoota> or actually, it doesn't necessarily need to be full-text search. an index of all method and constant names would already be great
<panderssen>
true
<panderssen>
well and argument types?
<FromGitter>
<akzhan> The scry has not been updated for a long time.
<panderssen>
how to find methods which take a certain argument type that is, maybe this is not really a good feature for doc search
rohitpaulk has quit [Ping timeout: 268 seconds]
<FromGitter>
<faustinoaq> @akzhan yes, I'm working in a PR to update to 0.22.0
<FromGitter>
<crisward> @straight-shoota We use gitlab internally, the the gitlab build script allows you to do a crystal docs them push the public folder to a live server. Works ok, though you'd have to use gitlab...
<FromGitter>
<straight-shoota> Yes, I am using Gitlab for some projects. Their integrated CI is amazing! =)
<FromGitter>
<straight-shoota> Though you should be able to do pretty much the same with Github and travis-ci
<FromGitter>
<straight-shoota> I tried to generalize as much as possible and it can be called locally as well as by CI
rohitpaulk has quit [Ping timeout: 240 seconds]
<oprypin>
i'd add 2>/dev/null in addition to >/dev/null to every push command for good measure.
<oprypin>
`==` is not a valid operator for `[`, `=` is
<FromGitter>
<straight-shoota> Ah yes, it felt weird but works :D
<FromGitter>
<straight-shoota> stderr might be useful if something goes wrong, wouldn't it?
<oprypin>
i would not risk the push outputting anything because it spews full remote path with GH_TOKEN
<FromGitter>
<straight-shoota> true
<FromGitter>
<straight-shoota> I'll probably better switch to SSH key anyway
<oprypin>
uhhh that's not a well explored approach
<FromGitter>
<straight-shoota> it's tricky, yes
<FromGitter>
<straight-shoota> It seems doable, though, but I'm still looking for better ways than putting an (encrypted) file with ssh key into the repo
<oprypin>
i'd recommend sticking to the current approach
<FromGitter>
<straight-shoota> Tokens are not ideal either... they have broad access rights
<oprypin>
straight-shoota, i dont see how they have more access than a ssh key
<FromGitter>
<akzhan> @faustinoaq oh, i have Crystal, Crystal IDE and Crystal Language plugins. What I need to remove)
<FromGitter>
<akzhan> ami need to remove?)
<FromGitter>
<straight-shoota> Deploy keys with write access only grant push privilege to a specific repository. A token is an identification for my user account. While the kinds of actions it legitimizes can be regulated, it can perform these actions on any repository that my account have access to.
<FromGitter>
<straight-shoota> This can be mitigated by a special user account for this specific purpose. Then a token for this account should mostly be similar to an ssh key in this respect.
panderssen has quit [Ping timeout: 260 seconds]
onionhammer1 has quit [Ping timeout: 260 seconds]
onionhammer1 has joined #crystal-lang
onionhammer1 has quit [Ping timeout: 268 seconds]
<FromGitter>
<asterite> Hi everyone. I just wrote a Ruby code formatter similar to how the one in Crystal is done. It's also a bit configurable. https://github.com/asterite/rufo . Feedback is welcome :-)
hako has joined #crystal-lang
hako has quit [Read error: Connection reset by peer]
onionhammer1 has joined #crystal-lang
greengriminal has quit [Quit: This computer has gone to sleep]
onionhammer1 has quit [Ping timeout: 268 seconds]
hightower3 has joined #crystal-lang
onionhammer1 has joined #crystal-lang
greengriminal has joined #crystal-lang
hightower4 has quit [Ping timeout: 246 seconds]
<FromGitter>
<akzhan> Ripper based. Thanks, take a look
onionhammer1 has quit [Ping timeout: 260 seconds]
<FromGitter>
<faustinoaq> @akzhan :sweat_smile: the 3 plugins do the same. Just pick one. I recommend you my plugin because formatting support and lightweight syntax checking using `crystal tool format --check -f json --no-color -`. Also my plugin use `crystal build --no-codegen` to check types and methods however this could be a bit heavy in some workspaces.
<crystal-gh>
[crystal] MakeNowJust opened pull request #4609: String: implement Rabin-Karp algorithm for #byte_index (master...fix/string/byte-index-rabin-karp) https://git.io/vQqZk
onionhammer1 has joined #crystal-lang
greengriminal has quit [Quit: This computer has gone to sleep]
hightower2 has joined #crystal-lang
<hightower2>
Howdy fine sirs
<FromGitter>
<markusvaikjarv> I'm new to this language and considering that I have had no exposure to Ruby, is Crystal's documentation good enough to learn this language?
<FromGitter>
<faustinoaq> I never used Ruby before, just Python, Java and C and I learned A lot with Crystal :sweat_smile:
<FromGitter>
<faustinoaq> For me syntax is not the main goal not even the performance but the Type inference and channel concurrency model.
<FromGitter>
<markusvaikjarv> Sounds great, I guess I should give it a try
<FromGitter>
<faustinoaq> and compiled binaries for easy distribution is another reason for me.
onionhammer1 has quit [Read error: No route to host]