News for hackers. Stuff that matters.

joshbode

Similarly invaluable resource for San Francisco - The List:

  https://jon.luini.com/thelist/date.html
Gloriously web 1.0, extremely functional and easy to scan through.
Re:Conditional Git Configuration on Thursday January 11, 2024 @12:03AM (#38947884)
Another trick I find useful for managing Git over SSH for multiple accounts (especially with bitbucket.org, which supports specifying different usernames) is the "Match originalhost" directive which allows you to include a shell (bash) conditional (such as a directory-check), e.g.

    Match originalhost bitbucket.org exec "[[ ${PWD}/ == ${HOME}/repos/work/* ]]"
      IdentityFile ~/.ssh/keys/work
      User me-work

    Match originalhost bitbucket.org exec "[[ ${PWD}/ == ${HOME}/repos/personal/* ]]"
      IdentityFile ~/.ssh/keys/personal
      User me
Re:Please, expose your RSS on Monday December 11, 2023 @02:15AM (#38598356)
Shoutout for The Old Reader (https://theoldreader.com/) as a great online RSS reader ($20 per year) which sprung up in response to Google Reader shutting down and is still going strong.
Re:AI Downloader – A Python file downloader written by AI on Sunday December 04, 2022 @02:11AM (#33851363)
Very impressive!

The source for the URL regex [1] is this stack overflow comment:

https://stackoverflow.com/a/16425824/182469

There also appear to be elements from this question, such as the report method ([2]), but it's definitely been adapted (or there's a different source):

https://stackoverflow.com/q/44252745/182469

[1]: https://github.com/falleng0d/ai-downloader/blob/18dde6c9f9f5...

[2]: https://github.com/falleng0d/ai-downloader/blob/18dde6c9f9f5...

Re:Zellij: A terminal workspace with batteries included on Saturday August 13, 2022 @02:50AM (#32447510)
vmux [1] might be of interest to you.

It uses the (n)vim remote API with tmux to maintain a global (n)vim session and redirects files opened via `vmux` back to the global session and switches to the window in tmux that session is visible in.

Hints:

- use `pipx` [2] to install `vmux` to make it available globally so you don't need to mess around with virtual environments.

- just `alias nvim=vmux`, and use `command nvim` if you need the real thing.

- I set the following in my profile file:

  export VMUX_EDITOR="nvim"
  export VMUX_GLOBAL="true"

  alias nvim=vmux

[1] https://github.com/jceb/vmux/

[2] https://github.com/pypa/pipx/

This reminds me of the sadly defunct Automaten (http://www.automatenbar.de/) in Berlin from the early 2000s.

This was a members-only club (I think it was like 10 euro per year) that was a hacker and party space, accessible only if you had a mag-strip card, and completely hidden in plain sight.

Inside was a number of pre-euro vending machines (automats) that required you to use Automarken (not coincidentally the same size and weight as the Deutschmark coin). Inside the automats, apart from snacks and drinks, were an eclectic mix of handmade items that you could buy - a bit like a physical Etsy.

I use vmux (https://github.com/jceb/vmux/) to redirect all files opened for editing (via nvim some_file.ext) from any tmux window to a single Neovim session.
Re:Ask HN: What's Up with Google? on Friday January 21, 2022 @11:29PM (#30033569)
I've started going straight to Wikipedia and searching there if I know I'm going to end up there anyway for the same reason, plus I deny Google the search data and ad-serve
Re:What's Coming in Python 3.8 on Thursday July 18, 2019 @12:05AM (#20466592)
Not exactly pop, but there are some great weekly music podcasts that I listen to to hear new music, which tend to be a little more indie pop/rock/${genre} than pop :)

- Music That Matters: https://omny.fm/shows/kexp-presents-music-that-matters/playl...

- KEXP Song of the Day: https://omny.fm/shows/kexp-song-of-the-day

- All Songs Considered: https://www.npr.org/rss/podcast.php?id=510019

- KCRW Today's Top Tune: https://www.kcrw.com/music/shows/todays-top-tune/rss.xml

Re:Ask HN: Best alternative to Gmail? on Monday September 24, 2018 @02:06AM (#18055382)
Can definitely recommend FastMail - I migrated from Gmail around 4 years ago and haven't looked back

It has a clean, powerful UI with good shortcuts. DNS management and basic site hosting (with automatic Let's Encrypt support), great calendar and contacts support.

Had some problems with some senders getting rate limited a while back, but worked with support to get it fixed up.