Live data from Hacker News

Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

old.reddit.com

171–180 of 185 posts

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#171
post #7
post #6

The Painted Man is a novel that was mostly written on the author's Blackberry while riding the train to work. https://www.geeknative.com/6955/the-painted-man-written-on-a...

A good read, too!

Definitely! The later books in the series fell off a bit, but the first couple were very good.

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#172
post #55

I also write code using my phone when I'm on a bus or the subway. It requires some patience but after getting used to it, the experience is surprisingly pleasant especially if you're familiar with terminal-based tools. My environment consists of: - Galaxy S24 Ultra - Termius: I think it is the best terminal emulator and SSH client on Android. The sad thing is that the paid version is a bit too expensive. ($10 per mon…

Mosh was suggested in another comment, but I’ve found that et (https://eternalterminal.dev/) suits my needs better.

It does nothing to fix lag, but connection failures are handled without a hitch, same session resumes like normal on spotty train wifi and mobile data.

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#173

Earlier quoted context omitted.

We shipped 10,000 packages of free hardware and other prizes to teenagers this summer as part of https://hackclub.com/arcade/ . In total we shipped to 119 countries. India and Bangladesh caused by far the most issues with customs. Packages got held up, and they often tried to charge duties of up to 70%. His concern is definitely real. The best option is to buy an item within the country using a US card, or to buy an…

Customs theft is basically the norm there, it’s very frustrating.

Seems like an easy problem to solve the criminals are at a fixed address and are in documented possession of the items.

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#174
post #111
post #99

So we fedex him a laptop and then agi by end of week

It's not that easy to just send him a laptop [1]: >>I'd caution against posting a laptop to Bangladesh as there is a very real chance it'd spend the next six months sat in customs while an official looks for a pay off. >Yeah, this is the reason I wasn't too keen on having stuff shipped from outside. [1] https://github.com/OXY2DEV/markview.nvim/issues/218#issuecom...

Yeah tricky part of the word.

We tried to ship banking 2FA devices to india and customs took them too.

200% useless to anyone but us, but confiscated anyway

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#175
post #129
post #55

I also write code using my phone when I'm on a bus or the subway. It requires some patience but after getting used to it, the experience is surprisingly pleasant especially if you're familiar with terminal-based tools. My environment consists of: - Galaxy S24 Ultra - Termius: I think it is the best terminal emulator and SSH client on Android. The sad thing is that the paid version is a bit too expensive. ($10 per mon…

I have been really impressed lately using Samsung Dex on a XReal Air 2. AR glasses have really improved in the recent years. It gives you a better screen than many small laptops. For longer trips (train, airplane), add a mechanical wireless bluetooth keyboard (my choice would be a NuPhy Air 75) to feel like a king. For the occasional browser + SSH on the go, it's better (less space + better keyboard + larger screen e…

Gosh they look interesting. But ridiculously customer unfriendly product naming, and a website that doesn't provide clear information on international shipping just raises so many red flags for me.

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#176

Earlier quoted context omitted.

Customs theft is basically the norm there, it’s very frustrating.

Seems like an easy problem to solve the criminals are at a fixed address and are in documented possession of the items.

Assuming already poignantly corrupt authorities have any reasons to police themselves, they also have a billion ways to stall, cover and act innocent "Oh noes, we've been so overwhelmed, I swear I was just about to approve this, woe is me", and it will probably be true (The first part at least), they just take advantage of it

Also there's no clear chain of custody for stuff or incentive to have it, "Lost somewhere in customs" is about as precise as you usually get at the best of times

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#177
post #170

Earlier quoted context omitted.

I had a talk with him and it seemed like the best fit. In the end, MacBooks are the best use of money when in comes to laptop. Battery life is crucial due to frequent blackouts. I'd have preferred something from new Intel ones but I couldn't find anything available there.

Not sure I agree. They are built to last, yes, but would be a pain to get fixed if they break down. If it were me, I'd have preferred something like a Thinkpad.

That's 50/50, having lived in a poor and non tech heavy part of the world, at least Apple models are relatively few and high value, so shops pay special attention on keeping stock of what's reasonable and first party may be an option if you go to an affluent part of the country

On the contrary, usual recommendations, like business grade retired fleets were a lot more uncommon, because "business" work laptops on the area were just consumer grade whatever was cheap at the moment

The weird ocasions you saw stuff like Thinkpads or similar, they commanded a premium because the techies WANTED them

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#178

Earlier quoted context omitted.

Seems like an easy problem to solve the criminals are at a fixed address and are in documented possession of the items.

Assuming already poignantly corrupt authorities have any reasons to police themselves, they also have a billion ways to stall, cover and act innocent "Oh noes, we've been so overwhelmed, I swear I was just about to approve this, woe is me", and it will probably be true (The first part at least), they just take advantage of it Also there's no clear chain of custody for stuff or incentive to have it, "Lost somewhere in…

In terms of 3rd world corruption, this one is easy to solve. But the fact that it isn't solved is what makes it a 3rd world country. You put pressure on the low level corruption so it moves higher up the chain. In well functioning capitalized countries, the corruption happens at the corporate banking level. You can't have a well functioning economy without the smooth movement of goods and services.

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#179

Earlier quoted context omitted.

Be sure to check the privacy policy on your default keyboard. I've been burned by that before. The default keyboard on my last galaxy phone was sending every single keystroke to a third party and checking their privacy policy showed they used that data for things like market research, guessing at my level of education, building a psychological profile, detecting my interests, etc. and that they in turn shared that da…

Phone keyboards are a big security risk. Is there a way to completely block them from accessing the network?

You can firewall any app/service on Android with RethinkDNS.

Re: Developer wrote 25k lines of Neovim plugin code using phone and touchscreen

#180
post #93

Earlier quoted context omitted.

Try pairing tmux with mosh, it's how I've been working for years whenever I'm forced to admin through a brittle straw. Mosh combats lag pretty well and doesn't care if your connection drops intermittently. https://mosh.org/

I tried Mosh but it didn't fit my taste. It tries to "predict" the state of the screen before being acknowledged by the server, but sometimes the prediction is wrong and Mosh reverts the cursor movement and redraws the affected area of the terminal. For example, when I'm using split windows in Vim or tmux, Mosh allows typed characters to overflow beyond the separator, briefly, until being told "no" by the server. Per…

Have you tried any of the various `--predict` options? At least `--predict=never`.
Post reply on HN