Riceball LEE

Results 106 comments of Riceball LEE

What's about using the padrino-warden and porting the devise for rails to padrino?

Butt howto include the "/" character in a parameter? like this: ``` ruby get :tree, "/:branch/:folder(.*$)" get :tree, :with => [:branch, :folder => /.*$/] ``` http://my.com/tree/master/lib/good/folder ``` ruby params[:branch] =...

btw, the Regular Expression named parameters can use too: ``` ruby get %r{/post/(?\d\d)-(?\d\d)-(?\d\d\d\d)}, :name => 'post', :generate_with =>'/post/' do "Post requested from #{params[:month]}/#{params[:day]} in #{params[:year]}" end ``` And raise the...

ok, Got it in http_router: ``` ruby get :index, '/tree/:branch/:dir', :dir => /.*/ do ```

Maybe you should try this https://github.com/rnpgp/ruby-rnp to avoid gpg version dependency issues.

Use the default context size (`n_ctx_train`), and check the total memory. If the memory is too small, then decrease the default context size or warn. allow the user to change...

In fact go-bert.cpp is just a wrapper of incomplete bert.cpp. Recommended: [tokenizers-cpp](https://github.com/mlc-ai/tokenizers-cpp) is a better HF's tokenizers wrapper.

`command_not_found` can not do this operation unless it accepts a new command return and do not throw exception: ```ts if (!c) { await this.runHook('command_not_found', {id}) throw new CLIError(`command ${id} not...

Ref: https://github.com/silverchris/esphome/tree/auto-sleep/esphome/components/pm ```yml esphome: name: $devicename platform: ESP32 # Enable logging logger: # Enable Home Assistant API api: pm: min_freq_mhz: 40 max_freq_mhz: 80 tickless: True ```