HN user

imran3740

469 karma

[ my public key: https://keybase.io/i077; my proof: https://keybase.io/i077/sigs/lYSIMCSbGowDcOsIJWEcfIKgk5ezvh3RPQkvs3TXsME ]

Posts15
Comments33
View on HN

I'd also recommend Neovim[0], a community-led fork of Vim. One of the focuses of Neovim is exposing an API that lets other apps embed a headless instance in their UIs. This lets you use your Neovim editor along with all its configuration and plugins inside other apps! I've never been satisfied with any of the available vim emulator plugins out there for VSCode, IntelliJ, etc. (there's always something missing!), so this feature has been really valuable to me if I need a better debugging experience but want to use nvim as much as possible.

Someone's already made plugins that embed a Neovim instance right inside VSCode[1] and Sublime Text[2]. There's no emulation here, just straight up neovim running behind those buffers. I've tried VSCode with that plugin (though personally I like to stick to just neovim when I can), and I can say that despite some minor bugs it's been a pretty smooth experience. Even stuff like `gt` to change editor tabs is supported.

[0] https://neovim.io/

[1] https://github.com/asvetliakov/vscode-neovim

[2] https://github.com/lunixbochs/actualvim

I feel like the keyboard issue is the prime example of why companies shouldn't have monopolies on who runs their OS. Sure on the one hand, they control everything and when things work, they Just Work (TM). On the other hand, they control everything and will inevitably screw something up. Your option? Deal with it, or change laptops. Oh, and change OSes too, since that was your only option for macOS.

I actually do this with the subkeys I put on my Yubikey, and thanks to the NFC capability, I can use it on Android.

I've been wanting to switch to a Yubikey with USB-C, since both my laptop and phone have that port and I don't have to rely on NFC, but this has been working fine so I can't really justify the cost.

I use pass[0], which is essentially just a wrapper on top of Git and GPG. All your secrets are stored in text files that are then encrypted by your GPG key, which is then tracked in a Git repo that you can store anywhere. I use the PassFF extension[1] for Firefox, and Password Store for Android[2]. There are plenty of pass-compatible clients for all platforms and extensions for pass on the first site.

If I need to get my password for eg. GitHub outside of Firefox, I just type `$ pass -c dev/github`, decrypt, and it's in my clipboard for 45 seconds.

[0] https://www.passwordstore.org/

[1] https://addons.mozilla.org/en-US/firefox/addon/passff/

[2] https://github.com/zeapo/Android-Password-Store

Press a button and the screen would push back and/or buzz

What do you mean by "press"?

"Pressing" a button (ie. pressing down on it) requires a bit more force than just touching it, so this seems like bad UX to me.

Even if you only were to have the device buzz as you touch any interactive control, I feel like that would start to feel real gimmicky real fast. There's probably a reason that technology didn't make it past CES.

No, this does not preserve the history of the repo, just gives a single commit with the existing files. You might also think of this as cloning, then squashing down the entire history (well, everything in master anyways) to a single (root) commit.

I find it funny that Apple themselves mentions that for "Reader" apps users can make purchases outside of the iOS environment, but developers are expressly forbidden from even mentioning this in their app.

I mean, USB-C seems to be the direction we're going anyways, plus it offers a lot more flexibility for audio eg. allows for active components like a higher-end DAC or amp on the headphones.

Most people probably wouldn't really care for this, and the ones who do probably have portable media players already, so I would prefer to keep the headphone jack. The reality is, though, that USB-C appears to be the future.

I'm really not sure, that's Pai's argument. It seems to be a mixed bag [1][2]. Some ISPs don't mind the regulatory burden, and some don't really notice it. Bigger ISPs (like Verizon) also claim that this regulation hurts innovation, and corroborate that with a downtick in broadband investments in 2015 when the rules passed, but for all we know that could have been orchestrated.

[1] https://www.engadget.com/2017/12/13/net-neutrality-small-isp...

[2] https://www.fastcompany.com/40499904/small-isp-disputes-fcc-...

Port shortages

Would it hurt anyone to put two USB-C ports on a smartphone? Thank goodness my phone still has a 3.5mm jack, but some people would like to charge their phone and listen to (wired) audio without having to buy an adapter. And it's not like this is an uncommon use case either, anecdotally some of my friends with iPhones face this issue.

I'd really like to see what he has to say in response to these events, if he has at all. This seems to be the weakest part of his overall argument. Anticompetitive violations _have_ happened in the past in the absence of Title II regulation despite his saying otherwise. That being said, (rural) ISP firms have apparently written to say they are pleased with lifting this regulation:

"VTel wrote to say that 'regulating broadband like legacy telephone service would not create any incentives for VTel to invest in its network. In fact, it would have precisely the opposite effect.' The company went on to say that it's now 'quite optimistic about the future, and the current FCC is a significant reason for our optimism.' Indeed, VTel just announced that it has committed $4 million to upgrade its 4G LTE service and to begin rolling out faster mobile broadband that will start its transition to 5G, the next generation of wireless connectivity." [1]

[1] https://www.cnet.com/news/fcc-chairman-our-job-is-to-protect...

edit: Okay, I'm not sure why this is being downvoted. I'm legitimately curious to hear what Pai has to say about past violations. (Seriously, if anyone has a link, please feel free.)

The argument goes that ex-ante regulation imposes unnecessary costs in the form of regulatory compliance for smaller businesses, erecting a higher barrier for entry into the ISP market. Or something like that.

When it comes to articles like this, part of me agrees with the whole "attention economy" problem. Companies want to suck away our time, etc etc.

But another part of me also realizes that this problem is going to be very, very hard to get rid of. As long as social media keeps feeding our brains with "things you might like" and endless junk notifications, it's going to be near impossible to stop.

The problem with Electron apps is that they're all running their own little Chromium-like instance, hogging up hundreds of MB of RAM, clogging up the process table with all its helper processes, using up CPU when idling. I get the easy cross-platform solution part, but this is just horrible UX.

I'm reminded of this article [0], about just how bad Electron is compared to native apps.

[0] https://josephg.com/blog/electron-is-flash-for-the-desktop/