Chas Emerick

Results 63 issues of Chas Emerick

Here's a minimal reproduction that lets one send arbitrarily-sized websocket payloads to the server; sizes > ~4K results in garbled (seemingly arbitrary) data: ```ocaml let rec bus_loop ws = let...

🐛 bug
🤷‍♀️ upstream

As I get closer to deploying a dream app into production, and things like deployment package size are top of mind, it occurs to me that dream includes some bits...

🎓 study

When using other web frameworks, I'm used to being able to just return null/nil from handlers in order to say "this handler cannot handle this request", and so the request...

🎓 study

``` clojure > (a/advance (a/compile [(int \f)]) nil \f ::fail) ClassCastException java.lang.Character cannot be cast to java.lang.Number automat.stream/to-stream/reify--91907 (stream.cljc:73) ``` `to-stream`'s prior attempt to cover the narrow case of char...

bug

```clojure (rhizome.viz/view-graph #{:a :b} {:a [:b]} :edge->descriptor (fn [_ _] {:label '[:a {:b "c"}]})) ; IllegalArgumentException Error: : syntax error in line 8 near '"' ``` I think I might...

`gen/*date-format*` appears to be vestigial (from `cheshire.custom`?): it's never bound. However, it probably should be, as there's currently no way for `JSONable` implementations to access the desired date format string....

Starting with 18a1b4a68da6ee830c993f64b4a26c353328ab1b, typical usage of `deftype` and `defrecord` to define class-level method impls for the `JSONable` protocol ([example](https://github.com/dakrone/cheshire/issues/32#issuecomment-10986436)) stopped working. (The workaround is one must use `extend-protocol` or `extend-type`...

The README says that these plugins will be installed automatically upon opening the first purescript file, but I found I had to install them manually. Until I did so, I...

Easier to show than explain: ![foo](https://user-images.githubusercontent.com/47489/47033998-2dbad380-d144-11e8-84fd-2c5ddb8c0205.gif) It looks like this only affects `import` statements.

https://github.com/nwolverson/atom-ide-purescript/issues/75#issuecomment-213293057 provided advice to start `atom` from an `nvm`-configured shell in order to get the correct `$PATH`. An alternative is to capture the `$PATH` from a shell after being configured...