Bogdan Gusiev

Results 84 comments of Bogdan Gusiev

I see a constant typecast as very odd thing to do. Never saw such thing in any programming language.

The following solved my problem: ``` ruby # frozen_string_literal: true require 'rubocop/formatter/json_formatter' require 'rubocop/formatter/clang_style_formatter' require 'rubocop/formatter/progress_formatter' module SkipCorrectableRubocopFormatter def file_finished(file, offenses) offenses = offenses.reject(&:correctable?) super end end [ RuboCop::Formatter::JSONFormatter, RuboCop::Formatter::ClangStyleFormatter,...

I believe like so: https://play.tailwindcss.com/00Fv24VDxV ![image](https://github.com/user-attachments/assets/077a882d-7e4f-4ccd-a9d6-d47de87c3ed7)

I wonder how if this code is somehow related to the improvement: https://github.com/rails/rails/blob/main/activestorage/app/javascript/activestorage/file_checksum.js#L5 I didn't use it myself, but I thought it also needs to be updated, no?

@mrpasquini any plans on which version of Rails will have it?

I tried to imagine how I would incorporate this functionality to implement IPFS Service and even after checksum being configured, I would still face difficulties. While in ActiveStorage `key` and...

> What is the relationship between key, checksum, and hash (is that IPFS CID?)? Yes, IPFS CID is a hash and file is only retrievable by hash. > What would...

I am open for a patch that changes priorities. It feels reasonable.

I am not sure TS definitions can be used in case when module type isn't ESM. Are you really using definitions in legacy setup? Do they work as intended helping...

Yeah, I think this is more logical to do.... `JsRoutes.definition` should always use DTS module.