muji

Results 109 comments of muji

Ok, so I updated the signature so that there is no need to store the file size and pass it back to the progress handler in `[email protected]`. The first argument...

Ok, so this is all fixed up for `[email protected]` and I have updated the crate to use it. Luckily for me `warp` [just upgraded](https://github.com/seanmonstar/warp/commit/ffefea08050ffe8022d3391f4bd5e5ab4e95d7c9) to `[email protected]` yesterday (I think they...

My bad it does implement `Serialize`!

Well actually this is not quite what I expect. If I supply a region as a string I get this error with `region = "ap-southeast-1"`: ``` invalid type: string "ap-southeast-1",...

Please can we land this I want to use the latest version of `p256` in dependents and this is blocking me updating as compilation fails with conflicts on `ecdsa-core`. Any...

The term _magic strings_ is used sometimes to refer to string literals in code that would be better represented via a variable or constant as they are fragile due to...

For a sketch of what I am thinking should be exposed by `Node` I am implementing a subclass here: https://github.com/mkdoc/mkast/blob/master/lib/node.js

The `createDocument` function was lifted from `lib/blocks.js` and could be moved to `Node` so that AST consumers can also access it (`blocks.js` does not export it).

With the `is()` method the API for testing node type then becomes: ``` javascript if(node.is(Node.CODE_BLOCK)) {} ``` Which would completely abstract away the underlying type identifier from AST consumers, you...

Ha! Sum types were new to me, but I like the look of them :) Instead we can use bitwise OR using integer identifiers. And then the API for testing...