<FromGitter>
<ertw> @faustinoaq Thanks! I was serving on localhost, and needed to bind to all addresses.
fenicks has quit [Ping timeout: 240 seconds]
splitty___ has joined #crystal-lang
splitty__ has quit [Ping timeout: 268 seconds]
splitty___ has quit [Ping timeout: 268 seconds]
p0p0pr37_ has joined #crystal-lang
p0p0pr37_ has joined #crystal-lang
p0p0pr37 has quit [Ping timeout: 272 seconds]
p0p0pr37_ is now known as p0p0pr37
splitty_ has joined #crystal-lang
splitty__ has joined #crystal-lang
splitty___ has joined #crystal-lang
splitty_ has quit [Ping timeout: 240 seconds]
splitty__ has quit [Ping timeout: 240 seconds]
splitty___ has quit [Ping timeout: 246 seconds]
mark_66 has joined #crystal-lang
<FromGitter>
<crisward> @drujensen thanks, but that's using https://github.com/raydf/smtp.cr which I'm pretty sure doesn't support attachments or secure login to an smtp server. Both of which are fairly important elements of en email library. It'd be nice if it had swappable drivers too, a bit like kemal-session has with redis / file / memory. So a single setting could swap smtp, to sendgrid, mailgun, SES etc.
splitty_ has joined #crystal-lang
sz0 has joined #crystal-lang
<FromGitter>
<sdogruyol> yeah i agree @crisward
<FromGitter>
<sdogruyol> we really need a good mail library
<FromGitter>
<crisward> @sdogruyol how was crystal camp?
bjz has joined #crystal-lang
Kug3lis has joined #crystal-lang
bjz has quit [Client Quit]
bjz has joined #crystal-lang
<FromGitter>
<sdogruyol> Just amazing
<FromGitter>
<sdogruyol> I'll write a blog post soon
<FromGitter>
<bararchy> Well, the icon is indeed a black crystal right ?
<FromGitter>
<bararchy> ;)
splitty___ has quit [Quit: Leaving]
<FromGitter>
<crisward> Just curious, in `mikel/mail` the api involves calling methods inside a yielded block. Is this a common pattern in ruby?
<FromGitter>
<drujensen> @crisward right, its just for simple email delivery
<FromGitter>
<drujensen> still a lot of work to do on it.
<FromGitter>
<drujensen> if your interested. ;-)
<FromGitter>
<drujensen> `crisward/mail`?
bjz_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
<FromGitter>
<crisward> @drujensen You don't want to rely on me to do open source. I have a few components in javascript and some bash dokku plugins, I'm a good starting but pretty poor maintainer. Once they do what I want them to do I loose interest. Get really bored by the edge cases. Someone should come up with a tag team open source thing, starters + maintainers. Though I have a feeling most people won't want the maintainer
<FromGitter>
... job....
<FromGitter>
<bararchy> @crisward lol this is true for so many people
<FromGitter>
<bararchy> I also love to start new stuff , but then when the POC is working , I'll move to something else
<FromGitter>
<sdogruyol> Maintain is hard
<FromGitter>
<sdogruyol> Takes willpower and courage
<FromGitter>
<sdogruyol> 😂
<FromGitter>
<crisward> @sdogruyol Lot of admiration for anyone who maintains a large open source project. I don't mind contributing, but I wouldn't want to be the one who has to be notified of every issue etc... I imagine kemal is pretty non-stop.
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #crystal-lang
<Yxhvd>
crisward: calling methods in a yielded block is usually done using instance_exec in ruby. IIRC, the same functionality can be accomplished in crystal with 'with foo yield' or something like that (I don't reember the exact syntax)
DissonantGuil3 has quit [Ping timeout: 260 seconds]
fryguy9 has quit [Quit: Leaving.]
Philpax__ has quit [Read error: Connection reset by peer]
DissonantGuil3 has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
Kug3lis has quit [Ping timeout: 255 seconds]
<FromGitter>
<Sija> `with self yield`
<FromGitter>
<drosehn> I have been the maintainer for some parts of a large open-source project, and it can get pretty tiring. Everything seems to take more time and energy than you expect it to, especially if you want to do a really good job at it.
<FromGitter>
<drosehn> Well, technically I still am a maintainer, but I've scaled back quite a bit, and only work on a very small piece of the larger project.
<Yxhvd>
Sija: well you can put stuff other than self in it, no?
<FromGitter>
<Sija> sure, but IIRC only passing `self` will give you situation comparable with ruby’s `instance_exec`
<Yxhvd>
huh? How do foo.instance_exec differ from with foo yield (except that the latter doesn't take a proc which the former can do)
sgax has joined #crystal-lang
sgax is now known as sagax
<crystal-gh>
[crystal] akzhan opened pull request #4418: Documentation for HTTP.rfc1123_date. (master...doc-HTTP.rfc1123_date) https://git.io/v9Nlo
<RX14>
Why is keys.gnupg.net down soo often
<RX14>
it's either always down when I want to use it or more likely it's just down half the time
aemadrid has quit [Ping timeout: 258 seconds]
Majost has quit [Ping timeout: 258 seconds]
<crystal-gh>
[crystal] akzhan opened pull request #4419: Extend known HTTP default status messages by RFC's (master...extend-http-status-codes) https://git.io/v9N0W
aemadrid has joined #crystal-lang
Majost has joined #crystal-lang
wuehlmaus has quit [Quit: Lost terminal]
wuehlmaus has joined #crystal-lang
jokke has quit [Ping timeout: 258 seconds]
jokke has joined #crystal-lang
<RX14>
AWS's UI is so badly designed that I literally can't log in to my manas account
<FromGitter>
<johnjansen> @RX14 it is terrible, yes
<RX14>
after I sign out of my personal account there's no way to log in to the other type of account
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter>
<ltran> Is there a way to call OptionParser flags when using `crystal ./src/myfile.cr --help` ? It keeps executing `crystal`’s help :O
<FromGitter>
<johnjansen> are you missing `run`
<RX14>
you need to use -- between crystal's flags and the program flags
<RX14>
crystal ./src/myfile.cr -- --help
<FromGitter>
<ltran> ah okay thanks ill try that
<FromGitter>
<johnjansen> @RX14 is there anything you havent already figured out ;-)
<FromGitter>
<ltran> thanks! saves me from compiling all the time :D
<RX14>
after being around for more than a year you get a lot figured out
<FromGitter>
<johnjansen> *you* certainly do
<FromGitter>
<ltran> i was thinking there must be a better way! How did you find out? =D
<RX14>
well -- is a pretty common thing, but I can't remember how I found it
bjz has joined #crystal-lang
<RX14>
it's in the help if you look at it carefully I think
<RX14>
and maybe someone around here told me
<RX14>
I can't remember
<FromGitter>
<ltran> okay :) sneaky
Ven_ has joined #crystal-lang
<FromGitter>
<johnjansen> @RX14 are you at high school or uni?
<RX14>
neither technically but high school if you want to very roughly translate to the american system
<RX14>
i'm off to uni in september (hopefully)
<FromGitter>
<johnjansen> im a kiwi, so i can handle uk terms
<RX14>
i'm in 6th form college
<FromGitter>
<johnjansen> what will you study … or is that obvious
<FromGitter>
<johnjansen> i get 6th form :-)
<RX14>
computer science and electronic engineering
<RX14>
or just CS
<RX14>
depends on my exam results
<FromGitter>
<johnjansen> well, if you cant get in, no-one should
<RX14>
thanks
<FromGitter>
<johnjansen> get a reference from mana's (as many there as you can muster … especially anyone with a MS or Dr)
<FromGitter>
<johnjansen> i will give you one too if you need it
<FromGitter>
<johnjansen> which uni?
<RX14>
a bit past that stage for uni applications
<FromGitter>
<johnjansen> ok
<RX14>
either bristol or london city uni, bristol being my first choice
<FromGitter>
<johnjansen> the Nth hemisphere timetable is still messing with my head
<FromGitter>
<johnjansen> im used to christmas holidays being the end / start of the school year
<RX14>
I guess you have to deal with the north hemisphere timetable a lot more than we deal with the south
<FromGitter>
<johnjansen> im in california now, so im constantly being messed with
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<RX14>
oh dear
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zipR4ND has joined #crystal-lang
<crystal-gh>
[crystal] akzhan opened pull request #4420: More documentation for Exception class. (master...doc-Exception-class-more) https://git.io/v9AG6