James Brock

Results 280 comments of James Brock

https://stackoverflow.com/questions/45067622/how-to-find-and-replace-unicode-chars-in-haskell

https://stackoverflow.com/questions/3847475/haskell-regex-substitution

I'm not sure that __bytestring-tree-builder__ is better than `ByteString` `mconcat`. Maybe we should have a documentation section about making a lazy builder version of `streamEditT`. “If you want to construct...

I have similar symptoms on Ubuntu. I'm trying to run from master branch commit __20d87db__. Tweak Tool says "Error loading extension." LookingGlass says "[email protected] has not emitted any errors." `journalctl`...

#1359 introduced the use of `withSystemTempFile`. The `withSystemTempFile` function actually opens the file and passes a filename and the open file handle to the “with” function. But since that PR,...

Another thing I just noticed is that in https://hub.docker.com/r/jupyter/base-notebook , the `/tmp` directory is not mounted to a `tmpfs` file system, so these functions are probably actually round-tripping the display...

The best solution would be to refactor all this stuff so it doesn't write to any temp files. Writing to the temp files is totally unnecessary. Might require improving dependency...

I'm looking into this, I'll try to make a PR.

I also was thinking about related problems in #1248 . I'm working on using something like `withSystemTempDirectory` to solve issue #1358 , and I would rather do that than revert.

How are the `libpcre` and `xdmcp` dependencies supposed to be provided in the Nix environment? The [`Chart-cairo.cabal`](https://github.com/timbod7/haskell-chart/blob/da79c9dad22431cb0720692c40c307de742b4fb2/chart-cairo/Chart-cairo.cabal) file does not have an [`extra-libraries` section for `cabal2nix`.](https://github.com/Gabriella439/haskell-nix/blob/main/project2/README.md). I think we are...