Imbolc

Results 31 comments of Imbolc

Wouldn't it surprise rustaceans used to immutable by default variables?

Still, with introduction mutability inside templates it could lead to bugs. E.g. let's say we have this structure: ```jinja # base.html {{ let foo = 100 }} {% include "inner.html"...

Sure, it's just one more handler, it won't interfere into other handlers behaviour

By "statically know" you mean `static N: Lazy = Lazy::new(|| 42);`? If so it's almost all of my use cases require runtime initialization (like reading an parsing a file). Then...

The docs example will do: https://docs.rs/once_cell/1.8.0/once_cell/index.html#safe-initialization-of-global-data A call of `Logger::global()` before `INSTANCE.set(..)` will panic.

Do you mean passing the reference as an argument? I thought the whole point of `once_cell` is having "globals". With passing through arguments why not just initialize the logger and...

I thought of this, but I missed type changing in `set()` :) Maybe it can be done somehow, maybe by unsafe, because type essentially stay the same? ```rust use std::marker::PhantomData;...

Have you considered some sequences like: 1. `V` - enable cell selection mode (i think it's pretty intuitive vim row = jupyter cell) 1. `j .. k` - select some...

I'm really missing cell-level commands too. I agree with @stsievert it's better them to be consistent with vim row-level bindings (at least by default). We're already using this bindings working...

3. I personally would be completely satisfied with `yy`, `dd`, `y` add `d` with selected cells and `p` 4. Sorry, I meant just `ctrl-[`