705 karma · joined July 30, 2010
[ my public key: https://keybase.io/mjhoy; my proof: https://keybase.io/mjhoy/sigs/Lgv777O017C9VdFcAMn_DooZSPw1v0MuFNN95Ws-J_w ]
pure a >>= f ≡ f aI'll just add that on my tours, I tended to avoid rail trails. They are nice at first, but quickly become boring. Too straight, too flat and monotonous. Roads are far more exciting. That said -- I'd probably prefer a rail trail in those parts of Wyoming that you have to bike on the interstate!
2 — Could you explain? Mine is on and working, I didn't need to do anything else.
3 — Is this if you have login items that need nix to be available? I don't have this so I haven't noticed.
4 — I've never run into this, but again I might just not use Nix for the kind of things that would cause issues.
This comment has worked for me on two machines: https://github.com/NixOS/nix/issues/2925#issuecomment-539570...
I now use it for python, scala, emacs and basically wherever else I can get away with not using Homebrew. I share the config [1] between my work and personal machine. This works really well: it's just a git pull, and a `nix-env -iA nixpkgs.devEnv` and my environment is updated (and I can easily roll back to the previous state if something goes wrong). It does take a lot of up-front investment, learning a new language and paradigm, but once things are working they tend to stay working.
[1]: https://github.com/mjhoy/dotfiles/blob/master/nix/nixpkgs/co...
I don't follow. How does a higher resolution capture -- however it's accomplished -- not demand more from the glass?
Hmm. What do you mean exactly? I have all sorts of stuff in my org mode files, and what keeps track of them for me is the agenda view (i.e. it finds TODOs, deadlines, events, etc).
Given what Rust has achieved in terms of memory management, that seems like a strange claim to make?
There are also some rather concrete examples here:
The big benefit for me is that it can link to lots of different types of things within my emacs environment. For instance, I manage my email from within emacs (using mu4e), and I can set up org-mode to quickly make TODOs that link back to whatever email I have open. I can also link to files (local and remote), web URLs (of course), and to git commits which will open in Magit (an excellent git interface). So using it as my todo tracking is really quite handy. It would be less so if I weren't mostly living in emacs already.
This is interesting. In my using git I haven't ever needed to look at descendants. Perhaps that's just because the limitation is deeply established in my mind (git is really the only VCS I've used). How might this information be helpful in normal usage?
You can get this, more or less, with the combination of using `git rebase` and `git merge --no-ff`.
fold (+) 0 [1,2,3]
works. Introducing "Semiring" as a concept at the same time can be a bit much for a beginner!I do think it's a useful concept, and that Purescript is an excellent, intermediate-level FP language.