creese's comments

creese | 4 years ago | on: Firefox 93

You can also type `about:profiles` in the address bar. This opens a page where you can create profiles and/or launch them in a new window.

creese | 4 years ago | on: 1Password for Linux

I use a bash function:

  pass ()
  {
      if [ $# -eq 0 ] || ( [ $# -eq 1 ] && [ $1 = "-c" ] ); then
          find ~/.password-store -name '\*.gpg' -printf '%P\n' | sed -e 's:.gpg$::gi' | fzf | xargs /usr/local/bin/pass $@;
      else
          /usr/local/bin/pass $@;
      fi
  }
pass + fzf + bash > gopass. DOTADIW.

creese | 5 years ago | on: Rust for Clojurists (2015)

Remember you can only have one mutable reference whereas you can have any number of immutable references. The ownership rules incentivize immutability.

creese | 5 years ago | on: Rust for Clojurists (2015)

I've found I can get the same tight feedback loop at least for the times where the code will not compile. I use Cargo mode and an after-save hook so that each save runs `cargo check` and, on success, also runs `cargo fmt`. A nice side effect is that I don't need to care about formatting any more.

  (defun cargo-process-check-sentinel (process event)
    (when (string= "finished\n" event)
      (rust-format-buffer)))

  (defun my-after-save-hook ()
    (when (eq major-mode 'rust-mode)
      (set-process-sentinel (cargo-process-check) 'cargo-process-check-sentinel)))

  (add-hook 'after-save-hook #'my-after-save-hook)

creese | 5 years ago | on: Rust for Clojurists (2015)

In Emacs, there is tight integration between the editor and the REPL. You can write code in an Emacs buffer, and you can enter that namespace from the REPL and the code from the buffer is immediately available. You can also add new code directly from the REPL, but I usually just add what I want to an Emacs buffer and eval it. It's a very productive workflow.

Skip to 15:53 and 20:30 for examples: https://videos.confluent.io/watch/yHoHM4Gxo7Bu1MCdo8vVh6?

page 1