AdGuard installs through the App Store and integrates seamlessly with Safari. It's not as perfect as some of the desktop class adblockers, but it's free and can be up and running in a couple minutes.
If you're on Android, Firefox supports many full desktop extensions, including uBlock Origin.
You actually don't even need two interfaces on the box if you have a managed switch. It's not too difficult to configure your only interface as an 802.11q trunk port, and then you can use the managed switch as a sort of "interface expander". This is referred to as a "router on a stick" configuration, and it's how my home network is configured. Plus, if it's a PoE managed switch, you can install some cheap enterprise surplus Aruba IAPs around the house for Wi-Fi which is a lot higher quality than a consumer router or a mesh setup.
My home router was an old Thinkpad for a while, but then I switched over to a slightly newer Dell Optiplex that my work was throwing out. The plus side of that is that the i7 is total overkill for routing so I can also have my "router" run some VMs for network services and cut down on the number of boxen in my homelab rack.
I have actually been curious about this: How good can a WiFi mesh get latency-wise, given the right equipment, and how close would a consumer router setup be to that, do you happen to know?
With modern Wi-Fi the issue isn’t really latency, it’s jitter. Most of my only moderately tech savvy friends have mesh setups that they don’t find fault with, but were also significantly more expensive than my cobbled together setup. From what I understand, my Aruba IAPs can also be configured in mesh mode so only one of them actually needs a router connection, but it was easier to just run a second CAT6 cable through my attic.
My APs are “only” 802.11ac, but on the other hand they were only $8/ea. And all of the speed critical devices on my network are wired anyway. It’s good enough to stream 1080p/120hz from my gaming rig to my iPad with imperceptible jitter and sub 10ms latency so I’m happy. If they ever get flaky down the road I’ll just upgrade to the “latest” 10 year old sub $20 used enterprise gear I can get my hands on. And that’s not the oldest part of my setup, the router itself was made circa 2013 and my managed gigabit PoE switch is of indeterminate age but probably at least 20 years old if I had to guess. Networking tech changes a lot more slowly than some other areas.
A reminder that there are still valid escape options for us systemd haters. Probably the best if you're not a heavy desktop environment user is Alpine. I ran Devuan for a couple years with only minor issues. And there's always Gentoo. I find it very comforting that I can control the init system just by editing shell scripts.
I think this falls in line with the sentiment from "The Hitchhiker's Guide to the Galaxy":
"And so the problem remained; lots of the people were mean, and most of them were miserable, even the ones with digital watches. Many were increasingly of the opinion that they'd all made a big mistake in coming down from the trees
in the first place. And some said that even the trees had been a bad move, and that no one should ever have left the oceans."
The way fossil fuels have been exploited has been categorically evil, and from that perspective I think the "industry" is going to be seen as a net negative. The negative externalities are in line with the waste generated by the development of nuclear weapons (think Hanford) on an even grander scale. But it would have been impossible for us to reach a point where it was possible to produce solar cells, hydro, and wind energy without the incredible energy density of petroleum fuels. The fuel for the industrial revolution that gave us our modern livelihoods. Petroleum-derived fertilizers are what enable the global population that we have today, so in a very real sense you and I would not exist without the development of fossil fuels on a grand scale. Whether or not that is a benefit or a deficit to mankind will probably be left to the historians.
Lest anyone think I condone the irreparable damage done to the planet by the industrialization enabled by reckless exploitation of petroleum, I think the whole thing is shameful, and I feel a bit of shame every time I have to drive my gasoline-powered car to the store. But I think there was a responsible way to harvest and benefit from that natural resource and like most natural resources, human greed found a way to make the worst of it.
For starters, Sublime Text is closed-source. A better parallel would be something like Neovim, which also is extensible with Lua. What draws me to Textadept over Neovim is that it's intentionally kept very small, which means it's very easy to understand and extend. Contrast with Vim and its massive manual. However, like Emacs, almost everything is fair game for customization. For example, I wanted minimap functionality, so I implemented it:
Textadept's biggest strength is also its biggest weakness: Scintilla allows for a lot of features that are nigh-impossible in the likes of Vim and Emacs due to their reliance on terminal behavior. However, Scintilla is not terribly well optimized and does not support GPU rendering, meaning that while there is very little bloat, Textadept can still chug in some edge cases. The most notable instance right now is large files with no line breaks (e.g. minified js libraries). Other Scintilla-based editors also suffer from this to varying degrees, although Notepad++ has some performance optimizations that seem to mostly mitigate it. Notepad++ is also Windows only and not as easily extensible.
Lexing is handled by one of Mitchell's other projects, Scintillua. You'll find the source for all the built-in lexers in there. https://github.com/orbitalquark/scintillua
The documentation for Scintillua also gets pulled into Textadept's API documentation as a dependency, so the syntax is also explained there. It's basically a bridge between Scintilla's native lexing and LPeg.
Legitimately curious, how would you implement a “secure” scratch file functionality? Or is it just that the whole notion of scratch files is insecure?
The great thing about Textadept’s extensibility (and use of Lua specifically) is that it’s easy to pull in other Lua modules to add functionality. I don’t think it would be much work to modify the scratch file extension to prompt you for an encryption key on startup and then run the scratch files through libsodium (via luasodium) if you want to have your cake (scratch files) and eat it (some cursory level of security).
I use Joplin, which is a cross-platform FOSS notes app featuring E2EE. It's not a perfect solution and not much of a text editor, but it's the right direction.
Everything else is explicitly saved (without secrets) or just an ephemeral buffer in Neovim.
It uses Scintilla. In fact, at its core, it’s basically just a wrapper around the Scintilla message passing API. There’s a Lua script that parses the Scintilla header files to create the Lua tables that interface with the Scintilla library.
reply