HNHacker News
TopNewBestAskShowJobs

gpanders

995 karma · joined November 15, 2019

https://gpanders.com

Email: contact <AT> gpanders.com

submissionscomments
gpanders··on Google knows where we are, and so do advertisers
IIRC the only data sent to Apple is the crowdsourced traffic data, which can be disabled. Everything else stays on device or is E2E encrypted.
gpanders··on Linux Command One-Liners
I wrote a shell script [1] that allows me to write my own mini-man pages to capture things exactly like this. Whenever I have to do something non-trivial on the command line that I will 1) likely need to do again at some point and 2) don’t do often enough to commit it to memory, I simply create a new little note. They are viewable in the terminal just like normal man pages so the notes are trivial to read once written. It’s worked extremely well for me!

[1]: https://git.sr.ht/~gpanders/ual

gpanders··on Apple unveils M1, its first system-on-a-chip for portable Mac computers
I wondered this too. In my experience, "fabric" typically refers to the programmable logic region in a FPGA-based SoC (such as the Xilinx Zynq). I'm assuming the M1 does not have this, so I'm not sure what it means in this context.
gpanders··on Dog – A command-line DNS client written in Rust
I agree with this, though I still use iTerm over Alacritty simply because iTerm’s font rendering is better (in my opinion).
gpanders··on Dog – A command-line DNS client written in Rust
Care to elaborate on your preference?
gpanders··on No More Free Work from Marak: Pay Me or Fork This
I think this is a great approach
gpanders··on Mutt 2.0 Release Notes
That’s a real shame that lumail didn’t take off (I had never heard of it until now). I agree, embedding something like Lua or even Guile into Mutt seems like it would be very useful
gpanders··on Mutt 2.0 Release Notes
The conditional option setting with MuttLisp will be very useful
gpanders··on Apple blocks game streaming services unless individual games are approved
Their App Store team is completely shooting the rest of Apple in the foot, and I’m amazed that no one there seems to realize this. They are burning good will faster than they can create it.
gpanders··on Biden wins White House, vowing new direction for divided U.S.
The general antipathy toward Trump though is not based on policy grounds, but rather his whole way of being. His casual disregard for truth and flagrant mendacity, his blinding narcissism, his disdain for international cooperation, etc.

Even if, as a progressive, you find Biden milquetoast and uninspiring, he at least isn’t an embarrassment to the office and to the country.

gpanders··on San Francisco voters approve taxes on highly paid CEOs, big businesses
When I lived in Austin I took the bus almost every day without issue. Austin has the best public transit in all of Texas (though that’s admittedly a low bar).
gpanders··on Switching from Vim to Intellij
Agreed, as Vim/Neovim has risen in popularity recently it seems there is a trend of people thinking it’s only usable if you install these 57 plugins, and a large number of these users seem to have blind spots on Vim’s native capability.

The autocomplete feature is a great example of this. I do not use an autocomplete plugin at all, but rather use Vim’s native ins-completion. Combined with a language server and a lightweight LSP client (I use vim-lsc) this works beautifully.

I am excited for some of the upcoming changes in neovim however. I think the introduction of treesitter for syntax highlighting and a native LSP client will both be huge

gpanders··on No More Google
Is Microsoft any better than Google?
gpanders··on Tunnels in the US cost more than anywhere else
As an outsider from Europe, you seem to understand the situation here better than most Americans.
gpanders··on Mailing lists are resistant to censorship
mutt can probably do something like this with its send-hook [1] feature. Another alternative is to send emails as multipart/alternative with a plaintext part and an HTML part. That way, recipients who use an HTML email client will see the HTML and plaintext readers will see plaintext.

This is what I do at work. My work uses Outlook which does not support format=flowed [2], meaning my plaintext emails would look weird to colleagues who use the standard Outlook settings. Outlook will also default to responding in plaintext to a plaintext email. To avoid forcing my preferences on my colleagues, I now use an automatic filter [3] to convert my plaintext emails into HTML using a Markdown parser. My email client then sends both parts: the HTML and plaintext part as a multipart/alternative email.

[1]: http://www.mutt.org/doc/manual/#send-hook

[2]: https://joeclark.org/ffaq.html

