« first day (2616 days earlier)      last day (891 days later) » 

1:52 PM
I recently saw this SEDE query on Meta. Rust questions have a pretty high score on average.
 
2:34 PM
I'm surprised to see that many big tags have a negative mean score
 
I'm not surprise for C
 
 
1 hour later…
3:39 PM
I have run into a limitation of derive macro that are very annoying:
error[E0277]: `<Stream as binator_core::Split>::Item` doesn't implement `Debug`
  --> C:\Users\Star\git\binator\base\src\is.rs:16:5
   |
11 | #[derive(Debug, Clone, PartialEq, Eq)]
   |          ----- in this derive macro expansion
...
16 |     found: <Stream as Split>::Item,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<Stream as binator_core::Split>::Item` cannot be formatted using `{:?}` because it doesn't imp
lement `Debug`
   |
   = help: the trait `Debug` is not implemented for `<Stream as binator_core::Split>::Item`
 
3:49 PM
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum IsContext<Stream, Item = <Stream as Split>::Item, Error = <Stream as Split>::Error>
{
  NotEq {
    found: Item,
    expected: Item,
    stream: Stream,
  },
  EnfOfStream(Stream),
  Error(Error, Stream),
}
fixed
don't know if it a good idea :p
 
 
2 hours later…
5:50 PM
@DenysSéguret are you using neovim 0.6 already? I'm rewriting parts of my configuration as I'm using nix now, but I'm most excited about it being able to process .json faster when working with language servers.
> The following benchmark shows an approximately 2.5x (750 ms vs 300 ms) improvement in deserialization performance over vim.fn.json_decode on a medium package.json.
 
6:50 PM
@Jason No, I'm with an old version. I'm not sure processing .json faster would change anything for me
I should probably search what's new since my old 0.4.4
 
I'll report back! :-) It supposedly should help with TypeScript.
They added some nice defaults that I can now remove from my config.
 
Looking at how they manage the state in yew. From the examples, they seem to think it's normal to clone the whole application state every time there's any mutation somewhere. I'm afraid some people will find that wasm applications are slower than JS ones ^^
 
7:35 PM
damm, better error or usable function
it's hard to make good api
 

« first day (2616 days earlier)      last day (891 days later) »