shouya

Results 59 comments of shouya

@mattiaslundberg Thank you for the fix - it's working great for me. I personally also adapted the code a bit to make it use `project-root` by default. ```emacs-lisp (defun shou/fix-apheleia-project-dir...

I can confirm it's now working as expected with the current master branch. Thank you!

Or maybe we can extend this idea further by creating an alist for each formatter to either use file directory or project directory. Well maybe it would be good if...

+1 for the currying. Also take a look at this pretty awesome gem https://cirw.in/blog/ampex, which enables you to do more complex shorthand operations like `&X ** 2 / 2` instead...

@christopherdumas That's kinda like what you can do in Scala's anonymous functions... I don't know what is this syntax's name.

> What is the exit status of the formatter when it is interrupted in this manner? When `mix format` is interrupted once, it doesn't quit but rather printing the control...

It shouldn't be a problem of my code, my code looks like just the standard message processing in the listen block: ```ruby token = 'SECRET_BOT_TOKEN' Telegram::Bot::Client.run(token) do |bot| bot.api.get_updates(offset: -1)...

Thanks for the reply. I was using it under Linux, and I'm pretty sure it's not the certficate's problem. Usually my script works all fine; but if I left it...

I don't really think it's about SSL certificate. I think it could be some packet losses happen when making requests so it failed the SSL handshake.

So my temporary dirty fix towards this is writing code like this: ```ruby begin bot.listen do |msg| # do stuff with msg end rescue retry end ``` While it's very...