[3]: http://www.mutt.org/doc/manual/#send-multipart-alternative-f...

gpanders··on Mailing lists are resistant to censorship
This actually happened to me when I was an intern (many years ago). My official job offer went to spam and I didn't see it until weeks later. Fortunately I happened to check the spam folder and saw it. I now make it a habit to regularly check the spam folder in Gmail and I often find non-junk mail in there.
gpanders··on Open-source photo gallery with cloud backup and end-to-end encryption
Nextcloud now has Live Photo support
gpanders··on 1Password for Linux beta
Where do you see this delay? I have not had this experience, Bitwarden has always been perfectly snappy for me.
gpanders··on Does C++ still deserve a bad rap?
https://drewdevault.com/2020/09/25/A-story-of-two-libcs.html
gpanders··on Vertically aligned carbon nanotubes triple the density of lithium batteries
Wrong. From the article:

> Also, because there's gaps in that ultra-lightweight nanotube scaffolding and less extraneous binder and additive materials, a battery containing a given amount of active material can become much, much lighter and more compact. Energy density, both by weight and by volume, stands to jump by factors of 2-3.

gpanders··on Apple: Apps should not require users to opt into tracking to access content
> But I think this is something which needs to be handled by governments (laws/regulations) not by apple forcing their opinion about what is right onto everyone else by abusing their marked positions.

Why should governments force their opinion about what is right onto everyone else? Why not allow freedom in the market so that users can choose what matters most to them? Right now, Apple is serving the market of those opposed to tracking and in favor of greater privacy. If it turns out this is what consumers want and are willing to pay for, competitors will feel pressure to follow suit. No heavy handed government regulation needed.

gpanders··on American Academy of Sleep Medicine calls for elimination of daylight saving time
Nurses, doctors, firefighters, parents, and a number of other professions around the world are well versed in adjusting their sleep schedules as needed. I don’t think your circadian rhythm is as fixed as you think it is
gpanders··on Moreutils – Unix tools that nobody thought to write (2012)
That works when specifying a backup extension, but not if you don’t want to create a backup file.

    sed -i ‘’ ...
works on BSD sed but not GNU. Meanwhile:

    sed -i’’ ...
    sed -i ...
both work on GNU but not BSD.
gpanders··on Moreutils – Unix tools that nobody thought to write (2012)
Because the -i flag works differently on GNU sed vs non-GNU sed and there is no way to use it portably.
gpanders··on Moreutils – Unix tools that nobody thought to write (2012)
Amazingly, there is no portable way to use -i that works on both GNU and BSD sed implementations. Which means if you’re writing a portable script, you can’t use -i at all.

(Would love to be proved wrong on this)

gpanders··on Moreutils – Unix tools that nobody thought to write (2012)
You’re right that defaulting to the GNU coreutils is probably more convenient. However, NOT doing this is a good way to ensure that any scripts you write remain portable and don’t use GNU extensions. That’s the reason I stick with the default BSD coreutils on macOS.
gpanders··on Moreutils – Unix tools that nobody thought to write (2012)
Re: bat. I agree with you, I don’t get the hype over this program either. It’s pretty easy to configure 'less’ to use syntax highlighting and ‘less’ is installed basically everywhere.

The main advantage of rg is how much faster it is than grep. It’s WAY faster.

I don’t use direnv but I have colleagues who do. I think the idea is that it can set environment variables/run arbitrary commands when you cd into a certain directory (such as activating a Python virtual env, for instance).

gpanders··on Moreutils – Unix tools that nobody thought to write (2012)
Honestly one of the most well maintained projects I’ve ever used. The author has a coherent “philosophy” and vision of how the program should work and does a good job of preventing feature/scope creep. Don’t see that too often
gpanders··on Moreutils – Unix tools that nobody thought to write (2012)
Note that in general this is not a one-to-one replacement. `%!cmd` sends the current buffer contents to `cmd`’s stdin and replaces the buffer with `cmd`’s output. In the case of ‘ls’ this works since it doesn’t take anything on stdin
gpanders··on Rideshare operations are being suspended in California
> I live in Austin and sometimes I think if I really need a major procedure it would be just simpler to drive to Mexico and get it done there.

This even has a name: Medical Tourism.

← PreviousPage 7 of 11Next →