RX14 changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.25.1 | 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
<FromGitter> <Qwerp-Derp> When's 0.26.0 getting released on Debian/Ubuntu?
akaiiro has joined #crystal-lang
akaiiro has quit [Ping timeout: 244 seconds]
akaiiro has joined #crystal-lang
akaiiro has quit [Remote host closed the connection]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 272 seconds]
Raimondii is now known as Raimondi
_whitelogger has joined #crystal-lang
alex`` has joined #crystal-lang
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #crystal-lang
<FromGitter> <bararchy> RX14 what about a Sunday release ? ;)
_whitelogger has joined #crystal-lang
ashirase has quit [Ping timeout: 272 seconds]
ashirase has joined #crystal-lang
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #crystal-lang
alex`` has quit [Client Quit]
jokke has quit [Quit: WeeChat 2.1]
jokke has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 272 seconds]
Raimondii is now known as Raimondi
<FromGitter> <Prutheus> @Prutheus ⏎ I want to use Granite outside of an amber project. I have added granite and sqlite3 as dependencies, then I want to add an adapter, but there the compiler complains `undefined constant Granite::Adapters` ... in the lib/ dir, at granite folder, the file `src/granite/adapters.cr` is also not existent, but at github there is such file ... ⏎ what to do?
<FromGitter> <Prutheus> nobody wants to help me? or do you need more info?
<FromGitter> <talbergs> I never worked with Granite or amber framework, sorry.
DTZUZU has quit [Quit: WeeChat 1.9]
<FromGitter> <Prutheus> hm...
DTZUZU has joined #crystal-lang
<FromGitter> <j8r> Have you also asked to https://gitter.im/amberframework/amber @Prutheus ?
<FromGitter> <Prutheus> yeah
<FromGitter> <Prutheus> nobody wants to help there, too
ua has joined #crystal-lang
ua_ has quit [Ping timeout: 260 seconds]
<FromGitter> <fridgerator> People are busy man, its not becuase nobody wants to help you
<FromGitter> <fridgerator> @Prutheus
<FromGitter> <Prutheus> I know ;)
<FromGitter> <Prutheus> but sunday eve? hmmm
<FromGitter> <j8r> Or simply can't help you (or in a decent amount of time) :) ⏎ Personally I don't know about amber ad granite
<FromGitter> <Prutheus> yeah, but I dont use it together with amber, just granite
<FromGitter> <fridgerator> well the file is there in master : https://github.com/amberframework/granite/blob/master/src/granite/adapters.cr
<FromGitter> <fridgerator> add `branch: master` to your shard.yml
<FromGitter> <fridgerator> to use the master branch
<FromGitter> <fridgerator> just a guess
<FromGitter> <Prutheus> waht branch is used by default?
<FromGitter> <Prutheus> i ahve seen that the file is in master, but i thought that master is taken by shards as default
<FromGitter> <fridgerator> I'm not sure, but I would add that and run `shards update` to make sure
<FromGitter> <fridgerator> becuase the file is there in master
<FromGitter> <Prutheus> yeah it solved it
<FromGitter> <Prutheus> starnge
<FromGitter> <Prutheus> strange
<FromGitter> <Prutheus> but now i have the problem that i don't know how a database url is looking for a sqlite databse, do you know?
<FromGitter> <fridgerator> with env variables, but I dont know which ones
<FromGitter> <fridgerator> you would have to look at the project source since its not in the radme
<FromGitter> <fridgerator> readme
<FromGitter> <Blacksmoke16> `sqlite3:./test.db` or whatever path you want to give it for the record
<FromGitter> <Blacksmoke16> and yea, that isnt released yet so need to use master branch
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
<FromGitter> <evandrojr> Hi guys! How do I return all the matches of a large string? I tried match and it only return the 1st match. I want something like ruby scan
<oprypin> evandrojr, have you tried `scan` ? O_o
<oprypin> https://crystal-lang.org/api/0.25.1/String.html#scan%28pattern%3ARegex%29-instance-method
Yxhuvud has joined #crystal-lang
<FromGitter> <asterite> Maybe we should rename scan to match_all or something like that. Match and scan are totally unrelated words.
<FromGitter> <evandrojr> thanks @oprypin ! I was looking at the wrong place. https://crystal-lang.org/api/0.20.4/StringScanner.html
<FromGitter> <evandrojr> @asterite +1
<FromGitter> <evandrojr> for the renaming or a new parameter to match all
<FromGitter> <asterite> A new parameter doesn't work, because the return types are different, unless we use required named arguments, which wouldn't be that bad, but it's unnecessary more typing
<oprypin> i mean, pretty much all namings copied from ruby are terrible but w/e
<oprypin> probably not worth changing an arbitrary subset of them
<FromGitter> <PlayLights_twitter> Hey guys, has anybody implemented a database connection pool on Crystal?
<RX14> it's built into crystal-db
<RX14> but there are also generic pool shards
<FromGitter> <PlayLights_twitter> Oh, ok, im going to look at it, thanks mate
<FromGitter> <asterite> oprypin: you are right, we must change all of them :-)
<FromGitter> <Timbus> I got a half dozen people in this office excited about crystal by just mentioning that you renamed 'include?' to 'includes?'