Elektrine lite

← Feed

Hal

hwine@vmst.io

<p>BLM (and I&#39;m Hal - priorities, folks)</p>

Posts

  • View post

    @yazad3@techhub.social lazynvim is highly opinionated, which is great if you&#39;re new to vi. As an ancient vi user, I&#39;m still finding places where I need to &quot;restore&quot; some things to match my muscle memory. YMMV There&#39;s also kickstart[1], which isn&#39;t as opinionated, but also has less ootb. Have fun! [1]: https://github.com/nvim-lua/kickstart.nvim

  • View post

    I just learned about the (monthly) Digital Independence Day [1] - which offers ways to make (sometimes small) changes. I like the approach! [1]: https://di.day/

  • View post

    Reminder: CPR works on EVERY body. https://yourlocalepidemiologist.substack.com/p/if-your-heart-stopped-right-now-would

  • View post

    RE: https://mastodon.social/@webology/116324771274465607 view with: uvx ipython

  • View post

    @tlohde if your &amp;quot;little command line&amp;quot; is reasonable to do in 1 file, then you don&amp;#39;t need a &amp;quot;module&amp;quot; (the empty __init__.py file). You can just use &amp;quot;uv init --script file.py&amp;quot; to get the boilerplate. As for typer vs click -- that&amp;#39;s a preference, mostly depending on how comfortable you are with python types. Those are both not part of the standard library, so you&amp;#39;ll want to specifically add them: &amp;quot;uv add --scrip...

  • View post

    @brianokken@fosstodon.org Thanks for the inspiration! I&#39;d never heard of them before, but looked up a recipe and gave it a shot. Definitely an add to the cast iron repertoire rotation!

  • View post

    @floyd@chaos.social I got curious -- `exit` is _not_ a statement in python, but there&#39;s a default hack[1] that makes it work that way in the REPL: ❯ python3 -c &quot;exit&quot; ❯ python3 -Sc &quot;exit&quot; Traceback (most recent call last): File &quot;&quot;, line 1, in exit NameError: name &#39;exit&#39; is not defined [1]:https://devdocs.io/python~3.10/library/constants#exit

  • View post

    @elaterite@mastoart.social Neat! If you had one, you could get into birling, as it would help with your log rhythm. (I&#39;ll see myself out...)