lost-theory
Joined 20 years ago
Joined 20 years ago
I would look into using popups, a separate pane, or something like vim-notebook.
See how line 11 dynamically changes in this video based on whether his cursor is on the line:
https://youtu.be/C0OwhiCp2Hk?t=223
I believe this is done using "conceal" as JNRowe says, e.g. here:
https://github.com/vimwiki/vimwiki/blob/619f04f89861c58e5a64...
I also second what JNRowe says about trying the new popup feature. I recently used this to run a script that calculates something based on where my cursor is currently at in the file, then show the result at the cursor using a popup:
fun! CalculateFoodCalories()
let day = GetSectionName()
let day = substitute(day, "\[", "", "g")
let day = substitute(day, "\]", "", "g")
let out = split(trim(system("food --date=" . day)), "\n")
call popup_atcursor(out, #{ title: "Today's calories", highlight: 'Statement', border: [], padding: [1,2,1,2]})
endfun
nnoremap <silent> <leader>m :call CalculateFoodCalories()<CR>"Releasing these things don't give them control over anything that negatively impacts users" and "undermining competitors such as AWS" contradict with each other if you believe competition is good for users. The decision to release something as open source doesn't happen in a vacuum. Open source doesn't automatically make corporate activity morally good or neutral.
Re: public endpoints. Say you're poking around a public web service, and it doesn't provide an API. Maybe you're writing a browser extension. Would you rather reverse engineer a JSON HTTP API with no documentation, or a gRPC-Web API with no .proto file?
If Google is effectively a monopoly, does it matter if you could theoretically replace all of its offerings? Think about other monopolies in history, I'm sure they had "replacements" too.
Specifically in the case of gRPC-Web, even though "it's open source", does every gRPC service exposed on the web provide a .proto file for you to build your own client? If not, that's a big step down in terms of power given to end-users compared to REST.
https://github.com/reek/anti-adblock-killer/pull/2502
> after the page finished loading. It removed the real page content and replaced it with a box asking me to whitelist the site.
The reason why they're using so many domains is to circumvent blacklisting, and then the DMCA takedowns are another layer of circumvention on top of that.
You can change the playback speed on YouTube videos by clicking the gear icon.
You can also use VLC to adjust the playback speed on MP3s and downloaded videos.
Using an ESP for delivering email is a no brainer in most cases.