ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
yxhuvud has joined #crystal-lang
Anyweys has quit [Quit: WeeChat 3.3]
Anyweys has joined #crystal-lang
ur5us_ has quit [Ping timeout: 264 seconds]
ua_ has quit [Ping timeout: 256 seconds]
ua__ has joined #crystal-lang
ur5us_ has joined #crystal-lang
Anyweys has quit [Ping timeout: 264 seconds]
Chillfox has quit [Ping timeout: 260 seconds]
Anyweys has joined #crystal-lang
ur5us_ has quit [Ping timeout: 264 seconds]
ur5us_ has joined #crystal-lang
ur5us_ has quit [Ping timeout: 264 seconds]
Chillfox has joined #crystal-lang
Anyweys has quit [Ping timeout: 268 seconds]
hightower3 has quit [Ping timeout: 256 seconds]
ur5us_ has joined #crystal-lang
hightower2 has joined #crystal-lang
hightower2 has quit [Ping timeout: 240 seconds]
Guest61 has joined #crystal-lang
Guest61 has quit [Quit: Client closed]
Chillfox has quit [Quit: Leaving]
<FromGitter> <hextremist_twitter> Just a few comments on the fedora installation page -- https://crystal-lang.org/install/on_fedora/
<FromGitter> <hextremist_twitter> 1) The latest release, fedora35 is not supported. Had to modify the file under /etc/yum.repos.d and insert fedora34 instead
<FromGitter> <hextremist_twitter> 2) In the Manual Setup section, it says you should replace {REPOSITORY} in the script, but the script contains some SUSE setup and no REPOSITORY.
<FromGitter> <hextremist_twitter> 3) It says you should use *yum* when installing. This should be replaced by *dnf* which is used in place of yum for the last couple of years.
ur5us_ has quit [Ping timeout: 260 seconds]
ur5us_ has joined #crystal-lang
_whitelogger has quit [Ping timeout: 264 seconds]
_whitelogger has joined #crystal-lang
ur5us_ has quit [Ping timeout: 264 seconds]
<FromGitter> <oprypin:matrix.org> @hextremist_twitter: "opensuse stuff" is intentional, it's just the hosting destination. and the string "{REPOSITORY}" *is* there.
<FromGitter> <oprypin:matrix.org> @hextremist_twitter: fedora 35 not having a repository for it - that should be looked into. thanks.
<straight-shoota> @hextremist_twitter I have enabled the repository for Fedora 35. Unfortunately, that doesn't happen automatically for new distro releases.
<straight-shoota> Thanks for the heads up!
<straight-shoota> I don't know of any regular contributor working with Fedora, so we're missing some knowledge there.
<straight-shoota> Would be great if you could propose upgrades to the instructions (https://github.com/crystal-lang/crystal-website/blob/master/install/on_fedora.md)
<FromGitter> <hextremist_twitter> Oh, I see. You use Open Build Service to build the release.
<FromGitter> <hextremist_twitter> I am planning to look into porting som Ruby code to Crystal as a side project in a Hackathon we have at work next month. So who knows, maybe I can contribute to Crystal later if I like it enough :)
<frojnd> Hi there.
<frojnd> What would one use for manipulating Strings and removing double spaces but at the same time add space where is needed e.g. after comma or dot. gsub?
<frojnd> Consider this String: "This is a statement .Another statement"
<straight-shoota> Yeah, gsub should work for that
<straight-shoota> Do you need to remove the space before the dot?
<FromGitter> <hextremist_twitter> "Hey dude, nice work .There".gsub(/(\s)\s+/, '\1').gsub(/\.[^ ⏎ \s]/, '. ').gsub(/\s+\./, '.')
<straight-shoota> >> "foo bar, baz. qux .qox.gix".gsub(/(?<=[.,])(?! )| +/, " ")
<DeBot> straight-shoota: # => "foo bar, baz. qux . qox. gix" - https://carc.in/#/r/capa
walez has joined #crystal-lang
walez has quit [Quit: Leaving]
<frojnd> Hm how do I apply this regex to gsusb: https://regex101.com/r/bJ1mU0/1
<frojnd> Would like to replace every matched char with ""
<frojnd> Tried with "some string foo ba z".gsub("^ *|(?<= ) | *$", "")
<frojnd> >> "some string foo ba z".gsub("^ *|(?<= ) | *$", "")
<DeBot> frojnd: # => "some string foo ba z" - https://carc.in/#/r/caqe
<frojnd> Ah
<frojnd> >> "some string foo ba z".gsub(/^ *|(?<= ) | *$/, "")
<DeBot> frojnd: # => "some string foo ba z" - https://carc.in/#/r/caqf
Anyweys has joined #crystal-lang
sorcus has quit [Ping timeout: 268 seconds]
Anyweys_ has joined #crystal-lang
Anyweys has quit [Ping timeout: 268 seconds]
sorcus has joined #crystal-lang
hightower2 has joined #crystal-lang
ur5us_ has joined #crystal-lang
oz has quit [Read error: Connection reset by peer]
ur5us_ has quit [Ping timeout: 240 seconds]
hightower2 has quit [Ping timeout: 268 seconds]
SamantazFox has quit [Remote host closed the connection]
SamantazFox has joined #crystal-lang
Anyweys_ has quit [Ping timeout: 265 seconds]
jhass|off has joined #crystal-lang
jhass has quit [Quit: Bye]