Better HN
topnewbestaskshowjobs
Log inSign up

imran3740

469 karma · joined Mar 5, 2017 (9y ago) · 54 submissions

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

1.

Show HN: Monte Carlo simulator for March Madness bracket pools(madness.imranh.org ↗)

2 points · by imran3740 · 8mo ago · discuss

2.

Moby Dick Workout(hogbaysoftware.com ↗)

3 points · by imran3740 · 2y ago · discuss

comment 5y ago · link · parent

The $10/mo is for a subscription to Setapp, which bundles a bunch of apps into one subscription service.

4.

Punycode(en.wikipedia.org ↗)

2 points · by imran3740 · 5y ago · discuss

5.

Why Kakoune – The quest for a better code editor(kakoune.org ↗)

3 points · by imran3740 · 6y ago · discuss

6.

Thompson, Ritchie and Kernighan admit that Unix was a prank (1989)(stokely.com ↗)

57 points · by imran3740 · 6y ago · 15 comments

comment 6y ago · link · parent

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

8.

Our Chrome Extension Is Safe(blog.pushbullet.com ↗)

328 points · by imran3740 · 6y ago · 197 comments

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

It's essentially encrypted text, which Git handles just fine.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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

comment 7y ago · link · parent

Same with Notion. If you read their privacy policy, data is not stored encrypted at rest, so I wouldn't view them as privacy-friendly.

comment 7y ago · link · parent

> 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.

15.

Cloudfall: Rethinking how technology uses our personal data(thecloudfall.com ↗)

1 points · by imran3740 · 7y ago · discuss

16.

Slack (2017)(thezvi.wordpress.com ↗)

1 points · by imran3740 · 7y ago · discuss

comment 7y ago · link · parent

Zvi Mowshowitz put the concept of "slack" well: https://thezvi.wordpress.com/2017/09/30/slack/

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

20.

Project Mainline: Android Security Updates Through the Play Store(theverge.com ↗)

2 points · by imran3740 · 7y ago · discuss

21.

The Unix-Haters Handbook (1994) [pdf](web.mit.edu ↗)

284 points · by imran3740 · 7y ago · 157 comments

comment 8y ago · link · parent

What about a physical killswitch goes against Apple's design? The iPhone has always had a ringer/vibrate switch on its side since it was introduced. Obviously it doesn't do anything hardware-wise, but it's still a switch that disables some functionality.

comment 8y ago · link · parent

Relevant article from the socialist Current Affairs magazine: https://www.currentaffairs.org/2018/01/everyones-a-leftist-o...

comment 8y ago · link · parent

Just checked, calc fails at 11^0.41703 (curiously not at 41703, but 41704, maybe a floating point thing). Maybe it changes base to e and uses the Taylor series for e^x, but fails if x is too precise for what it expects?

25.

Apple bans on-device cryptocurrency mining(theverge.com ↗)

1 points · by imran3740 · 8y ago · discuss

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

Right, which is why you could argue that downtick was orchestrated. In that article you linked Pai cited research claiming investments went down, but Free Press found otherwise.

comment 8y ago · link · parent

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-...

comment 8y ago · link · parent

> 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.

12