@robert@toot.kra.hn avatar

robert

@robert@toot.kra.hn

Software Engineer and founder of various things. Building podwriter.io. Tech stack of choice: Rust, Python, TypeScript/Svelte, Nix, k3s.

Previously:

  • Staff Engineer at Datadog
  • Co-Founder of CoScreen
  • Worked on the Google Assistant
  • Developed live programming tools (Lively Kernel / cloxp / lively.next)

This profile is from a federated server and may be incomplete. Browse more on the original instance.

robert, to rust
@robert@toot.kra.hn avatar

> Unfortunately, most people seem to have taken the wrong lesson from Rust. They see all of this business with lifetimes and ownership as a dirty mess that Rust has had to adopt because it wanted to avoid garbage collection. But this is completely backwards! Rust adopted rules around shared mutable state and this enabled it to avoid garbage collection. These rules are a good idea regardless.

Yes, so much this! I'm using not because I'm building low-level resource constrained systems (far from it) but because it allows for local reasoning about state. Paired with the ML inspired syntax that makes pattern matching easy this leads to far more reliable programs.

This is also why I like so much. Clojure's refs / atoms /agents allow for scoping mutability in an otherwise purely functional system. Scratch for the same itch. But Rust's compile time checking avoids pushing issues into the runtime, increasing reliability and hugely reduces time needed for debugging. The trade off here is no interactive / live development.

https://without.boats/blog/references-are-like-jumps/

robert, to emacs
@robert@toot.kra.hn avatar

org-ai got an update today. It now supports the and the .ai APIs.

https://github.com/rksm/org-ai

robert, to random
@robert@toot.kra.hn avatar

I have been looking for a good internal wiki / knowledge base for a looong time. I think I found it with https://www.bookstackapp.com/ (hating on you, confluence). The feature set almost sounds to good to be true:

  • standard wiki features (create pages, link them, page history)
  • open source
  • flexible API
  • easy to setup
  • comments
  • thoughtful in-page links
  • WYSIWG editor and markdown editor. Switching between them is possible unless you use more advanced content
  • Insert drawings and diagrams with draw.io
  • UI is clean and intuitive

I mostly ignore the vocabulary around books, it is a wiki, plain and simple!

robert,
@robert@toot.kra.hn avatar

And I created a little utility that allows to sync pages to local mardown files, either from command line or from within (sync on save, yay).

https://github.com/rksm/bookstack-editor

robert, to ai
@robert@toot.kra.hn avatar

Nice quote from network pioneer and UDP inventor (and skeptic) David P. Reed regarding Jensen Huang's recent statement regarding learning to program:

"AI is not even his company's product - nVIDIA just is the Levi Strauss of a gold rush in California. it's as if Levi Strauss's wealthy CEO were saying back then that learning geology is useless, just buy pants that have rivets and go sit in mountain streams with colanders."

robert, to emacs
@robert@toot.kra.hn avatar

Btw the development setup with

is really enjoyable!

robert,
@robert@toot.kra.hn avatar

@harish Well, patches seem to come in every now and then it seems. But it has been working for me very well over a number of years.

On mac I sometimes had to set python-shell-interpreter I believe. Otherwise I have in my config:

Fix for M-x elpy-doc: https://gist.github.com/rksm/7cdd5ddcfaf23d52ba3e7aa35e6adc4b

;; https://github.com/brittAnderson/psych363Practice/issues/124
(setq python-shell-completion-native-disabled-interpreters '("python3"))

;; enable flycheck
(setq elpy-modules (delq 'elpy-module-flymake elpy-modules))

;; pyvenv should leave elpy alone
;; - https://github.com/jorgenschaefer/elpy/issues/1792
;; - https://github.com/jorgenschaefer/pyvenv/issues/105
(defadvice pyvenv-virtualenvwrapper-supported (around not-for-elpy-rpc-venv activate)
"Ensure no virtualenvwrapper support for the RPC virtualenv"
(if (string= pyvenv-virtual-env-name "rpc-venv")
nil
ad-do-it))

robert, to rust
@robert@toot.kra.hn avatar

Looks like there is a new community resource in creation: https://rustmagazine.github.io/announcing/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • khanakhh
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • slotface
  • megavids
  • ethstaker
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • lostlight
  • All magazines